SCOREC core
Parallel unstructured mesh tools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Namespaces | Functions
crvMath.h File Reference

main file for math functions used in crv More...

Go to the source code of this file.

Namespaces

 crv
 the curving functions are contained in this namespace
 

Functions

int crv::binomial (int n, int i)
 binomial function n!/(i!(n-i)!)
 
int crv::trinomial (int n, int i, int j)
 trinomial function n!/(i!j!(n-i-j)!)
 
int crv::quadnomial (int n, int i, int j, int k)
 "quadnomial" function n!/(i!j!k!(n-i-j-k)!)
 
double crv::intpow (const double b, const int e)
 faster power for integers
 
void crv::invertMatrixWithQR (int n, mth::Matrix< double > &A, mth::Matrix< double > &Ai)
 invert a matrix using QR factorization
 
void crv::invertMatrixWithPLU (int n, mth::Matrix< double > &A, mth::Matrix< double > &Ai)
 invert a matrix using Pivoting and LU decomposition
 

Detailed Description

main file for math functions used in crv

Definition in file crvMath.h.