Jpp
19.0.0
the software that should make you happy
|
Auxiliary classes and methods for mathematical operations. More...
Classes | |
struct | JAverage< JQuaternion3D > |
Template spacialisation for averaging quaternions. More... | |
struct | JLegendre< JQuaternion3D,(size_t)-1 > |
Template specialisation for function evaluation of Legendre polynome of quaternions for undefined number of degrees. More... | |
struct | JLegendre< JQuaternion3D, N > |
Template specialisation for function evaluation of Legendre polynome of quaternions for defined number of degrees. More... | |
struct | JCalculator |
Auxiliary class for arithmetic operations on objects. More... | |
struct | JGauss_t |
Gauss model. More... | |
struct | JGauss |
Gauss function object. More... | |
struct | JLegendre_t |
Base class for Legendre polynome. More... | |
struct | JLegendre |
Template definition for function evaluation of Legendre polynome. More... | |
struct | JLegendre< JOrdinate_t,(size_t)-1 > |
Template specialisation for function evaluation of of Legendre polynome for undefined number of degrees. More... | |
struct | JLimits |
Auxiliary class for minimum and maximum values for any class. More... | |
struct | JLimits< T, true > |
Template spacialisation of JMATH::JLimits for numerical values. More... | |
struct | JLimits< T, false > |
Template spacialisation of JMATH::JRandom for other data types. More... | |
struct | JMath_t |
Auxiliary class to hide data type specific methods. More... | |
struct | JMath |
Auxiliary base class for aritmetic operations of derived class types. More... | |
struct | JMath< T, JNullType > |
Template base class for data structures with arithmetic capabilities. More... | |
struct | JAverage |
Auxiliary class to determine average of set of values. More... | |
struct | make_carray |
void function More... | |
struct | parameter_list |
Auxiliary data structure for list of parameters. More... | |
struct | JCalculus |
Auxiliary base class for mathematical operations on parameters of function. More... | |
struct | JNegate |
Negate of function. More... | |
struct | JAdd |
forward declaration for negate of function. More... | |
struct | JSub |
forward declaration for addition of fuction. More... | |
struct | JMul |
forward declaration for subtraction of fuction. More... | |
struct | JDiv |
forward declaration for multiplication of fuction. More... | |
struct | JFn |
forward declaration for division of fuction. More... | |
struct | JMathlib |
forward declaration for fixed power of function. More... | |
struct | JAdd< JF1_t, double > |
Addition of constant value. More... | |
struct | JSub< JF1_t, double > |
Subtraction of constant value. More... | |
struct | JMul< JF1_t, double > |
Multiplication of constant value. More... | |
struct | JDiv< JF1_t, double > |
Division of constant value. More... | |
struct | JPair |
Auxiliary data structure for pair of functions. More... | |
struct | JPolynome |
Recursive template class for polynomial function. More... | |
struct | JPolynome< ID_t, 0 > |
Termination class for polynomial function. More... | |
struct | JGauss< ID_t, true > |
Gauss function. More... | |
struct | JPow |
Power of function. More... | |
struct | JPow< ID_t, _vF > |
Power of x. More... | |
struct | JXn |
Fixed power of x. More... | |
struct | JSqrt |
Square root of function. More... | |
struct | JSqrt< _vF > |
Square root of x. More... | |
struct | JSin |
Sine of function. More... | |
struct | JCos |
Cosine of function. More... | |
struct | JExp |
Exponent of function. More... | |
struct | JExp< JPolynome< ID_t, 0 > > |
Exponent of zero degree polynomial function. More... | |
struct | JLog |
Logarithm of function. More... | |
struct | JMake2X |
Make 2D function of x from 1D function. More... | |
struct | JMake2Y |
Make 2D function of y from 1D function. More... | |
struct | JGauss2D |
2D correlated Gauss function. More... | |
struct | JMake3X |
Make 3D function of x from 1D function. More... | |
struct | JMake3Y |
Make 3D function of y from 1D function. More... | |
struct | JMake3Z |
Make 3D function of z from 1D function. More... | |
struct | JGauss3D |
3D correlated Gauss function. More... | |
class | JMatrix1D |
1 x 1 matrix More... | |
class | JMatrix1S |
1 x 1 symmetric matrix More... | |
class | JMatrix2D |
2 x 2 matrix More... | |
class | JMatrix2S |
2 x 2 symmetric matrix More... | |
class | JMatrix3D |
3 x 3 matrix More... | |
class | JMatrix3S |
3 x 3 symmetric matrix More... | |
class | JMatrix4D |
4 x 4 matrix More... | |
class | JMatrix4S |
4 x 4 symmetric matrix More... | |
class | JMatrix5D |
5 x 5 matrix More... | |
class | JMatrix5S |
5 x 5 symmetric matrix More... | |
struct | JMatrixND_t |
Basic NxN matrix. More... | |
struct | JMatrixND |
NxN matrix. More... | |
struct | JMatrixNS |
N x N symmetric matrix. More... | |
struct | JModel_t |
Fit model. More... | |
struct | JNumber |
Simple wrapper around template data type to ensure that zero is the default value. More... | |
struct | JPolynome_t |
Polynome model. More... | |
class | JPower |
Power law function object. More... | |
struct | JQuantile_t |
Auxiliary data structure for average. More... | |
struct | JRandom |
Template definition of random value generator. More... | |
struct | JRandom< T, true > |
Template spacialisation of JMATH::JRandom for numerical values. More... | |
struct | JRandom< T, false > |
Template spacialisation of JMATH::JRandom for non-numerical data types. More... | |
class | JSVD3D |
Singular value decomposition. More... | |
class | JTrigonometric |
Trigonometric function object for sin and cos . More... | |
struct | JVectorND |
Nx1 matrix. More... | |
struct | JZero |
Auxiliary class to assign zero value. More... | |
Typedefs | |
template<int ID_t> | |
using | JP0 = JPolynome< ID_t, 0 > |
short hand for 0th degree polynome More... | |
template<int ID_t> | |
using | JP1 = JPolynome< ID_t, 1 > |
short hand for 1st degree polynome More... | |
template<int ID_t> | |
using | JP2 = JPolynome< ID_t, 2 > |
short hand for 2nd degree polynome More... | |
template<int ID_t> | |
using | JP3 = JPolynome< ID_t, 3 > |
short hand for 3rd degree polynome More... | |
template<int ID_t, size_t N> | |
using | JPolynome2X = JMake2X< JPolynome< ID_t, N > > |
2D polynomial function of x. More... | |
template<int ID_t, size_t N> | |
using | JPolynome2Y = JMake2Y< JPolynome< ID_t, N > > |
2D polynomial function of y. More... | |
template<int ID_t, bool normalise = false> | |
using | JGauss2X = JMake2X< JGauss< ID_t, normalise > > |
2D Gauss function of x. More... | |
template<int ID_t, bool normalise = false> | |
using | JGauss2Y = JMake2Y< JGauss< ID_t, normalise > > |
2D Gauss function of y. More... | |
template<int ID_t, class JF1_t = _vF> | |
using | JPow2X = JMake2X< JPow< ID_t, JF1_t > > |
2D power of function of x. More... | |
template<int ID_t, class JF1_t = _vF> | |
using | JPow2Y = JMake2Y< JPow< ID_t, JF1_t > > |
2D power of function of y. More... | |
template<int N> | |
using | JXn2X = JMake2X< JXn< N > > |
2D fixed power of x. More... | |
template<int N> | |
using | JXn2Y = JMake2Y< JXn< N > > |
2D fixed power of y. More... | |
template<class JF1_t = _vF> | |
using | JSqrt2X = JMake2X< JSqrt< JF1_t > > |
2D square root of function of x. More... | |
template<class JF1_t = _vF> | |
using | JSqrt2Y = JMake2Y< JSqrt< JF1_t > > |
2D square root of function of y. More... | |
template<class JF1_t > | |
using | JSin2X = JMake2X< JSin< JF1_t > > |
2D sine of function of x. More... | |
template<class JF1_t > | |
using | JSin2Y = JMake2Y< JSin< JF1_t > > |
2D sine of function of y. More... | |
template<class JF1_t > | |
using | JCos2X = JMake2X< JCos< JF1_t > > |
2D cosine of function of x. More... | |
template<class JF1_t > | |
using | JCos2Y = JMake2Y< JCos< JF1_t > > |
2D cosine of function of y. More... | |
template<class JF1_t > | |
using | JExp2X = JMake2X< JExp< JF1_t > > |
2D exponent of function of x. More... | |
template<class JF1_t > | |
using | JExp2Y = JMake2Y< JExp< JF1_t > > |
2D exponent of function of y. More... | |
template<class JF1_t > | |
using | JLog2X = JMake2X< JLog< JF1_t > > |
2D logarithm of function of x. More... | |
template<class JF1_t > | |
using | JLog2Y = JMake2Y< JLog< JF1_t > > |
2D logarithm of function of y. More... | |
template<int ID_t, size_t N> | |
using | JPolynome3X = JMake3X< JPolynome< ID_t, N > > |
3D polynomial function of x. More... | |
template<int ID_t, size_t N> | |
using | JPolynome3Y = JMake3Y< JPolynome< ID_t, N > > |
3D polynomial function of y. More... | |
template<int ID_t, size_t N> | |
using | JPolynome3Z = JMake3Z< JPolynome< ID_t, N > > |
3D polynomial function of z. More... | |
template<int ID_t, bool normalise = false> | |
using | JGauss3X = JMake3X< JGauss< ID_t, normalise > > |
3D Gauss function of x. More... | |
template<int ID_t, bool normalise = false> | |
using | JGauss3Y = JMake3Y< JGauss< ID_t, normalise > > |
3D Gauss function of y. More... | |
template<int ID_t, bool normalise = false> | |
using | JGauss3Z = JMake3Z< JGauss< ID_t, normalise > > |
3D Gauss function of z. More... | |
template<int ID_t, class JF1_t = _vF> | |
using | JPow3X = JMake3X< JPow< ID_t, JF1_t > > |
3D power of function of x. More... | |
template<int ID_t, class JF1_t = _vF> | |
using | JPow3Y = JMake3Y< JPow< ID_t, JF1_t > > |
3D power of function of y. More... | |
template<int ID_t, class JF1_t = _vF> | |
using | JPow3Z = JMake3Z< JPow< ID_t, JF1_t > > |
3D power of function of z. More... | |
template<int N> | |
using | JXn3X = JMake3X< JXn< N > > |
3D fixed power of x. More... | |
template<int N> | |
using | JXn3Y = JMake3Y< JXn< N > > |
3D fixed power of y. More... | |
template<int N> | |
using | JXn3Z = JMake3Z< JXn< N > > |
3D fixed power of z. More... | |
template<class JF1_t = _vF> | |
using | JSqrt3X = JMake3X< JSqrt< JF1_t > > |
3D square root of function of x. More... | |
template<class JF1_t = _vF> | |
using | JSqrt3Y = JMake3Y< JSqrt< JF1_t > > |
3D square root of function of y. More... | |
template<class JF1_t = _vF> | |
using | JSqrt3Z = JMake3Z< JSqrt< JF1_t > > |
3D square root of function of z. More... | |
template<class JF1_t > | |
using | JSin3X = JMake3X< JSin< JF1_t > > |
3D sine of function of x. More... | |
template<class JF1_t > | |
using | JSin3Y = JMake3Y< JSin< JF1_t > > |
3D sine of function of y. More... | |
template<class JF1_t > | |
using | JSin3Z = JMake3Z< JSin< JF1_t > > |
3D sine of function of z. More... | |
template<class JF1_t > | |
using | JCos3X = JMake3X< JCos< JF1_t > > |
3D cosine of function of x. More... | |
template<class JF1_t > | |
using | JCos3Y = JMake3Y< JCos< JF1_t > > |
3D cosine of function of y. More... | |
template<class JF1_t > | |
using | JCos3Z = JMake3Z< JCos< JF1_t > > |
3D cosine of function of z. More... | |
template<class JF1_t > | |
using | JExp3X = JMake3X< JExp< JF1_t > > |
3D exponent of function of x. More... | |
template<class JF1_t > | |
using | JExp3Y = JMake3Y< JExp< JF1_t > > |
3D exponent of function of y. More... | |
template<class JF1_t > | |
using | JExp3Z = JMake3Z< JExp< JF1_t > > |
3D exponent of function of z. More... | |
template<class JF1_t > | |
using | JLog3X = JMake3X< JLog< JF1_t > > |
3D logarithm of function of x. More... | |
template<class JF1_t > | |
using | JLog3Y = JMake3Y< JLog< JF1_t > > |
3D logarithm of function of y. More... | |
template<class JF1_t > | |
using | JLog3Z = JMake3Z< JLog< JF1_t > > |
3D logarithm of function of z. More... | |
Functions | |
template<class T > | |
const JCalculator< T, 1 > & | operator* (const T &first, const T &second) |
Product evaluation of objects. More... | |
template<class T , int N> | |
const JCalculator< T, N+1 > & | operator* (const T &first, const JCalculator< T, N > &second) |
Recursive product evaluation of objects. More... | |
template<class T , int N> | |
const JCalculator< T, N+1 > & | operator* (const JCalculator< T, N > &first, const T &second) |
Recursive product evaluation of objects. More... | |
template<class T > | |
T | pow (const T &x, const double y) |
Power ![]() | |
template<class T > | |
T | interpolate (const T &first, const T &second, const double alpha) |
Interpolation between objects. More... | |
template<class T > | |
std::iterator_traits< T > ::value_type | getAverage (T __begin, T __end) |
Get average. More... | |
template<class JValue_t , size_t N> | |
JValue_t | getAverage (const JValue_t(&array)[N]) |
Get average. More... | |
template<class JElement_t , class JAllocator_t > | |
JElement_t | getAverage (const array_type< JElement_t, JAllocator_t > &buffer) |
Get average. More... | |
template<class T > | |
std::iterator_traits< T > ::value_type | getAverage (T __begin, T __end, typename std::iterator_traits< T >::value_type value) |
Get average. More... | |
template<class JValue_t , size_t N> | |
JValue_t | getAverage (const JValue_t(&array)[N], typename JLANG::JClass< JValue_t >::argument_type value) |
Get average. More... | |
template<class JElement_t , class JAllocator_t > | |
JElement_t | getAverage (const array_type< JElement_t, JAllocator_t > &buffer, typename JLANG::JClass< JElement_t >::argument_type value) |
Get average. More... | |
template<class JF1_t > | |
size_t | getNumberOfParameters () |
Get number of parameters. More... | |
template<class JF1_t > | |
double | getParameter (const JF1_t &f1, const size_t i) |
Get value of parameter at given index. More... | |
template<class JF1_t > | |
void | setParameters (JF1_t *f1, const double *values) |
Set values of all parameters. More... | |
template<class JF1_t > | |
JPow< JF1_t::ID, JF1_t > | Pow (const JF1_t &f1, const double alpha) |
Power of function. More... | |
template<class JF1_t > | |
JSqrt< JF1_t > | Sqrt (const JF1_t &f1) |
Square root of function. More... | |
JSqrt | Sqrt () |
Square root of x. More... | |
template<class JF1_t > | |
JSin< JF1_t > | Sin (const JF1_t &f1) |
Sine of function. More... | |
template<class JF1_t > | |
JCos< JF1_t > | Cos (const JF1_t &f1) |
Cosine function. More... | |
template<class JF1_t > | |
JExp< JF1_t > | Exp (const JF1_t &f1) |
Exponent of function. More... | |
template<class JF1_t > | |
JLog< JF1_t > | Log (const JF1_t &f1) |
Logarithm of function. More... | |
double | gauss (const double x, const double sigma) |
Gauss function (normalised to 1 at x = 0). More... | |
double | gauss (const double x, const double x0, const double sigma) |
Gauss function (normalised to 1 at x = x0). More... | |
double | Gauss (const double x, const double sigma) |
Normalised Gauss function. More... | |
double | Gauss (const double x, const double x0, const double sigma) |
Normalised Gauss function. More... | |
double | Gamma (const double a, const double x) |
Incomplete gamma function. More... | |
double | legendre (const size_t n, const double x) |
Legendre polynome. More... | |
double | binomial (const size_t n, const size_t k) |
Binomial function. More... | |
double | poisson (const size_t n, const double mu) |
Poisson probability density distribition. More... | |
double | Poisson (const size_t n, const double mu) |
Poisson cumulative density distribition. More... | |
void | randomize (JMatrix1D *p) |
Randomize matrix. More... | |
void | randomize (JMatrix2D *p) |
Randomize matrix. More... | |
void | randomize (JMatrix3D *p) |
Randomize matrix. More... | |
void | randomize (JMatrix4D *p) |
Randomize matrix. More... | |
void | randomize (JMatrix5D *p) |
Randomize matrix. More... | |
void | randomize (JMatrix1S *p) |
Randomize matrix. More... | |
void | randomize (JMatrix2S *p) |
Randomize matrix. More... | |
void | randomize (JMatrix3S *p) |
Randomize matrix. More... | |
void | randomize (JMatrix4S *p) |
Randomize matrix. More... | |
void | randomize (JMatrix5S *p) |
Randomize matrix. More... | |
long long int | factorial (const long long int n) |
Determine factorial. More... | |
long long int | factorial (const long long int n, const long long int m) |
Determine combinatorics. More... | |
template<class JFirst_t , class JSecond_t > | |
bool | equals (const JFirst_t &first, const JSecond_t &second, const double precision=std::numeric_limits< double >::min()) |
Check equality. More... | |
template<class JFirst_t , class JSecond_t > | |
double | getDistanceSquared (const JFirst_t &first, const JSecond_t &second) |
Get square of distance between objects. More... | |
template<class JFirst_t , class JSecond_t > | |
double | getDistance (const JFirst_t &first, const JSecond_t &second) |
Get distance between objects. More... | |
template<class JFirst_t , class JSecond_t > | |
double | getDot (const JFirst_t &first, const JSecond_t &second) |
Get dot product of objects. More... | |
template<class JFirst_t , class JSecond_t > | |
double | getAngle (const JFirst_t &first, const JSecond_t &second) |
Get space angle between objects. More... | |
template<class JFirst_t , class JSecond_t > | |
double | getPerpDot (const JFirst_t &first, const JSecond_t &second) |
Get perpendicular dot product of objects. More... | |
template<class T > | |
T | getCross (const T &first, const T &second) |
Get cross product of objects. More... | |
template<class T > | |
std::vector< T > | convolve (const std::vector< T > &input, const std::vector< T > &kernel) |
Convolute data with given kernel. More... | |
template<class T > | |
T | getRandom () |
Get random value. More... | |
template<class T > | |
T | getRandom (const T min, const T max) |
Get uniformly distributed random value between given limits. More... | |
template<class T > | |
T | getRandom (const T min, const T max, const T precision) |
Get uniformly distributed random value between given limits. More... | |
template<> | |
double | getRandom (const double min, const double max, const double precision) |
Template specialisation for data type double . More... | |
template<class T > | |
T | getZero () |
Get zero value for a given data type. More... | |
template<> | |
bool | getZero< bool > () |
Get zero value for bool . More... | |
template<> | |
float | getZero< float > () |
Get zero value for float . More... | |
template<> | |
double | getZero< double > () |
Get zero value for double . More... | |
template<> | |
long double | getZero< long double > () |
Get zero value for long double . More... | |
Variables | |
static const double | PI = acos(-1.0) |
Mathematical constants. More... | |
static const double | EULER = 0.577215664901533 |
Euler number. More... | |
static const long long int | KILOBYTE = 1024 |
Computing quantities. More... | |
static const long long int | MEGABYTE = KILOBYTE*KILOBYTE |
Number of bytes in a kilo-byte. More... | |
static const long long int | GIGABYTE = MEGABYTE*KILOBYTE |
Number of bytes in a mega-byte. More... | |
template<int ID_t> | |
const parameter_list < JPolynome< ID_t, 0 > > JPolynome< ID_t, 0 > ::parameters & | JPolynome |
Set parameters. More... | |
template<int ID_t> | |
const parameter_list< JPow < ID_t > > JPow< ID_t > ::parameters & | JPow |
Set parameters. More... | |
static const JZero | zero |
Function object to assign zero value. More... | |
Auxiliary classes and methods for mathematical operations.
using JMATH::JP0 = typedef JPolynome<ID_t, 0> |
short hand for 0th degree polynome
Definition at line 1570 of file JMathlib.hh.
using JMATH::JP1 = typedef JPolynome<ID_t, 1> |
short hand for 1st degree polynome
Definition at line 1573 of file JMathlib.hh.
using JMATH::JP2 = typedef JPolynome<ID_t, 2> |
short hand for 2nd degree polynome
Definition at line 1576 of file JMathlib.hh.
using JMATH::JP3 = typedef JPolynome<ID_t, 3> |
short hand for 3rd degree polynome
Definition at line 1579 of file JMathlib.hh.
using JMATH::JPolynome2X = typedef JMake2X< JPolynome<ID_t, N> > |
2D polynomial function of x.
Definition at line 158 of file JMathlib2D.hh.
using JMATH::JPolynome2Y = typedef JMake2Y< JPolynome<ID_t, N> > |
2D polynomial function of y.
Definition at line 159 of file JMathlib2D.hh.
using JMATH::JGauss2X = typedef JMake2X< JGauss<ID_t, normalise> > |
2D Gauss function of x.
Definition at line 160 of file JMathlib2D.hh.
using JMATH::JGauss2Y = typedef JMake2Y< JGauss<ID_t, normalise> > |
2D Gauss function of y.
Definition at line 161 of file JMathlib2D.hh.
using JMATH::JPow2X = typedef JMake2X< JPow<ID_t, JF1_t> > |
2D power of function of x.
Definition at line 162 of file JMathlib2D.hh.
using JMATH::JPow2Y = typedef JMake2Y< JPow<ID_t, JF1_t> > |
2D power of function of y.
Definition at line 163 of file JMathlib2D.hh.
using JMATH::JXn2X = typedef JMake2X< JXn<N> > |
2D fixed power of x.
Definition at line 164 of file JMathlib2D.hh.
using JMATH::JXn2Y = typedef JMake2Y< JXn<N> > |
2D fixed power of y.
Definition at line 165 of file JMathlib2D.hh.
using JMATH::JSqrt2X = typedef JMake2X< JSqrt<JF1_t> > |
2D square root of function of x.
Definition at line 166 of file JMathlib2D.hh.
using JMATH::JSqrt2Y = typedef JMake2Y< JSqrt<JF1_t> > |
2D square root of function of y.
Definition at line 167 of file JMathlib2D.hh.
using JMATH::JSin2X = typedef JMake2X< JSin<JF1_t> > |
2D sine of function of x.
Definition at line 168 of file JMathlib2D.hh.
using JMATH::JSin2Y = typedef JMake2Y< JSin<JF1_t> > |
2D sine of function of y.
Definition at line 169 of file JMathlib2D.hh.
using JMATH::JCos2X = typedef JMake2X< JCos<JF1_t> > |
2D cosine of function of x.
Definition at line 170 of file JMathlib2D.hh.
using JMATH::JCos2Y = typedef JMake2Y< JCos<JF1_t> > |
2D cosine of function of y.
Definition at line 171 of file JMathlib2D.hh.
using JMATH::JExp2X = typedef JMake2X< JExp<JF1_t> > |
2D exponent of function of x.
Definition at line 172 of file JMathlib2D.hh.
using JMATH::JExp2Y = typedef JMake2Y< JExp<JF1_t> > |
2D exponent of function of y.
Definition at line 173 of file JMathlib2D.hh.
using JMATH::JLog2X = typedef JMake2X< JLog<JF1_t> > |
2D logarithm of function of x.
Definition at line 174 of file JMathlib2D.hh.
using JMATH::JLog2Y = typedef JMake2Y< JLog<JF1_t> > |
2D logarithm of function of y.
Definition at line 175 of file JMathlib2D.hh.
using JMATH::JPolynome3X = typedef JMake3X< JPolynome<ID_t, N> > |
3D polynomial function of x.
Definition at line 234 of file JMathlib3D.hh.
using JMATH::JPolynome3Y = typedef JMake3Y< JPolynome<ID_t, N> > |
3D polynomial function of y.
Definition at line 235 of file JMathlib3D.hh.
using JMATH::JPolynome3Z = typedef JMake3Z< JPolynome<ID_t, N> > |
3D polynomial function of z.
Definition at line 236 of file JMathlib3D.hh.
using JMATH::JGauss3X = typedef JMake3X< JGauss<ID_t, normalise> > |
3D Gauss function of x.
Definition at line 237 of file JMathlib3D.hh.
using JMATH::JGauss3Y = typedef JMake3Y< JGauss<ID_t, normalise> > |
3D Gauss function of y.
Definition at line 238 of file JMathlib3D.hh.
using JMATH::JGauss3Z = typedef JMake3Z< JGauss<ID_t, normalise> > |
3D Gauss function of z.
Definition at line 239 of file JMathlib3D.hh.
using JMATH::JPow3X = typedef JMake3X< JPow<ID_t, JF1_t> > |
3D power of function of x.
Definition at line 240 of file JMathlib3D.hh.
using JMATH::JPow3Y = typedef JMake3Y< JPow<ID_t, JF1_t> > |
3D power of function of y.
Definition at line 241 of file JMathlib3D.hh.
using JMATH::JPow3Z = typedef JMake3Z< JPow<ID_t, JF1_t> > |
3D power of function of z.
Definition at line 242 of file JMathlib3D.hh.
using JMATH::JXn3X = typedef JMake3X< JXn<N> > |
3D fixed power of x.
Definition at line 243 of file JMathlib3D.hh.
using JMATH::JXn3Y = typedef JMake3Y< JXn<N> > |
3D fixed power of y.
Definition at line 244 of file JMathlib3D.hh.
using JMATH::JXn3Z = typedef JMake3Z< JXn<N> > |
3D fixed power of z.
Definition at line 245 of file JMathlib3D.hh.
using JMATH::JSqrt3X = typedef JMake3X< JSqrt<JF1_t> > |
3D square root of function of x.
Definition at line 246 of file JMathlib3D.hh.
using JMATH::JSqrt3Y = typedef JMake3Y< JSqrt<JF1_t> > |
3D square root of function of y.
Definition at line 247 of file JMathlib3D.hh.
using JMATH::JSqrt3Z = typedef JMake3Z< JSqrt<JF1_t> > |
3D square root of function of z.
Definition at line 248 of file JMathlib3D.hh.
using JMATH::JSin3X = typedef JMake3X< JSin<JF1_t> > |
3D sine of function of x.
Definition at line 249 of file JMathlib3D.hh.
using JMATH::JSin3Y = typedef JMake3Y< JSin<JF1_t> > |
3D sine of function of y.
Definition at line 250 of file JMathlib3D.hh.
using JMATH::JSin3Z = typedef JMake3Z< JSin<JF1_t> > |
3D sine of function of z.
Definition at line 251 of file JMathlib3D.hh.
using JMATH::JCos3X = typedef JMake3X< JCos<JF1_t> > |
3D cosine of function of x.
Definition at line 252 of file JMathlib3D.hh.
using JMATH::JCos3Y = typedef JMake3Y< JCos<JF1_t> > |
3D cosine of function of y.
Definition at line 253 of file JMathlib3D.hh.
using JMATH::JCos3Z = typedef JMake3Z< JCos<JF1_t> > |
3D cosine of function of z.
Definition at line 254 of file JMathlib3D.hh.
using JMATH::JExp3X = typedef JMake3X< JExp<JF1_t> > |
3D exponent of function of x.
Definition at line 255 of file JMathlib3D.hh.
using JMATH::JExp3Y = typedef JMake3Y< JExp<JF1_t> > |
3D exponent of function of y.
Definition at line 256 of file JMathlib3D.hh.
using JMATH::JExp3Z = typedef JMake3Z< JExp<JF1_t> > |
3D exponent of function of z.
Definition at line 257 of file JMathlib3D.hh.
using JMATH::JLog3X = typedef JMake3X< JLog<JF1_t> > |
3D logarithm of function of x.
Definition at line 258 of file JMathlib3D.hh.
using JMATH::JLog3Y = typedef JMake3Y< JLog<JF1_t> > |
3D logarithm of function of y.
Definition at line 259 of file JMathlib3D.hh.
using JMATH::JLog3Z = typedef JMake3Z< JLog<JF1_t> > |
3D logarithm of function of z.
Definition at line 260 of file JMathlib3D.hh.
|
inline |
Product evaluation of objects.
Multiply objects.
first | first object |
second | second object |
Definition at line 53 of file JCalculator.hh.
|
inline |
Recursive product evaluation of objects.
first | first object |
second | second object |
Definition at line 69 of file JCalculator.hh.
|
inline |
Recursive product evaluation of objects.
first | first object |
second | second object |
Definition at line 85 of file JCalculator.hh.
Power .
x | value |
y | power |
Definition at line 97 of file JMath.hh.
|
inline |
Interpolation between objects.
The result is equal to result = (1 - alpha) * (first) + (alpha) * (second)
.
first | first object |
second | second object |
alpha | interpolation factor [0, 1] |
Definition at line 397 of file JMath.hh.
|
inline |
Get average.
array | c-array of values |
Definition at line 509 of file JMath.hh.
JElement_t JMATH::getAverage | ( | const array_type< JElement_t, JAllocator_t > & | buffer | ) |
std::iterator_traits<T>::value_type JMATH::getAverage | ( | T | __begin, |
T | __end, | ||
typename std::iterator_traits< T >::value_type | value | ||
) |
Get average.
__begin | begin of data |
__end | end of data |
value | default value |
Definition at line 539 of file JMath.hh.
|
inline |
Get average.
array | c-array of values |
value | default value |
Definition at line 558 of file JMath.hh.
JElement_t JMATH::getAverage | ( | const array_type< JElement_t, JAllocator_t > & | buffer, |
typename JLANG::JClass< JElement_t >::argument_type | value | ||
) |
Get average.
buffer | input data |
value | default value |
Definition at line 577 of file JMath.hh.
|
inline |
Get number of parameters.
Definition at line 155 of file JMathlib.hh.
|
inline |
Get value of parameter at given index.
f1 | function |
i | index |
Definition at line 169 of file JMathlib.hh.
|
inline |
Set values of all parameters.
f1 | pointer to function |
values | pointer to list of values |
Definition at line 182 of file JMathlib.hh.
Power of function.
f1 | function |
alpha | alpha |
Definition at line 1897 of file JMathlib.hh.
JSqrt<JF1_t> JMATH::Sqrt | ( | const JF1_t & | f1 | ) |
Square root of function.
f1 | function |
Definition at line 2136 of file JMathlib.hh.
JSqrt JMATH::Sqrt | ( | ) |
JSin<JF1_t> JMATH::Sin | ( | const JF1_t & | f1 | ) |
JCos<JF1_t> JMATH::Cos | ( | const JF1_t & | f1 | ) |
JExp<JF1_t> JMATH::Exp | ( | const JF1_t & | f1 | ) |
Exponent of function.
f1 | function |
Definition at line 2545 of file JMathlib.hh.
JLog<JF1_t> JMATH::Log | ( | const JF1_t & | f1 | ) |
Logarithm of function.
f1 | function |
Definition at line 2629 of file JMathlib.hh.
|
inline |
Gauss function (normalised to 1 at x = 0).
x | x |
sigma | sigma |
Definition at line 33 of file JMath/JMathSupportkit.hh.
|
inline |
Gauss function (normalised to 1 at x = x0).
x | x |
x0 | central value |
sigma | sigma |
Definition at line 52 of file JMath/JMathSupportkit.hh.
|
inline |
Normalised Gauss function.
x | x |
sigma | sigma |
Definition at line 65 of file JMath/JMathSupportkit.hh.
|
inline |
Normalised Gauss function.
x | x |
x0 | central value |
sigma | sigma |
Definition at line 79 of file JMath/JMathSupportkit.hh.
|
inline |
Incomplete gamma function.
Source code is taken from reference: Numerical Recipes in C++, W.H. Press, S.A. Teukolsky, W.T. Vetterling and B.P. Flannery, Cambridge University Press.
a | a |
x | x |
Definition at line 96 of file JMath/JMathSupportkit.hh.
|
inline |
Legendre polynome.
n | degree |
x | x |
Definition at line 183 of file JMath/JMathSupportkit.hh.
|
inline |
Binomial function.
n | n |
k | k |
Definition at line 218 of file JMath/JMathSupportkit.hh.
|
inline |
Poisson probability density distribition.
n | number of occurences |
mu | expectation value |
Definition at line 248 of file JMath/JMathSupportkit.hh.
|
inline |
Poisson cumulative density distribition.
n | number of occurences |
mu | expectation value |
Definition at line 274 of file JMath/JMathSupportkit.hh.
|
inline |
Randomize matrix.
p | pointer to valid object |
Definition at line 33 of file JMathTestkit.hh.
|
inline |
Randomize matrix.
p | pointer to valid object |
Definition at line 44 of file JMathTestkit.hh.
|
inline |
Randomize matrix.
p | pointer to valid object |
Definition at line 56 of file JMathTestkit.hh.
|
inline |
Randomize matrix.
p | pointer to valid object |
Definition at line 69 of file JMathTestkit.hh.
|
inline |
Randomize matrix.
p | pointer to valid object |
Definition at line 83 of file JMathTestkit.hh.
|
inline |
Randomize matrix.
p | pointer to valid object |
Definition at line 98 of file JMathTestkit.hh.
|
inline |
Randomize matrix.
p | pointer to valid object |
Definition at line 109 of file JMathTestkit.hh.
|
inline |
Randomize matrix.
p | pointer to valid object |
Definition at line 123 of file JMathTestkit.hh.
|
inline |
Randomize matrix.
p | pointer to valid object |
Definition at line 140 of file JMathTestkit.hh.
|
inline |
Randomize matrix.
p | pointer to valid object |
Definition at line 161 of file JMathTestkit.hh.
|
inline |
Determine factorial.
n | number |
Definition at line 43 of file JMathToolkit.hh.
|
inline |
Determine combinatorics.
n | number |
m | number |
Definition at line 63 of file JMathToolkit.hh.
|
inline |
Check equality.
first | first object |
second | second object |
precision | precision |
Definition at line 87 of file JMathToolkit.hh.
|
inline |
Get square of distance between objects.
first | first object |
second | second object |
Definition at line 103 of file JMathToolkit.hh.
|
inline |
Get distance between objects.
first | first object |
second | second object |
Definition at line 118 of file JMathToolkit.hh.
|
inline |
Get dot product of objects.
first | first object |
second | second object |
Definition at line 133 of file JMathToolkit.hh.
|
inline |
Get space angle between objects.
first | first object |
second | second object |
Definition at line 148 of file JMathToolkit.hh.
|
inline |
Get perpendicular dot product of objects.
first | first object |
second | second object |
Definition at line 170 of file JMathToolkit.hh.
Get cross product of objects.
first | first object |
second | second object |
Definition at line 185 of file JMathToolkit.hh.
|
inline |
Convolute data with given kernel.
input | input data |
kernel | convolution kernel |
Definition at line 200 of file JMathToolkit.hh.
|
inline |
Get uniformly distributed random value between given limits.
min | minimal value |
max | maximal value |
Definition at line 127 of file JRandom.hh.
Get uniformly distributed random value between given limits.
min | minimal value |
max | maximal value |
precision | precision |
Definition at line 143 of file JRandom.hh.
|
inline |
Template specialisation for data type double
.
Definition at line 155 of file JRandom.hh.
|
inline |
Get zero value for a given data type.
The default implementation of this method returns an object which is created with the default constructor. This method should be specialised if this value does not correspond to the equivalent of a zero result.
Definition at line 26 of file JZero.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
static |
Euler number.
Definition at line 21 of file JMath/JConstants.hh.
|
static |
Computing quantities.
Definition at line 26 of file JMath/JConstants.hh.
Number of bytes in a kilo-byte.
Definition at line 27 of file JMath/JConstants.hh.
Number of bytes in a mega-byte.
Definition at line 28 of file JMath/JConstants.hh.
const parameter_list< JPolynome<ID_t, 0> > JPolynome<ID_t, 0>::parameters& JMATH::JPolynome |
Set parameters.
Definition at line 1566 of file JMathlib.hh.
const parameter_list< JPow<ID_t> > JPow<ID_t>::parameters& JMATH::JPow |
Set parameters.
Definition at line 1979 of file JMathlib.hh.