Trait Abs

Source
pub trait Abs {
    type Output;

    // Required method
    fn abs(self) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn abs(self) -> Self::Output

Implementations on Foreign Types§

Source§

impl Abs for f32

Source§

type Output = f32

Source§

fn abs(self) -> <f32 as Abs>::Output

Source§

impl Abs for f64

Source§

type Output = f64

Source§

fn abs(self) -> <f64 as Abs>::Output

Source§

impl<'a, A, S, D> Abs for &'a ArrayBase<S, D>
where A: Clone + Signed, D: Dimension, S: Data<Elem = A>,

Source§

type Output = ArrayBase<OwnedRepr<A>, D>

Source§

fn abs(self) -> <&'a ArrayBase<S, D> as Abs>::Output

Source§

impl<A, S, D> Abs for ArrayBase<S, D>
where A: Clone + Signed, D: Dimension, S: Data<Elem = A>,

Source§

type Output = ArrayBase<OwnedRepr<A>, D>

Source§

fn abs(self) -> <ArrayBase<S, D> as Abs>::Output

Implementors§