|
| static std::shared_ptr< Expression > | differentiate (std::shared_ptr< Expression > expr, const std::string &var) |
| |
| static std::shared_ptr< Expression > | partialDerivative (std::shared_ptr< Expression > expr, const std::string &var) |
| |
| static std::shared_ptr< Expression > | integrate (std::shared_ptr< Expression > expr, const std::string &var) |
| |
| static double | trapezoidalRule (std::function< double(double)> f, double a, double b, int n=1000) |
| |
| static double | simpsonsRule (std::function< double(double)> f, double a, double b, int n=1000) |
| |
| static double | gaussianQuadrature (std::function< double(double)> f, double a, double b, int n=10) |
| |
| static double | monteCarloIntegration (std::function< double(double)> f, double a, double b, int samples=100000) |
| |
| static double | doubleIntegral (std::function< double(double, double)> f, double x1, double x2, double y1, double y2, int nx=100, int ny=100) |
| |
| static Polynomial | taylorSeries (std::function< double(double)> f, double center, int degree) |
| |
| static Polynomial | chebyshevSeries (std::function< double(double)> f, double a, double b, int degree) |
| |
| static double | limit (std::function< double(double)> f, double x, double h=1e-10) |
| |
Definition at line 6 of file calculus.h.
◆ chebyshevSeries()
| Polynomial Calculus::chebyshevSeries |
( |
std::function< double(double)> |
f, |
|
|
double |
a, |
|
|
double |
b, |
|
|
int |
degree |
|
) |
| |
|
static |
◆ differentiate()
| std::shared_ptr< Expression > Calculus::differentiate |
( |
std::shared_ptr< Expression > |
expr, |
|
|
const std::string & |
var |
|
) |
| |
|
static |
◆ doubleIntegral()
| double Calculus::doubleIntegral |
( |
std::function< double(double, double)> |
f, |
|
|
double |
x1, |
|
|
double |
x2, |
|
|
double |
y1, |
|
|
double |
y2, |
|
|
int |
nx = 100, |
|
|
int |
ny = 100 |
|
) |
| |
|
static |
◆ gaussianQuadrature()
| double Calculus::gaussianQuadrature |
( |
std::function< double(double)> |
f, |
|
|
double |
a, |
|
|
double |
b, |
|
|
int |
n = 10 |
|
) |
| |
|
static |
◆ integrate()
| std::shared_ptr< Expression > Calculus::integrate |
( |
std::shared_ptr< Expression > |
expr, |
|
|
const std::string & |
var |
|
) |
| |
|
static |
◆ limit()
| double Calculus::limit |
( |
std::function< double(double)> |
f, |
|
|
double |
x, |
|
|
double |
h = 1e-10 |
|
) |
| |
|
static |
◆ monteCarloIntegration()
| double Calculus::monteCarloIntegration |
( |
std::function< double(double)> |
f, |
|
|
double |
a, |
|
|
double |
b, |
|
|
int |
samples = 100000 |
|
) |
| |
|
static |
◆ partialDerivative()
| std::shared_ptr< Expression > Calculus::partialDerivative |
( |
std::shared_ptr< Expression > |
expr, |
|
|
const std::string & |
var |
|
) |
| |
|
static |
◆ simpsonsRule()
| double Calculus::simpsonsRule |
( |
std::function< double(double)> |
f, |
|
|
double |
a, |
|
|
double |
b, |
|
|
int |
n = 1000 |
|
) |
| |
|
static |
◆ taylorSeries()
| Polynomial Calculus::taylorSeries |
( |
std::function< double(double)> |
f, |
|
|
double |
center, |
|
|
int |
degree |
|
) |
| |
|
static |
◆ trapezoidalRule()
| double Calculus::trapezoidalRule |
( |
std::function< double(double)> |
f, |
|
|
double |
a, |
|
|
double |
b, |
|
|
int |
n = 1000 |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: