Functions¶
General mathematical functions¶
|
Function base class. |
|
Symbolic function. |
|
Translation function. |
|
Linear numerical math function. |
|
Quadratic function. |
|
Pre-evaluated function. |
|
Override Function from Python. |
|
Override Function from Python. |
|
Function which keeps tracks of input and output. |
Algebra of functions¶
|
Aggregated function. |
|
Composed function. |
|
Function which outputs the Euclidean distance to a |
Linear combination of functions with vectorial weights. |
|
|
Indicator function of a |
|
Linear combination of functions. |
|
Parametric function. |
|
Product function. |
|
Evaluation of the composition |
|
Composition function |
|
Composition function |
|
Composition function |
|
Composition function |
Field and mixed functions¶
Refer to Field functions.
|
Function mapping a field to a field. |
|
Function mapping a field into a point. |
|
Function mapping a point into a field. |
Parametric Point to Field function. |
|
Function mapping a (vertex, value) point to a field. |
|
|
Override FieldFunction from Python. |
|
Function mapping a field to a field. |
|
Function mapping a field to a field. |
|
Override FieldFunction from Python. |
|
Override FieldToPointFunction from Python. |
|
Override PointToFieldFunction from Python. |
|
Override FieldFunction from Python. |
Override FieldToPointFunction from Python. |
|
Override PointToFieldFunction from Python. |
|
|
P1 interpolation of values between two meshes. |
Collection of functions¶
|
Basis. |
|
Orthogonal basis. |
|
Sequence of basis. |
Finite differentiation schemes¶
First order centered finite-difference scheme. |
|
Second order centered finite-difference scheme. |
|
|
Base class for first order finite-difference schemes. |
|
Base class for second order centered finite-difference scheme. |
First order non-centered finite-difference scheme. |
|
|
Base class to define finite difference steps. |
|
Constant step. |
|
Blended step. |
Evaluation functions¶
|
Numerical math evaluation implementation. |
|
Aggregated numerical math evaluation implementation. |
|
Proxy of C++ OT::ComposedEvaluation. |
|
Data based math evaluation implementation. |
|
Proxy of C++ OT::DistanceToDomainEvaluation. |
Dual linear combination evaluation implementation. |
|
|
Proxy of C++ OT::IndicatorEvaluation. |
|
Proxy of C++ OT::LinearCombinationEvaluation. |
|
Linear numerical math evaluation implementation. |
|
Proxy of C++ OT::MarginalEvaluation. |
Marginal transformation evaluation. |
|
|
Evaluation which keeps tracks of input and output. |
|
Proxy of C++ OT::NoEvaluation. |
|
Proxy of C++ OT::ParametricEvaluation. |
|
Piecewise Hermite interpolation evaluation. |
|
Piecewise linear interpolation evaluation. |
|
Data based math evaluation implementation. |
|
Proxy of C++ OT::ProductEvaluation. |
|
Product polynomial evaluation implementation. |
|
Proxy of C++ OT::QuadraticEvaluation. |
|
Proxy of C++ OT::SymbolicEvaluation. |
|
Translation evaluation. |
Gradient functions¶
|
Numerical math gradient implementation. |
|
Proxy of C++ OT::SymbolicGradient. |
|
Proxy of C++ OT::ComposedGradient. |
|
Proxy of C++ OT::ConstantGradient. |
Dual linear combination gradient implementation. |
|
|
Proxy of C++ OT::LinearCombinationGradient. |
|
Linear numerical math gradient implementation. |
|
Proxy of C++ OT::NoGradient. |
|
Proxy of C++ OT::ParametricGradient. |
|
Proxy of C++ OT::ProductGradient. |
|
Proxy of C++ OT::MarginalGradient. |
Hessian functions¶
|
Numerical math hessian implementation. |
|
Proxy of C++ OT::SymbolicHessian. |
|
Proxy of C++ OT::ComposedHessian. |
|
Proxy of C++ OT::ConstantHessian. |
|
Dual linear combination hessian implementation. |
|
Proxy of C++ OT::LinearCombinationHessian. |
|
Proxy of C++ OT::NoHessian. |
|
Proxy of C++ OT::NullHessian. |
|
Proxy of C++ OT::ParametricHessian. |
|
Proxy of C++ OT::ProductHessian. |
|
Proxy of C++ OT::MarginalHessian. |
Differential equation solvers¶
|
ODE solver base class. |
|
Runge-Kutta fourth-order method. |
|
Adaptive order Fehlberg method. |
Special constants & functions¶
Special functions¶
Special functions are implemented as C++ static methods and are hence casted as Python functions.
Accurate summation. |
|
Modified first kind Bessel function of order 0. |
|
Modified first kind Bessel function of order 1. |
|
|
Modified second kind Bessel function of order |
|
|
|
Beta function |
Binomial coefficient. |
|
Compute the number of bits set to 1 in an integer. |
|
Cubit root function. |
|
|
Clip a value on [0, 1]. |
|
Dawson function. |
|
Debye function of order |
|
Digamma function. |
Inverse of the DiGamma function. |
|
Dilogarithm function. |
|
|
Exponential integral function. |
|
Error function Erf. |
|
Complementary error function ErfC. |
|
ErfCX function. |
|
Imaginary error function ErfI. |
Inverse of the error function Erf. |
|
Expm1 function. |
|
Complex Faddeeva function. |
|
Imaginary part of the Faddeeva function. |
|
|
Gamma function |
GammaCorrection function. |
|
|
Hypergeometric function of type (1,1). |
|
Hypergeometric function of type (2,1). |
|
Hypergeometric function of type (2,2). |
IGamma1pm1 function. |
|
|
Incomplete Beta function. |
|
Inverse of the incomplete Beta function. |
|
Incomplete Gamma function. |
|
Inverse of the incomplete Gamma function with respect to |
|
Raise the given |
|
Extract the |
|
Check for non-NaN and non-Inf values. |
|
Lambert W function. |
|
Logarithm of the Beta function. |
Logarithm of the Gamma function. |
|
Log1MExp function. |
|
Log1p function. |
|
Integer base 2 logarithm of |
|
Logarithm of the modified first kind Bessel function of order 0. |
|
Logarithm of the modified first kind Bessel function of order 1. |
|
|
Logarithm of the modified second kind Bessel function of order |
|
Logarithm of the Beta function. |
Logarithm of the factorial function. |
|
|
Logarithm of the Gamma function. |
LogGamma1p function. |
|
Smallest power of two greater or equal to the given |
|
|
Psi function, alias for digamma function. |
|
Regularized incomplete Beta function. |
Inverse of the regularized incomplete Beta function. |
|
|
Regularized incomplete Gamma function. |
Inverse of the regularized incomplete Gamma function. |
|
Error of the Stirling approximation of the factorial logarithm. |
|
TriGamma function. |
|
|
Time stopping criterion. |
External code coupling¶
These methods are dedicated to coupling external codes by means of text files.
|
Replace values in a file using delimiters. |
|
Launch an external process. |
|
Get a value from a file using a delimiter and/or offsets. |
|
Get a value at specific line/columns coordinates. |
|
Get values from a file using regex. |
|
Get several values from a file using delimiters and/or offsets. |
1-D functions¶
|
Base class for univariate functions. |