Mat.opIndexAssign

Sets the value at a specified location in the matrix.

struct Mat(T, size_t rowCount, size_t colCount)
void
opIndexAssign
(,
size_t i
,
size_t j
)
if (
isNumeric!T &&
rowCount > 0
&&
colCount > 0
)

Parameters

value T

The value to assign.

i size_t

The row number, starting from 0.

j size_t

The column number, starting from 0.

Meta