Trait afarray::ArrayInstanceAbs[][src]

pub trait ArrayInstanceAbs: ArrayInstance {
    type AbsValue: HasAfEnum;
    fn abs(&self) -> ArrayExt<Self::AbsValue>;
}
Expand description

Defines an absolute value method abs.

Associated Types

Required methods

Calculate the element-wise absolute value.

Implementors