pub trait Asum: Sized {
// Required method
fn asum<V: ?Sized + Vector<Self>>(x: &V) -> Self;
}
Expand description
Computes the sum of the absolute values of elements in a vector.
Complex vectors use ||Re(x)||_1 + ||Im(x)||_1
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.