Theorems · Definition · linear algebra
Matrix.of
{m : Type u_2} → {n : Type u_3} → {α : Type v} → (m → n → α) ≃ Matrix m n αCast a function into a matrix.
The two sides of the equivalence are definitionally equal types. We want to use an explicit cast
to distinguish the types because Matrix has different instances to pi types (such as Pi.mul,
which performs elementwise multiplication, vs Matrix.mul).
If you are defining a matrix, in terms of its entries, use of (fun i j ↦ _). The
purpose of this approach is to ensure that terms of the form (fun i j ↦ _) * (fun i j ↦ _) do not
appear, as the type of * can be misleading.
- Defined in
- Mathlib.LinearAlgebra.Matrix.Defs
- Cited by
- 336 results in Mathlib
- Foundations
- Depth 11 from the axioms, rests on 40 definitions · uses no axioms
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites3
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Equivstatement · cited by 8,337
- Matrixstatement · cited by 4,303
- Equiv.reflproof · cited by 274
Cited by422
Results whose statement or proof uses this declaration.
- Matrix.transposeproof · cited by 389
- Matrix.diagonalproof · cited by 314
- Matrix.mapproof · cited by 247
- Matrix.submatrixproof · cited by 183
- Matrix.singleproof · cited by 129
- Matrix.fromBlocksproof · cited by 108
- Matrix.kroneckerMapproof · cited by 95
- Matrix.adjugateproof · cited by 64
- Matrix.updateRowproof · cited by 63
- Matrix.hadamardproof · cited by 55
- Matrix.blockDiagonalproof · cited by 53
- Matrix.vecMulVecproof · cited by 52
Showing the 200 most cited of 422.