Bases and matrices #
This file defines the map Basis.toMatrix that sends a family of vectors to
the matrix of their coordinates with respect to some basis.
Main definitions #
Basis.toMatrix e vis the matrix whosei, jth entry ise.repr (v j) ibasis.toMatrixEquivisBasis.toMatrixbundled as a linear equiv
Main results #
LinearMap.toMatrix_id_eq_basis_toMatrix:LinearMap.toMatrix b c idis equal toBasis.toMatrix b cBasis.toMatrix_mul_toMatrix: multiplyingBasis.toMatrixwith anotherBasis.toMatrixgives aBasis.toMatrix
Tags #
matrix, basis
From a basis e : ι → M and a family of vectors v : ι' → M, make the matrix whose columns
are the vectors v i written in the basis e.
Instances For
The basis constructed by unitsSMul has vectors given by a diagonal matrix.
The basis constructed by isUnitSMul has vectors given by a diagonal matrix.
From a basis e : ι → M, build a linear equivalence between families of vectors v : ι → M,
and matrices, making the matrix whose columns are the vectors v i written in the basis e.
Equations
Instances For
A generalization of LinearMap.toMatrix_id.
See also Basis.toMatrix_reindex which gives the simp normal form of this result.
A generalization of Basis.toMatrix_self, in the opposite direction.
A matrix whose columns form a basis b', expressed w.r.t. a basis b, is invertible.
Equations
- b.invertibleToMatrix b' = { invOf := b'.toMatrix ⇑b, invOf_mul_self := ⋯, mul_invOf_self := ⋯ }