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

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

Implementors