Vyxapedia

Element - Þ□ - Identity Matrix of Size n

Characters: Þ,


Description

A matrix with 1s on the main diagonal and zeroes elsewhere


Overloads

  • num - the a x a identity matrix

Examples

  • 3 Þ□ = ⟨⟨1|0|0⟩|⟨0|1|0⟩|⟨0|0|1⟩⟩
  • 4 Þ□ = ⟨⟨1|0|0|0⟩|⟨0|1|0|0⟩|⟨0|0|1|0⟩|⟨0|0|0|1⟩⟩
  • ⟨3|4|5⟩ Þ□ = ⟨⟨⟨1|0|0⟩|⟨0|1|0⟩|⟨0|0|1⟩⟩|⟨⟨1|0|0|0⟩|⟨0|1|0|0⟩|⟨0|0|1|0⟩|⟨0|0|0|1⟩⟩|⟨⟨1|0|0|0|0⟩|⟨0|1|0|0|0⟩|⟨0|0|1|0|0⟩|⟨0|0|0|1|0⟩|⟨0|0|0|0|1⟩⟩⟩
  • 0 Þ□ = ⟨⟨⟩⟩