Matrix.conjTranspose_mul_eq_sum_vecMulVec
Library · theorem
The cross-Gram matrix is the sum of the rank-one products of the rows: \mathbf{A}^{\mathsf{H}}\mathbf{B} = \sum_i \mathbf{a}_i^{\mathsf{H}} \mathbf{b}_i, where \mathbf{a}_i, \mathbf{b}_i are row i of \mathbf{A} and \mathbf{B} and the summand is vecMulVec (star (A i)) (B i). At \mathbf{A} = \mathbf{B} it writes a Gram matrix as a sum of positive semidefinite rank-one matrices, the form row-sampling arguments use.
Matrix.conjTranspose_mul_eq_sum_vecMulVec.{u_1, u_2, u_3, u_4} {α : Type u_1} [Mul α]
[AddCommMonoid α] [Star α] {n : Type u_2} {q : Type u_3} {r : Type u_4} [Fintype n]
(A : Matrix n q α) (B : Matrix n r α) : Aᴴ * B = ∑ i, vecMulVec (star (A i)) (B i)Import NLAlib.ForMathlib.LinearAlgebra.Matrix.ConjTranspose.