Trait rblas::vector::VectorOperations [] [src]

pub trait VectorOperations<T>: Sized + Vector<T> where T: Copy + Axpy + Scal + Dot + Nrm2 + Asum + Iamax {
    fn update(&mut self, alpha: &T, x: &Vector<T>) -> &mut Self { ... }
    fn scale(&mut self, alpha: &T) -> &mut Self { ... }
    fn dot(&self, x: &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: &Vector<T>) -> &mut Self

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

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

fn abs_sum(&self) -> T

fn norm(&self) -> T

fn max_index(&self) -> usize

Implementors