Dependent-typed matrices #
@[simp]
The transpose of a dmatrix.
Equations
Instances For
DMatrix.col u
is the column matrix whose entries are given by u
.
Equations
Instances For
DMatrix.row u
is the row matrix whose entries are given by u
.
Equations
Instances For
instance
DMatrix.instAddSemigroup
{m : Type u_1}
{n : Type u_2}
{α : m → n → Type v}
[(i : m) → (j : n) → AddSemigroup (α i j)]
:
AddSemigroup (DMatrix m n α)
Equations
instance
DMatrix.instAddCommSemigroup
{m : Type u_1}
{n : Type u_2}
{α : m → n → Type v}
[(i : m) → (j : n) → AddCommSemigroup (α i j)]
:
AddCommSemigroup (DMatrix m n α)
Equations
instance
DMatrix.instAddCommMonoid
{m : Type u_1}
{n : Type u_2}
{α : m → n → Type v}
[(i : m) → (j : n) → AddCommMonoid (α i j)]
:
AddCommMonoid (DMatrix m n α)
Equations
instance
DMatrix.instAddCommGroup
{m : Type u_1}
{n : Type u_2}
{α : m → n → Type v}
[(i : m) → (j : n) → AddCommGroup (α i j)]
:
AddCommGroup (DMatrix m n α)
Equations
instance
DMatrix.instSubsingleton
{m : Type u_1}
{n : Type u_2}
{α : m → n → Type v}
[∀ (i : m) (j : n), Subsingleton (α i j)]
:
Subsingleton (DMatrix m n α)
instance
DMatrix.subsingleton_of_empty_left
{m : Type u_1}
{n : Type u_2}
{α : m → n → Type v}
[IsEmpty m]
:
Subsingleton (DMatrix m n α)
instance
DMatrix.subsingleton_of_empty_right
{m : Type u_1}
{n : Type u_2}
{α : m → n → Type v}
[IsEmpty n]
:
Subsingleton (DMatrix m n α)
def
AddMonoidHom.mapDMatrix
{m : Type u_1}
{n : Type u_2}
{α : m → n → Type v}
[(i : m) → (j : n) → AddMonoid (α i j)]
{β : m → n → Type w}
[(i : m) → (j : n) → AddMonoid (β i j)]
(f : ⦃i : m⦄ → ⦃j : n⦄ → α i j →+ β i j)
:
The AddMonoidHom
between spaces of dependently typed matrices
induced by an AddMonoidHom
between their coefficients.