pub trait AllCloseOps<Scalar: FloatConvertible, const MAX_RANK: usize>: TensorRef<Scalar, MAX_RANK>
where
Scalar::DimScalar: NumberLike, Uses the formula |a − b| ≤ atol + rtol × |b| per element. Returns false if shapes differ.
Implementors
impl<C, Scalar: FloatConvertible, const R: usize> AllCloseOps<Scalar, R> for C where C: TensorRef<Scalar, R>, Scalar::DimScalar: NumberLike