Bases and matrices #
This file defines the map basis.to_matrix that sends a family of vectors to
the matrix of their coordinates with respect to some basis.
Main definitions #
basis.to_matrix e vis the matrix whosei, jth entry ise.repr (v j) ibasis.to_matrix_equivisbasis.to_matrixbundled as a linear equiv
Main results #
linear_map.to_matrix_id_eq_basis_to_matrix:linear_map.to_matrix b c idis equal tobasis.to_matrix b cbasis.to_matrix_mul_to_matrix: multiplyingbasis.to_matrixwith anotherbasis.to_matrixgives abasis.to_matrix
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.
The basis constructed by units_smul has vectors given by a diagonal matrix.
The basis constructed by is_unit_smul 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.
A generalization of linear_map.to_matrix_id.
See also basis.to_matrix_reindex which gives the simp normal form of this result.
A generalization of basis.to_matrix_self, in the opposite direction.
b.to_matrix b' and b'.to_matrix b are inverses.