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 v
is the matrix whosei, j
th entry ise.repr (v j) i
basis.toMatrixEquiv
isBasis.toMatrix
bundled as a linear equiv
Main results #
LinearMap.toMatrix_id_eq_basis_toMatrix
:LinearMap.toMatrix b c id
is equal toBasis.toMatrix b c
Basis.toMatrix_mul_toMatrix
: multiplyingBasis.toMatrix
with anotherBasis.toMatrix
gives 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
.
Equations
- Basis.toMatrix e v i j = (e.repr (v j)) i
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
- One or more equations did not get rendered due to their size.
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
- One or more equations did not get rendered due to their size.