Trait ndarray_linalg::opnorm::OperationNorm
source · pub trait OperationNorm {
type Output: Scalar;
// Required method
fn opnorm(&self, t: NormType) -> Result<Self::Output>;
// Provided methods
fn opnorm_one(&self) -> Result<Self::Output> { ... }
fn opnorm_inf(&self) -> Result<Self::Output> { ... }
fn opnorm_fro(&self) -> Result<Self::Output> { ... }
}
Expand description
Operator norm using *lange
LAPACK routines
Required Associated Types§
Required Methods§
Provided Methods§
sourcefn opnorm_one(&self) -> Result<Self::Output>
fn opnorm_one(&self) -> Result<Self::Output>
the one norm of a matrix (maximum column sum)
sourcefn opnorm_inf(&self) -> Result<Self::Output>
fn opnorm_inf(&self) -> Result<Self::Output>
the infinity norm of a matrix (maximum row sum)
sourcefn opnorm_fro(&self) -> Result<Self::Output>
fn opnorm_fro(&self) -> Result<Self::Output>
the Frobenius norm of a matrix (square root of sum of squares)