MatrixView.opIndexAssign

Assigns a value to the element at row i, column j.

Unlike opIndex(), this method checks that zero elements in a triangular matrix aren't assigned to, but only in non-release builds.

struct MatrixView(T, Storage stor = Storage.General, Triangle tri = Triangle.Upper)
nothrow
T
opIndexAssign
(,
size_t i
,
size_t j
)

Meta