|
|
std::vector< std::string > | BSMPT::split (const std::string &str, char delimiter) |
| | split string separated by delimiter into substrings
|
| |
|
bool | BSMPT::StringStartsWith (const std::string &str, const std::string &prefix) |
| | StringStartsWith checks if str starts with prefix.
|
| |
|
int | BSMPT::factorial (const int &a) |
| | factorial function
|
| |
| double | BSMPT::L2NormVector (const std::vector< double > &vec) |
| | L2NormVector.
|
| |
| std::vector< std::vector< double > > | BSMPT::Transpose (const std::vector< std::vector< double > > &A) |
| | Calculates the tranpose of a matrix.
|
| |
| double | BSMPT::Li2 (const double &x) |
| | Dilogarithm of x.
|
| |
| bool | BSMPT::StringEndsWith (const std::string &str, const std::string &suffix) |
| | StringEndsWith tests if str ends with suffix.
|
| |
| double | BSMPT::EllipIntSecond (const double &x) |
| | Incomplete elliptic integral of the second kind of x with a different parameterization and k^2 = -2.
|
| |
| bool | BSMPT::almost_the_same (const double &a, const double &b, const double &rel_precision, const double &num_zero=1e-10) |
| | almost_the_same check if two doubles
|
| |
| bool | BSMPT::almost_the_same (const std::complex< double > &a, const std::complex< double > &b, const double &rel_precision, const double &num_zero=1e-10) |
| | almost_the_same check if two complex doubles
|
| |
| bool | BSMPT::almost_the_same (const std::vector< double > &a, const std::vector< double > &b, const bool &allow_for_sign_flip, const double &rel_precision, const double &num_zero=1e-10) |
| | almost_the_same check if two vectors (element-wise)
|
| |