Content deleted Content added
No edit summary |
m Fix syntaxhighlight errors (via WP:JWB) |
||
Line 121:
A <code>matrix</code> is a [[Matrix_(mathematics)|mathematical type]] built into Odin. It is a regular array of numbers, arranged in rows and columns. Odin's matrix support allows for ''matrix-array and matrix-matrix operations'' making it a [[Basic_Linear_Algebra_Subprograms#Level_3|Level 3 Basic Linear Algebra Subprogram]]ing language.
<syntaxhighlight lang="text">
a: matrix[2, 3]f32 // matrix that has 2 rows and 3 columns with an element type of f32
b: matrix[3, 2]f32 // matrix that has 3 rows and 2 columns with an element type of f32
|