pub struct NumVecM<T: SEXPbucket> { /* private fields */ }
Implementations§
Source§impl<T: SEXPbucket> NumVecM<T>
impl<T: SEXPbucket> NumVecM<T>
pub fn new(x: SEXP) -> RResult<NumVecM<T>>
pub fn alloc(x: usize) -> NumVecM<T>
pub fn alloc_matrix(x: usize, y: usize) -> NumVecM<T>
pub fn at(&self, ind: usize) -> Option<c_double>
pub fn set(&mut self, ind: usize, value: c_double) -> RResult<()>
pub unsafe fn uat(&self, ind: usize) -> c_double
pub unsafe fn uset(&mut self, ind: usize, value: c_double)
pub fn range(&self, ind: Range<usize>) -> Option<Vec<c_double>>
pub fn is_duplicated(&self, from_last: bool) -> R_xlen_t
Trait Implementations§
Source§impl<T: SEXPbucket> Clone for NumVecM<T>
impl<T: SEXPbucket> Clone for NumVecM<T>
Source§impl<T: SEXPbucket> IntoIterator for NumVecM<T>
impl<T: SEXPbucket> IntoIterator for NumVecM<T>
Source§impl<T: SEXPbucket> Named for NumVecM<T>
impl<T: SEXPbucket> Named for NumVecM<T>
Source§impl<T: SEXPbucket> RAttribute for NumVecM<T>
impl<T: SEXPbucket> RAttribute for NumVecM<T>
fn get_attr<D: RNew, S: SEXPbucket, EE: Into<SymbolM<S>>>( &self, name: EE, ) -> RResult<D>
fn set_attr<T: ToSEXP, EE: Into<SymbolM<S>>, S: SEXPbucket>( &self, name: EE, attr: T, )
fn attribute_names(&self) -> Vec<CString>
fn has_attribute(&self, attr: &str) -> bool
fn attributte<D: RNew>(&self) -> RResult<D>
Source§impl<T: SEXPbucket> RDim for NumVecM<T>
impl<T: SEXPbucket> RDim for NumVecM<T>
type Output = f64
fn dim(&self) -> Vec<usize>
fn set_dim(&mut self, x: &[usize]) -> RResult<()>
fn nrow(&self) -> usize
fn ncol(&self) -> usize
fn dimnamec(&self, side: usize) -> Vec<CString>
fn dimname(&self, side: usize) -> RResult<Vec<String>>
fn set_dimname(&mut self, side: usize, x: &[String]) -> RResult<()>
Source§impl<T: SEXPbucket> RName for NumVecM<T>
impl<T: SEXPbucket> RName for NumVecM<T>
Source§impl<T: SEXPbucket> RSlot for NumVecM<T>
impl<T: SEXPbucket> RSlot for NumVecM<T>
Source§impl<T: SEXPbucket> Shallow for NumVecM<T>
impl<T: SEXPbucket> Shallow for NumVecM<T>
Source§impl<T: SEXPbucket> ToSEXP for NumVecM<T>
impl<T: SEXPbucket> ToSEXP for NumVecM<T>
unsafe fn s(&self) -> SEXP
fn rtype(&self) -> Rtype
unsafe fn t(&self) -> Rtemp
fn print(&self)
fn is_null(&self) -> bool
fn is_object(&self) -> bool
fn is_s4(&self) -> bool
fn is_array(&self) -> bool
fn is_factor(&self) -> bool
fn is_frame(&self) -> bool
fn is_function(&self) -> bool
fn is_integer(&self) -> bool
fn is_language(&self) -> bool
fn is_list(&self) -> bool
fn is_matrix(&self) -> bool
fn is_newlist(&self) -> bool
fn is_number(&self) -> bool
fn is_numeric(&self) -> bool
fn is_pairlist(&self) -> bool
fn is_primitive(&self) -> bool
fn is_ts(&self) -> bool
fn is_userbinop(&self) -> bool
fn is_validstring(&self) -> bool
fn is_validstringf(&self) -> bool
fn is_vector(&self) -> bool
fn is_vectoratomic(&self) -> bool
fn is_vectorlist(&self) -> bool
fn is_vectorizable(&self) -> bool
fn is_ordered(&self) -> bool
fn is_unordered(&self) -> bool
fn is_data_frame(&self) -> bool
Auto Trait Implementations§
impl<T> Freeze for NumVecM<T>where
T: Freeze,
impl<T> RefUnwindSafe for NumVecM<T>where
T: RefUnwindSafe,
impl<T> Send for NumVecM<T>where
T: Send,
impl<T> Sync for NumVecM<T>where
T: Sync,
impl<T> Unpin for NumVecM<T>where
T: Unpin,
impl<T> UnwindSafe for NumVecM<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more