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

The number of elements in the vector.

An unsafe pointer to a contiguous block of memory.

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.

Check if Vector is empty

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

Implementations on Foreign Types

Implementors