pub trait NDArrayAbs: NDArray + Sized {
type Output: Access<<Self::DType as Number>::Abs>;
// Required method
fn abs(
self,
) -> Result<Array<<Self::DType as Number>::Abs, Self::Output, Self::Platform>, Error>;
}Expand description
Array absolute value
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".