Trait extendr_api::wrapper::altrep::AltRealImpl
source · [−]pub trait AltRealImpl: AltrepImpl {
fn elt(&self, _index: usize) -> Rfloat;
fn tot_min_max_nas(&self) -> (f64, f64, f64, usize, usize) { ... }
fn get_region(&self, index: usize, data: &mut [Rfloat]) -> usize { ... }
fn is_sorted(&self) -> Rbool { ... }
fn no_na(&self) -> bool { ... }
fn sum(&self, remove_nas: bool) -> Robj { ... }
fn min(&self, remove_nas: bool) -> Robj { ... }
fn max(&self, remove_nas: bool) -> Robj { ... }
}
Required methods
Provided methods
Get a multiple elements from this vector.
Return TRUE if this vector is sorted, FALSE if not and Rbool::na() if unknown.
Return the sum of the elements in this vector. If remove_nas is true, skip and NA values.
Return the minimum of the elements in this vector. If remove_nas is true, skip and NA values.