36 #include "../api_core.h"
37 #include "../System/cl_platform.h"
41 template<
typename Type>
44 template<
typename Type>
47 template<
typename Type>
56 template<
typename Type>
69 for (
int i=0; i<4; i++)
82 for (
int i=0; i<4; i++)
83 matrix[i] = (Type) init_matrix[i];
87 CL_Mat2(Type m00, Type m01, Type m10, Type m11)
96 for (
int i=0; i<4; i++)
97 matrix[i] = (Type) init_matrix[i];
103 for (
int i=0; i<4; i++)
104 matrix[i] = (Type) init_matrix[i];
110 for (
int i=0; i<4; i++)
111 matrix[i] = (Type) init_matrix[i];
117 for (
int i=0; i<4; i++)
118 matrix[i] = (Type) init_matrix[i];
124 for (
int i=0; i<4; i++)
125 matrix[i] = (Type) init_matrix[i];
204 operator Type
const*()
const {
return matrix; }
242 for (
int i=0; i<4; i++)