The partial order on matrices #
This file constructs the partial order and star ordered instances on matrices on ๐.
This allows us to use more general results from Cโ-algebras, like CFC.sqrt.
Main results #
Matrix.instPartialOrder: the partial order on matrices given byx โค y := (y - x).PosSemidef.Matrix.PosSemidef.dotProduct_mulVec_zero_iff: for a positive semi-definite matrixA, we havexโ A x = 0iffA x = 0.Matrix.toMatrixInnerProductSpace: the inner product on matrices induced by a positive semi-definite matrixM:โชx, yโซ = (y * M * xแดด).trace.
Implementation notes #
Note that the partial order instance is scoped to MatrixOrder.
Please open scoped MatrixOrder to use this.
Alias of the forward direction of Matrix.nonneg_iff_posSemidef.
Alias of the reverse direction of Matrix.nonneg_iff_posSemidef.
The partial order on matrices given by A โค B := (B - A).PosSemidef.
Instances For
A positive semi-definite matrix is positive definite if and only if it is invertible.
Alias of the reverse direction of Matrix.isStrictlyPositive_iff_posDef.
Alias of the forward direction of Matrix.isStrictlyPositive_iff_posDef.
The kronecker product of two positive semi-definite matrices is positive semi-definite.
The kronecker of two positive definite matrices is positive definite.
[Schur product theorem][schur1911] (positive semidefinite version): the Hadamard (entrywise) product of positive semidefinite matrices is positive semidefinite.
A positive definite matrix M induces a norm on Matrix n n ๐
โxโ = sqrt (x * M * xแดด).trace.
Instances For
A positive definite matrix M induces a norm on Matrix n n ๐:
โxโ = sqrt (x * M * xแดด).trace.
Instances For
A positive semi-definite matrix M induces an inner product on Matrix n n ๐:
โชx, yโซ = (y * M * xแดด).trace.
Instances For
The isometric continuous functional calculus on Matrix n n ๐ arising from the operator norm
given by the identification with (continuous) linear endomorphisms of EuclideanSpace ๐ n.