[][src]Trait rust_blas::vector::VectorOperations

pub trait VectorOperations<T>: Sized + Vector<T> where
    T: Copy + Axpy + Scal + Dot + Nrm2 + Asum + Iamax
{ fn update(&mut self, alpha: &T, x: &dyn Vector<T>) -> &mut Self { ... }
fn scale(&mut self, alpha: &T) -> &mut Self { ... }
fn dot(&self, x: &dyn Vector<T>) -> T { ... }
fn abs_sum(&self) -> T { ... }
fn norm(&self) -> T { ... }
fn max_index(&self) -> usize { ... } }

Provided methods

fn update(&mut self, alpha: &T, x: &dyn Vector<T>) -> &mut Self

fn scale(&mut self, alpha: &T) -> &mut Self

fn dot(&self, x: &dyn Vector<T>) -> T

fn abs_sum(&self) -> T

fn norm(&self) -> T

fn max_index(&self) -> usize

Loading content...

Implementations on Foreign Types

impl VectorOperations<f32> for Vec<f32>[src]

impl VectorOperations<f64> for Vec<f64>[src]

impl VectorOperations<Complex<f32>> for Vec<Complex32>[src]

impl VectorOperations<Complex<f64>> for Vec<Complex64>[src]

Loading content...

Implementors

Loading content...