16template <u
int8_t ROWS, u
int8_t COLS,
typename T =
float>
19 AI_DEVICE
constexpr bool operator==(
const AtMatrixBase& m)
const
22 return !memcmp(data, m.data,
sizeof(AtMatrixBase));
25 AI_DEVICE
constexpr const T* operator[](
int t)
const
27 return (
const T*) &(data[t][0]);
30 AI_DEVICE T* operator[](
int t)
39using AtMatrix = AtMatrixBase<4, 4, float>;
Definition: ai_matrix.h:30