The areas / V07. Linear algebra
Mathlib.LinearAlgebra.Matrix.DualNumber
3 declarations. Mathlib docs · Source
def Matrix.dualNumberEquiv E1 #
{R : Type u_1} →
{n : Type u_2} →
[inst : CommSemiring R] →
[inst_1 : Fintype n] → [inst_2 : DecidableEq n] → Matrix n n (DualNumber R) ≃ₐ[R] DualNumber (Matrix n n R)
Matrices over dual numbers and dual numbers over matrices are isomorphic.
theorem Matrix.dualNumberEquiv_symm_apply E0 #
∀ {R : Type u_1} {n : Type u_2} [inst : CommSemiring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
(d : DualNumber (Matrix n n R)),
Matrix.dualNumberEquiv.symm d = Matrix.of fun i j ↦ (TrivSqZeroExt.fst d i j, TrivSqZeroExt.snd d i j)
theorem Matrix.dualNumberEquiv_apply E0 #
∀ {R : Type u_1} {n : Type u_2} [inst : CommSemiring R] [inst_1 : Fintype n] [inst_2 : DecidableEq n]
(A : Matrix n n (DualNumber R)),
Matrix.dualNumberEquiv A =
(Matrix.of fun i j ↦ TrivSqZeroExt.fst (A i j), Matrix.of fun i j ↦ TrivSqZeroExt.snd (A i j))