Trait nalgebra::Absolute [] [src]

pub trait Absolute<A> {
    fn abs(&Self) -> A;
}

Trait of objects having an absolute value. This is useful if the object does not have the same type as its absolute value.

Required Methods

Computes some absolute value of this object. Typically, this will make all component of a matrix or vector positive.

Implementors