27 inline double intpow(
const double b,
const int e)
34 case 4:
return b*b*b*b;
35 case 5:
return b*b*b*b*b;
36 case 6:
return b*b*b*b*b*b;
int quadnomial(int n, int i, int j, int k)
"quadnomial" function n!/(i!j!k!(n-i-j-k)!)
compile-time (static) matrix
void invertMatrixWithPLU(int n, mth::Matrix< double > &A, mth::Matrix< double > &Ai)
invert a matrix using Pivoting and LU decomposition
int trinomial(int n, int i, int j)
trinomial function n!/(i!j!(n-i-j)!)
int binomial(int n, int i)
binomial function n!/(i!(n-i)!)
void invertMatrixWithQR(int n, mth::Matrix< double > &A, mth::Matrix< double > &Ai)
invert a matrix using QR factorization
double intpow(const double b, const int e)
faster power for integers
routines for the QR factorization of matrices
main file for curved element support