Mat.sub

Subtracts a given matrix from this one.

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

Parameters

other Mat!(T, rowCount, colCount)

The other matrix to subtract from this one.

Return Value

Type: Mat!(T, rowCount, colCount)

A reference to this matrix, for method chaining.

Meta