Mat.map

Maps the given 2D vector using this matrix.

struct Mat(T, size_t rowCount, size_t colCount)
static if(rowCount == colCount)
static if(N == 3 && isFloatingPoint!T)
Vec!(T, 2)
map
(
Vec!(T, 2) v
)
if (
isNumeric!T &&
rowCount > 0
&&
colCount > 0
)

Parameters

v Vec!(T, 2)

The vector to map.

Return Value

Type: Vec!(T, 2)

The resultant vector.

Meta