bettercmath ~master (2021-10-22T22:55:25.7546802)
Dub
Repo
Matrix.opIndex
bettercmath
matrix
Matrix
Index an element directly.
inout
(
T
)[]
opIndex
(size_t i)
inout
(
T
)
opIndex
(size_t i, size_t j)
struct
Matrix
(T, uint numColumns, uint numRows = numColumns)
ref inout
inout
(
T
)
opIndex
(
size_t
i
,
size_t
j
)
if
(
numColumns
> 0 &&
numRows
> 0
)
Parameters
i
size_t
column index
j
size_t
row index
Meta
Source
See Implementation
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
Index an element directly.