openGPMP
Open Source Mathematics Package
Public Member Functions | List of all members
gpmp::NumericalAnalysis Class Reference

#include <analysis.hpp>

Public Member Functions

double numDiff (double(*function)(double), double x)
 
double numDiff_2 (double(*function)(double), double x)
 
double numDiff_3 (double(*function)(double), double x)
 
double constantApproximation (double(*function)(double), double c)
 
double linearApproximation (double(*function)(double), double c, double x)
 
double quadraticApproximation (double(*function)(double), double c, double x)
 
double cubicApproximation (double(*function)(double), double c, double x)
 
double numDiff (double(*function)(std::vector< double >), std::vector< double > x, int axis)
 
double numDiff_2 (double(*function)(std::vector< double >), std::vector< double > x, int axis1, int axis2)
 
double numDiff_3 (double(*function)(std::vector< double >), std::vector< double > x, int axis1, int axis2, int axis3)
 
double newtonRaphsonMethod (double(*function)(double), double x_0, double epoch_num)
 
double halleyMethod (double(*function)(double), double x_0, double epoch_num)
 
double invQuadraticInterpolation (double(*function)(double), std::vector< double > x_0, double epoch_num)
 
double eulerianMethod (double(*derivative)(double), std::vector< double > q_0, double p, double h)
 
double eulerianMethod (double(*derivative)(std::vector< double >), std::vector< double > q_0, double p, double h)
 
double growthMethod (double C, double k, double t)
 
std::vector< double > jacobian (double(*function)(std::vector< double >), std::vector< double > x)
 
std::vector< std::vector< double > > hessian (double(*function)(std::vector< double >), std::vector< double > x)
 
std::vector< std::vector< std::vector< double > > > thirdOrderTensor (double(*function)(std::vector< double >), std::vector< double > x)
 
double constantApproximation (double(*function)(std::vector< double >), std::vector< double > c)
 
double linearApproximation (double(*function)(std::vector< double >), std::vector< double > c, std::vector< double > x)
 
double quadraticApproximation (double(*function)(std::vector< double >), std::vector< double > c, std::vector< double > x)
 
double cubicApproximation (double(*function)(std::vector< double >), std::vector< double > c, std::vector< double > x)
 
double laplacian (double(*function)(std::vector< double >), std::vector< double > x)
 
std::string secondPartialDerivativeTest (double(*function)(std::vector< double >), std::vector< double > x)
 

Detailed Description

Definition at line 47 of file analysis.hpp.

Member Function Documentation

◆ constantApproximation() [1/2]

double gpmp::NumericalAnalysis::constantApproximation ( double(*)(double)  function,
double  c 
)

◆ constantApproximation() [2/2]

double gpmp::NumericalAnalysis::constantApproximation ( double(*)(std::vector< double >)  function,
std::vector< double >  c 
)

◆ cubicApproximation() [1/2]

double gpmp::NumericalAnalysis::cubicApproximation ( double(*)(double)  function,
double  c,
double  x 
)

◆ cubicApproximation() [2/2]

double gpmp::NumericalAnalysis::cubicApproximation ( double(*)(std::vector< double >)  function,
std::vector< double >  c,
std::vector< double >  x 
)

◆ eulerianMethod() [1/2]

double gpmp::NumericalAnalysis::eulerianMethod ( double(*)(double)  derivative,
std::vector< double >  q_0,
double  p,
double  h 
)

◆ eulerianMethod() [2/2]

double gpmp::NumericalAnalysis::eulerianMethod ( double(*)(std::vector< double >)  derivative,
std::vector< double >  q_0,
double  p,
double  h 
)

◆ growthMethod()

double gpmp::NumericalAnalysis::growthMethod ( double  C,
double  k,
double  t 
)

◆ halleyMethod()

double gpmp::NumericalAnalysis::halleyMethod ( double(*)(double)  function,
double  x_0,
double  epoch_num 
)

◆ hessian()

std::vector<std::vector<double> > gpmp::NumericalAnalysis::hessian ( double(*)(std::vector< double >)  function,
std::vector< double >  x 
)

◆ invQuadraticInterpolation()

double gpmp::NumericalAnalysis::invQuadraticInterpolation ( double(*)(double)  function,
std::vector< double >  x_0,
double  epoch_num 
)

◆ jacobian()

std::vector<double> gpmp::NumericalAnalysis::jacobian ( double(*)(std::vector< double >)  function,
std::vector< double >  x 
)

◆ laplacian()

double gpmp::NumericalAnalysis::laplacian ( double(*)(std::vector< double >)  function,
std::vector< double >  x 
)

◆ linearApproximation() [1/2]

double gpmp::NumericalAnalysis::linearApproximation ( double(*)(double)  function,
double  c,
double  x 
)

◆ linearApproximation() [2/2]

double gpmp::NumericalAnalysis::linearApproximation ( double(*)(std::vector< double >)  function,
std::vector< double >  c,
std::vector< double >  x 
)

◆ newtonRaphsonMethod()

double gpmp::NumericalAnalysis::newtonRaphsonMethod ( double(*)(double)  function,
double  x_0,
double  epoch_num 
)

◆ numDiff() [1/2]

double gpmp::NumericalAnalysis::numDiff ( double(*)(double)  function,
double  x 
)

◆ numDiff() [2/2]

double gpmp::NumericalAnalysis::numDiff ( double(*)(std::vector< double >)  function,
std::vector< double >  x,
int  axis 
)

◆ numDiff_2() [1/2]

double gpmp::NumericalAnalysis::numDiff_2 ( double(*)(double)  function,
double  x 
)

◆ numDiff_2() [2/2]

double gpmp::NumericalAnalysis::numDiff_2 ( double(*)(std::vector< double >)  function,
std::vector< double >  x,
int  axis1,
int  axis2 
)

◆ numDiff_3() [1/2]

double gpmp::NumericalAnalysis::numDiff_3 ( double(*)(double)  function,
double  x 
)

◆ numDiff_3() [2/2]

double gpmp::NumericalAnalysis::numDiff_3 ( double(*)(std::vector< double >)  function,
std::vector< double >  x,
int  axis1,
int  axis2,
int  axis3 
)

◆ quadraticApproximation() [1/2]

double gpmp::NumericalAnalysis::quadraticApproximation ( double(*)(double)  function,
double  c,
double  x 
)

◆ quadraticApproximation() [2/2]

double gpmp::NumericalAnalysis::quadraticApproximation ( double(*)(std::vector< double >)  function,
std::vector< double >  c,
std::vector< double >  x 
)

◆ secondPartialDerivativeTest()

std::string gpmp::NumericalAnalysis::secondPartialDerivativeTest ( double(*)(std::vector< double >)  function,
std::vector< double >  x 
)

◆ thirdOrderTensor()

std::vector<std::vector<std::vector<double> > > gpmp::NumericalAnalysis::thirdOrderTensor ( double(*)(std::vector< double >)  function,
std::vector< double >  x 
)

The documentation for this class was generated from the following file: