Functions¶
General mathematical functions¶
|
Function base class. |
|
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. |
|
|
Identity function. |
|
Indicator function of a |
|
Linear combination of functions. |
|
Parametric function. |
|
Product function. |
|
Evaluation of the composition where acts on points and produces points. |
|
Composition function where acts on fields and produces fields. |
|
Composition function where acts on fields and produces points. |
|
Composition function where acts on points and produces fields. |
|
Composition function where acts on points and produces points. |
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. |
|
|
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. |
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. |
|
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. |
|
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. |
|
P1 interpolation of values between two meshes. |
|
Evaluation of a P1 Lagrange interpolation over a field. |
|
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 functions¶
Special functions are implemented as C++ static methods and are available 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 . |
|
Derivative of the modified second kind Bessel function of order . |
|
Beta function . |
Compute the number of bits set to 1 in an integer. |
|
|
Clip a value on [0, 1]. |
|
Dawson function. |
|
Debye function of order . |
Difference between the logarithms of Bessel I1 and I0. |
|
|
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. |
|
Factorial 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 to the integral power . |
|
Extract the integral root of the given . |
|
Check for non-NaN and non-Inf values. |
|
Lambert W 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. |
Special constants¶
SpecFunc.Infinity : inf
SpecFunc.MaxScalar : maximum float value
SpecFunc.LogMaxScalar : log of SpecFunc.MaxScalar
SpecFunc.MinScalar : minimum positive float value
SpecFunc.LowestScalar : -inf
SpecFunc.LogMinScalar : log of SpecFunc.MinScalar
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. |
Testing module¶
This module is dedicated to the development in the library.
|
Raises an exception if two objects are not equal up to desired tolerance. |
Automates distribution tests. |