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
impl VectorOperations<f32> for Vec<f32>
impl VectorOperations<f64> for Vec<f64>
impl VectorOperations<Complex32> for Vec<Complex32>
impl VectorOperations<Complex64> for Vec<Complex64>