Mat.add

Adds a given matrix to this one.

struct Mat(T, size_t rowCount, size_t colCount)
ref
Mat!(T, rowCount, colCount)
add
(
Mat!(T, rowCount, colCount) other
)
if (
isNumeric!T &&
rowCount > 0
&&
colCount > 0
)

Parameters

other Mat!(T, rowCount, colCount)

The other matrix to add to this one.

Return Value

Type: Mat!(T, rowCount, colCount)

A reference to this matrix, for method chaining.

Meta