Mat23D
Description
A 2x3 matrix with 64-bit floating-point precision.
/ \ | M11 M12 M13 | | M21 M22 M23 | \ /
Public / Methods
Mul
3 overloads
Multiplies this matrix (left-side) with the given one (right-side):
result = this * m
.
Multiplies this matrix (left-side) with the given homogeneous 2D vector (right-side): result = this * (v.X, v.Y, 1)
.
Multiplies this matrix (left-side) with the given homogeneous 2D vector (right-side): result = this * (v.X, v.Y, 1)
.
ToArray
Copies matrix elements to the given array.
The method uses the following indexing scheme to write values to values in:
values[offset + (row - 1) * strideRow + (col - 1) * strideCol := matrix[row, col];
where row
and col
depict the matrix row and column number (starting at 1
).
ToString
2 overloads
Returns the string representation of this matrix.
The Mat23D.ToString1 method uses FormatFlags.Precision15.
- See also