Struct ndarray_rblas::BlasArrayView
[−]
[src]
pub struct BlasArrayView<'a, A: 'a, D>(_);
Requires crate feature "rblas"
Trait Implementations
impl<'a, A, D: Copy> Copy for BlasArrayView<'a, A, D>
[src]
impl<'a, A, D: Clone> Clone for BlasArrayView<'a, A, D>
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a, A> Vector<A> for BlasArrayView<'a, A, Ix>
[src]
Panics if as_mut_ptr
is called on a read-only view.
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 BlasArrayView<'a, A, (Ix, Ix)>
[src]
Panics if as_mut_ptr
is called on a read-only view.
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
.