DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
Namespaces | Typedefs | Functions | Variables
utlMath.h File Reference
#include <tr1/cmath>
#include "utlCore.h"
#include "utlConstants.h"
+ Include dependency graph for utlMath.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 utl
 

Typedefs

typedef double(* utl::Func1To1) (double)
 

Functions

template<typename T >
utl::Binomial (const T v1, const int times)
 
template<class TVector1 , class TVector2 , class TVector3 >
double utl::CrossProduct (const TVector1 &v1, const TVector2 &v2, TVector3 &v3)
 
double utl::DawsonF (double x)
 
template<class TMatrixType >
auto utl::DeterminantSmallMatrix (const TMatrixType &mat, const int row) -> utl::remove_reference_t< decltype(mat(0, 0))>
 
template<class TVector1 , class TVector2 >
double utl::DotProduct (const TVector1 &v1, const TVector2 &v2, const int N1)
 
template<class VectorType >
double utl::Entropy (const VectorType &pdfVec, const int N)
 
double utl::Erf (double x)
 
double utl::Erfi (double x, Func1To1 expF=&std::exp)
 
double utl::ExpNegtiveLUT (const double dist, const double distMax=30.0, const int precision=1000)
 
unsigned long utl::Factorial (const int n)
 
template<typename T >
utl::Factorial (const T v1, const int times)
 
double utl::GammaHalfInteger (const double x)
 
std::vector< double > utl::GetCoefLaguerre (const int n, const double a=0.5)
 
std::vector< double > utl::GetCoefLaguerreProduct (const int n1, const double a1, const int n2, const double a2)
 
double utl::GetExpLegendreCoef (const double a, const int l, Func1To1 expF=&std::exp)
 
double utl::GetExpLegendreCoefDerivative (const double a, const int l, Func1To1 expF=&std::exp)
 
template<class TVector1 , class TVector2 >
double utl::InnerProduct (const TVector1 &v1, const TVector2 &v2, const int N1)
 
template<class TMatrixType >
void utl::InverseSmallMatrix (const TMatrixType &mat, TMatrixType &result, const int row)
 
double utl::LegendrePolynomialAt0 (const int order)
 
template<class TVector1 , class TVector2 , class TMatrix >
void utl::OuterProduct (const TVector1 &v1, const int N1, const TVector2 &v2, const int N2, TMatrix &mat)
 
template<class TVector1 , class TMatrix >
void utl::OuterProduct (const TVector1 &v1, const int N1, TMatrix &mat)
 
std::vector< std::complex< double > > utl::PolynomialRoot (const std::vector< double > &coef)
 
double utl::PowHalfInteger (const double a, const double b)
 
double utl::PowInteger (const double a, const int b)
 
template<class TMatrix1 , class TMatrix2 , class TMatrix3 >
void utl::ProductMM (const TMatrix1 &mat1, int rows, int cols, const TMatrix2 &mat2, int cols2, TMatrix3 &mat3)
 
template<class TMatrix , class TVector1 , class TVector2 >
void utl::ProductMv (const TMatrix &mat, int rows, int cols, const TVector1 &v1, TVector2 &v2)
 
template<class TVector1 , class TMatrix , class TVector2 >
void utl::ProductvM (const TVector1 &v1, int rows, const TMatrix &mat, int cols, TVector2 &v2)
 
template<class TVector1 >
double utl::SquaredTwoNorm (const TVector1 &v1, const int N1)
 
double utl::w_im (double x)
 
static double utl::w_im_y100 (double y100, double x)
 

Variables

static const double utl::BesselJPrimeZerosOrder1 [60]
 
static const double utl::BesselJPrimeZerosTable []
 
static const unsigned long utl::FactorialTable [21]
 
static const double utl::GammaHalfIntegerTable [30]
 

Detailed Description

Author
Dr. Jian Cheng (JC), jian..nosp@m.chen.nosp@m.g.198.nosp@m.3@gm.nosp@m.ail.c.nosp@m.om

Definition in file utlMath.h.