7.12 Operator Norms and Comparing Matrices
Inner Product Space Operations describes functions that deal with matrices as vectors in an inner product space. This section describes functions that deal with matrices as linear operators, or as functions from column matrices to column matrices.
Wikipedia: Induced norm In this setting, a norm is the largest relative change in magnitude an operator (i.e. matrix) can effect on a column matrix, where “magnitude” is defined by a vector norm. (See the Wikipedia article linked to in the margin for a formal definition.) Matrix norms that are defined in terms of a vector norm are called induced norms, or operator norms.
When M is a column matrix, (matrix-op-1norm M) is equivalent to (matrix-1norm M).
This function is currently undefined because a required algorithm (singular value decomposition or eigendecomposition) is not yet implemented in math/matrix.
When M is a column matrix, (matrix-op-2norm M) is equivalent to (matrix-2norm M).
When M is a column matrix, (matrix-op-inf-norm M) is equivalent to (matrix-inf-norm M).
This function is currently undefined because a required algorithm (singular value decomposition or eigendecomposition) is not yet implemented in math/matrix.
When M0 and M1 are column matrices, (matrix-basis-cos-angle M0 M1) is equivalent to (matrix-cos-angle M0 M1).
The function is currently undefined because matrix-basis-cos-angle is currently undefined.
parameter
(matrix-error-norm) → ((Matrix Number) -> Nonnegative-Real)
(matrix-error-norm norm) → void? norm : ((Matrix Number) -> Nonnegative-Real)
All operator norms (matrix-op-1norm, matrix-op-2norm, matrix-op-inf-norm) are submultiplicative by definition, as is the Frobenius norm (matrix-2norm).
procedure
(matrix-absolute-error M R [norm]) → Nonnegative-Real
M : (Matrix Number) R : (Matrix Number)
norm : ((Matrix Number) -> Nonnegative-Real) = (matrix-error-norm)
See absolute-error for the scalar version of this function.
procedure
(matrix-relative-error M R [norm]) → Nonnegative-Real
M : (Matrix Number) R : (Matrix Number)
norm : ((Matrix Number) -> Nonnegative-Real) = (matrix-error-norm)
See relative-error for the scalar version of this function.
(<= (matrix-absolute-error M (make-matrix m n 0)) eps)
(and (square-matrix? M) (<= (matrix-relative-error M (identity-matrix (square-matrix-size M))) eps))
(matrix-identity? (matrix* M (matrix-hermitian M)) eps)