[][src]Function hektor::abs

pub fn abs<T: CanAbs>(t: T) -> T

Per-component absolute value.

Main types this works with:

  • floats and integers
  • any VecN
  • any MatN