bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
Matrix.identity
bettercmath
matrix
Matrix
Constant Identity matrix (diagonal values 1).
struct
Matrix
(T, uint numColumns, uint numRows = numColumns)
static if
(
isSquare
)
enum
identity
=
fromDiagonal
(
1
)
;
Meta
Source
See Source File
bettercmath
matrix
Matrix
aliases
ElementType
ortho
constructors
this
enums
opDollar
functions
columns
copyInto
opBinary
opCast
opIndex
opOpAssign
rows
manifest constants
columnSize
identity
isSquare
minDimension
numElements
rowSize
static functions
fromColumns
fromDiagonal
fromRows
orthographic
perspective
perspectiveDegrees
variables
elements
Constant Identity matrix (diagonal values 1).