2#include <glm/mat4x4.hpp>
7 template <
typename T,
int Dim>
class Vector;
21 T x10,
T x11,
T x12,
T x13,
22 T x20,
T x21,
T x22,
T x23,
23 T x30,
T x31,
T x32,
T x33);
29 DYN_FUNC
static unsigned int rows() {
return 4; }
30 DYN_FUNC
static unsigned int cols() {
return 4; }
32 DYN_FUNC
T& operator() (
unsigned int i,
unsigned int j);
33 DYN_FUNC
const T& operator() (
unsigned int i,
unsigned int j)
const;
38 DYN_FUNC
void setRow(
unsigned int i,
const Vector<T, 4>& vec);
39 DYN_FUNC
void setCol(
unsigned int j,
const Vector<T, 4>& vec);
67 DYN_FUNC
T determinant()
const;
68 DYN_FUNC
T trace()
const;
70 DYN_FUNC
T frobeniusNorm()
const;
71 DYN_FUNC
T oneNorm()
const;
72 DYN_FUNC
T infNorm()
const;
static DYN_FUNC unsigned int cols()
DYN_FUNC T * getDataPtr()
static DYN_FUNC unsigned int rows()
This is an implementation of AdditiveCCD based on peridyno.
SquareMatrix< double, 4 > Mat4d
DYN_FUNC const Complex< T > operator/(S scale, const Complex< T > &complex)
DYN_FUNC const Complex< T > operator*(S scale, const Complex< T > &complex)
DYN_FUNC bool operator==(const priority_queue< T, Container, Compare > &a, const priority_queue< T, Container, Compare > &b)
DYN_FUNC bool operator!=(const priority_queue< T, Container, Compare > &a, const priority_queue< T, Container, Compare > &b)
DYN_FUNC const Complex< T > operator-(S scale, const Complex< T > &complex)
DYN_FUNC const Complex< T > operator+(S scale, const Complex< T > &complex)
SquareMatrix< float, 4 > Mat4f