28template <
class Vector,
class Matrix>
78 #ifdef JPH_ENABLE_ASSERTS
101 float g = 100.0f * abs(a(
ip,
iq));
115 if (abs(
h) + g == abs(
h))
126 float c = 1.0f / sqrt(1.0f +
t *
t);
128 float tau =
s / (1.0f +
c);
144 #define JPH_EVS_ROTATE(a, i, j, k, l) \
147 a(i, j) = g - s * (h + g * tau), \
148 a(k, l) = h + s * (g - h * tau)
156 #undef JPH_EVS_ROTATE
unsigned int uint
Definition Core.h:439
#define JPH_NAMESPACE_END
Definition Core.h:367
#define JPH_NAMESPACE_BEGIN
Definition Core.h:361
JPH_NAMESPACE_BEGIN bool EigenValueSymmetric(const Matrix &inMatrix, Matrix &outEigVec, Vector &outEigVal)
Definition EigenValueSymmetric.h:29
#define JPH_EVS_ROTATE(a, i, j, k, l)
#define JPH_ASSERT(...)
Definition IssueReporting.h:33
constexpr T Square(T inV)
Square a value.
Definition Math.h:52
AllocateFunction Allocate
Definition Memory.cpp:59
Templatized matrix class.
Definition Matrix.h:15
Templatized vector class.
Definition Vector.h:12