Mat.rowAdd

Adds a row, multiplied by a factor, to another row.

struct Mat(T, size_t rowCount, size_t colCount)
ref
Mat!(T, rowCount, colCount)
rowAdd
(
size_t rowI
,,
size_t rowJ
)
if (
isNumeric!T &&
rowCount > 0
&&
colCount > 0
)

Parameters

rowI size_t

The row number to add to.

factor T

The factor to multiply rowJ by.

rowJ size_t

The row to add to rowI.

Return Value

Type: Mat!(T, rowCount, colCount)

A reference to this matrix, for method chaining.

Meta