asum_ndarray

Function asum_ndarray 

Source
pub fn asum_ndarray<T: Field + Real>(x: &Array1<T>) -> T
Expand description

Computes the L1 norm (sum of absolute values) of a vector.

||x||_1 = sum(|x_i|)