Struct ndarray_rblas::BlasArrayViewMut
[−]
[src]
pub struct BlasArrayViewMut<'a, A: 'a, D>(_);
Requires crate feature "rblas"
Trait Implementations
impl<'a, A> Vector<A> for BlasArrayViewMut<'a, A, Ix>
[src]
fn len(&self) -> c_int
The number of elements in the vector.
fn as_ptr(&self) -> *const A
An unsafe pointer to a contiguous block of memory.
fn as_mut_ptr(&mut self) -> *mut A
An unsafe mutable pointer to a contiguous block of memory.
fn inc(&self) -> c_int
The stride within the vector. For example, if inc
returns 7, every 7th element is used. Defaults to 1. Read more
impl<'a, A> Matrix<A> for BlasArrayViewMut<'a, A, (Ix, Ix)>
[src]
fn rows(&self) -> c_int
Returns the number of rows.
fn cols(&self) -> c_int
Returns the number of columns.
fn lead_dim(&self) -> c_int
The leading dimension of the matrix. Defaults to cols
for RowMajor
order and 'rows' for ColMajor
order. Read more
fn as_ptr(&self) -> *const A
An unsafe pointer to a contiguous block of memory.
fn as_mut_ptr(&mut self) -> *mut A
An unsafe pointer to a contiguous block of memory.
fn order(&self) -> Order
The order of the matrix. Defaults to RowMajor
.