Trait rust_blas::vector::Vector [−][src]
pub trait Vector<T> {
fn len(&self) -> u32;
fn as_ptr(&self) -> *const T;
fn as_mut_ptr(&mut self) -> *mut T;
fn inc(&self) -> u32 { ... }
fn is_empty(&self) -> bool { ... }
}
Expand description
Methods that allow a type to be used in BLAS functions as a vector.
Required methods
fn as_mut_ptr(&mut self) -> *mut T
fn as_mut_ptr(&mut self) -> *mut T
An unsafe mutable pointer to a contiguous block of memory.
Provided methods
The stride within the vector. For example, if inc
returns 7, every
7th element is used. Defaults to 1.