lax::opnorm

Trait OperatorNormWorkImpl

Source
pub trait OperatorNormWorkImpl {
    type Elem: Scalar;

    // Required methods
    fn new(t: NormType, l: MatrixLayout) -> Self;
    fn calc(&mut self, a: &[Self::Elem]) -> <Self::Elem as Scalar>::Real;
}

Required Associated Types§

Source

type Elem: Scalar

Required Methods§

Source

fn new(t: NormType, l: MatrixLayout) -> Self

Source

fn calc(&mut self, a: &[Self::Elem]) -> <Self::Elem as Scalar>::Real

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§