phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
Matrix.makeIdentity
old_geometry
Matrix
Makes the current matrix an identity matrix.
struct
Matrix
(E, uint rows_, uint cols_, Layout layout = Layout.rowMajor)
static if
(
rows == cols
)
void
makeIdentity
()
(
)
if
(
rows_
>= 1 &&
cols_
>= 1
)
Meta
Source
See Implementation
old_geometry
Matrix
aliases
T
id
mT
constructors
this
enums
isCompatibleMatrix
isCompatibleVector
functions
at
clear
makeIdentity
opCall
transpose
properties
identity
toLaTeX
toMathML
toPrettyString
toString
transposed
static functions
isCompatibleMatrixImpl
isCompatibleVectorImpl
static variables
cols
rows
variables
_matrix
Makes the current matrix an identity matrix.