Trait rust_blas::matrix::Matrix[][src]

pub trait Matrix<T> {
    fn rows(&self) -> u32;
fn cols(&self) -> u32;
fn as_ptr(&self) -> *const T;
fn as_mut_ptr(&mut self) -> *mut T; fn lead_dim(&self) -> u32 { ... }
fn order(&self) -> Order { ... } }
Expand description

Methods that allow a type to be used in BLAS functions as a matrix.

Required methods

Returns the number of rows.

Returns the number of columns.

An unsafe pointer to a contiguous block of memory.

An unsafe pointer to a contiguous block of memory.

Provided methods

The leading dimension of the matrix. Defaults to cols for RowMajor order and ‘rows’ for ColMajor order.

The order of the matrix. Defaults to RowMajor.

Trait Implementations

The resulting type after applying the + operator.

Performs the + operation. Read more

The resulting type after applying the ^ operator.

Performs the ^ operation. Read more

Performs the conversion.

The resulting type after applying the * operator.

Performs the * operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

The resulting type after applying the * operator.

Performs the * operation. Read more

Implementors