[][src]Trait rust_blas::vector::ops::Asum

pub trait Asum: Sized {
    fn asum<V: ?Sized + Vector<Self>>(x: &V) -> Self;
}

Computes the sum of the absolute values of elements in a vector.

Complex vectors use ||Re(x)||_1 + ||Im(x)||_1

Required methods

fn asum<V: ?Sized + Vector<Self>>(x: &V) -> Self

Loading content...

Implementations on Foreign Types

impl Asum for f32[src]

impl Asum for f64[src]

impl Asum for Complex32[src]

impl Asum for Complex64[src]

Loading content...

Implementors

Loading content...