2D matrix More...
Derived from: | None |
Derived by: | None |
Group: | Math (Core) |
#include <ClanLib/core.h>
Class Members:
Construction: | |
Constructs a 2x2 matrix (uninitialised) | |
Multiply 2 matrices. | |
Add 2 matrices. | |
Subtract 2 matrices. |
| |
| |
Multiply this matrix and a specified matrix. | |
Add this matrix and a specified matrix. | |
Subtract this matrix and a specified matrix. |
| |
Operator that returns the matrix as a array. | |
Operator that returns the matrix as a array. | |
Operator that returns the matrix cell at the given index. | |
Multiplication operator. | |
Addition operator. | |
Subtract operator. | |
Equality operator. | |
Not-equal operator. |
Detailed description:
These matrix templates are defined for: int (CL_Mat2i), float (CL_Mat2f), double (CL_Mat2d)