Theorems · Theorem · linear algebra
Matrix.diagonal_apply
∀ {n : Type u_3} {α : Type v} [inst : DecidableEq n] [inst_1 : Zero α] (d : n → α) (i j : n),
Matrix.diagonal d i j = if i = j then d i else 0- Defined in
- Mathlib.Data.Matrix.Diagonal
- Cited by
- 5 results in Mathlib
- Foundations
- Depth 15 from the axioms · uses Quot.sound
- Assumes
- DecidableEqZero
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites1
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Matrix.diagonalstatement · cited by 314
Cited by5
Results whose statement or proof uses this declaration.
- Matrix.sum_single_eq_diagonalproof · cited by 4
- toMatrix_distrib_mul_action_toLinearMapproof · cited by 1
- Matrix.natCast_applyproof · cited by 1
- Polynomial.sylvester_zero_left_degproof · cited by 1
- Matrix.intCast_applyproof · cited by 0