Package | Description |
---|---|
fr.cnes.sirius.patrius.math.analysis |
Parent package for common numerical analysis procedures, including root finding,
function interpolation and integration.
|
fr.cnes.sirius.patrius.math.analysis.differentiation |
This package holds the main interfaces and basic building block classes
dealing with differentiation.
|
fr.cnes.sirius.patrius.math.analysis.function | |
fr.cnes.sirius.patrius.math.analysis.integration | |
fr.cnes.sirius.patrius.math.analysis.integration.gauss | |
fr.cnes.sirius.patrius.math.analysis.interpolation | |
fr.cnes.sirius.patrius.math.analysis.polynomials | |
fr.cnes.sirius.patrius.math.analysis.solver | |
fr.cnes.sirius.patrius.math.linear | |
fr.cnes.sirius.patrius.math.optim.univariate | |
fr.cnes.sirius.patrius.math.transform |
Modifier and Type | Interface and Description |
---|---|
interface |
DifferentiableIntegrableUnivariateFunction
Extension of
UnivariateFunction representing a differentiable and integrable univariate real function. |
interface |
IntegrableUnivariateFunction
Extension of
UnivariateFunction representing an integrable univariate real function. |
Modifier and Type | Method and Description |
---|---|
static UnivariateFunction |
FunctionUtils.add(UnivariateFunction... f)
Adds functions.
|
static UnivariateFunction |
FunctionUtils.combine(BivariateFunction combiner,
UnivariateFunction f,
UnivariateFunction g)
Returns the univariate function
h(x) = combiner(f(x), g(x)) . |
static UnivariateFunction |
FunctionUtils.compose(UnivariateFunction... f)
Composes functions.
|
static UnivariateFunction |
FunctionUtils.fix1stArgument(BivariateFunction f,
double fixed)
Creates a unary function by fixing the first argument of a binary function.
|
static UnivariateFunction |
FunctionUtils.fix2ndArgument(BivariateFunction f,
double fixed)
Creates a unary function by fixing the second argument of a binary function.
|
static UnivariateFunction |
FunctionUtils.multiply(UnivariateFunction... f)
Multiplies functions.
|
UnivariateFunction |
IntegrableUnivariateFunction.primitive()
Returns the primitive of the function
|
Modifier and Type | Method and Description |
---|---|
static UnivariateFunction |
FunctionUtils.add(UnivariateFunction... f)
Adds functions.
|
static MultivariateFunction |
FunctionUtils.collector(BivariateFunction combiner,
UnivariateFunction f,
double initialValue)
Returns a MultivariateFunction h(x[]) defined by
|
static UnivariateFunction |
FunctionUtils.combine(BivariateFunction combiner,
UnivariateFunction f,
UnivariateFunction g)
Returns the univariate function
h(x) = combiner(f(x), g(x)) . |
static UnivariateFunction |
FunctionUtils.compose(UnivariateFunction... f)
Composes functions.
|
static UnivariateFunction |
FunctionUtils.multiply(UnivariateFunction... f)
Multiplies functions.
|
static double[] |
FunctionUtils.sample(UnivariateFunction f,
double min,
double max,
int n)
Samples the specified univariate real function on the specified interval.
|
Modifier and Type | Interface and Description |
---|---|
interface |
UnivariateDifferentiableFunction
Interface for univariate functions derivatives.
|
Modifier and Type | Method and Description |
---|---|
double |
RiddersDifferentiator.differentiate(double x,
UnivariateFunction f)
Differentiates a
UnivariateFunction on a single point using the Ridders method. |
UnivariateDifferentiableFunction |
FiniteDifferencesDifferentiator.differentiate(UnivariateFunction function)
Create an implementation of a
differential from a regular function . |
UnivariateDifferentiableFunction |
RiddersDifferentiator.differentiate(UnivariateFunction function)
Create an implementation of a
differential from a regular function . |
UnivariateDifferentiableFunction |
UnivariateFunctionDifferentiator.differentiate(UnivariateFunction function)
Create an implementation of a
differential from a regular function . |
Modifier and Type | Class and Description |
---|---|
class |
Abs
Absolute value function.
|
class |
Acos
Arc-cosine function.
|
class |
Acosh
Hyperbolic arc-cosine function.
|
class |
Asin
Arc-sine function.
|
class |
Asinh
Hyperbolic arc-sine function.
|
class |
Atan
Arc-tangent function.
|
class |
Atanh
Hyperbolic arc-tangent function.
|
class |
Cbrt
Cube root function.
|
class |
Ceil
ceil function. |
class |
Constant
Constant function.
|
class |
Cos
Cosine function.
|
class |
Cosh
Hyperbolic cosine function.
|
class |
Exp
Exponential function.
|
class |
Expm1
ex-1 function. |
class |
Floor
floor function. |
class |
Gaussian
Gaussian function.
|
class |
HarmonicOscillator
simple harmonic oscillator function.
|
class |
Identity
Identity function.
|
class |
Inverse
Inverse function.
|
class |
Log
Natural logarithm function.
|
class |
Log10
Base 10 logarithm function.
|
class |
Log1p
log(1 + p) function. |
class |
Logistic
Generalised logistic function.
|
class |
Logit
Logit function.
|
class |
Minus
Minus function.
|
class |
Power
Power function.
|
class |
Rint
rint function. |
class |
Sigmoid
Sigmoid function.
|
class |
Signum
signum function. |
class |
Sin
Sine function.
|
class |
Sinc
Sinc function,
defined by
|
class |
Sinh
Hyperbolic sine function.
|
class |
Sqrt
Square-root function.
|
class |
StepFunction
|
class |
Tan
Tangent function.
|
class |
Tanh
Hyperbolic tangent function.
|
class |
Ulp
ulp function. |
Modifier and Type | Method and Description |
---|---|
double |
UnivariateIntegrator.integrate(int maxEval,
UnivariateFunction f,
double min,
double max)
Integrate the function in the given interval.
|
double |
BaseAbstractUnivariateIntegrator.integrate(int maxEval,
UnivariateFunction f,
double lower,
double upper)
Integrate the function in the given interval.
|
protected void |
BaseAbstractUnivariateIntegrator.setup(int maxEval,
UnivariateFunction f,
double lower,
double upper)
Prepare for computation.
|
Modifier and Type | Method and Description |
---|---|
double |
GaussIntegrator.integrate(UnivariateFunction f)
Returns an estimate of the integral of
f(x) * w(x) ,
where w is a weight function that depends on the actual
flavor of the Gauss integration scheme. |
Modifier and Type | Class and Description |
---|---|
class |
UniLinearIntervalsFunction
Implements the representation of a linear function in dimension 1.
|
Modifier and Type | Method and Description |
---|---|
UnivariateFunction |
UnivariatePeriodicInterpolator.interpolate(double[] xval,
double[] yval)
Compute an interpolating function for the dataset.
|
UnivariateFunction |
UnivariateInterpolator.interpolate(double[] xval,
double[] yval)
Compute an interpolating function for the dataset.
|
Modifier and Type | Class and Description |
---|---|
class |
FourierSeries
This class represents a finite Fourier Series
|
class |
PolynomialFunction
Immutable representation of a real polynomial function with real coefficients.
|
class |
PolynomialFunctionLagrangeForm
Implements the representation of a real polynomial function in
Lagrange Form.
|
class |
PolynomialFunctionNewtonForm
Implements the representation of a real polynomial function in
Newton Form.
|
class |
PolynomialSplineFunction
Represents a polynomial spline function.
|
class |
TrigonometricPolynomialFunction
This class is the Trigonometric Polynomial Function class.
|
class |
TrigonometricPolynomialPrimitive
This class represents a trigonometric polynomial primitive.
|
Modifier and Type | Method and Description |
---|---|
static UnivariateFunction |
ElementaryMultiplicationTypes.componentProvider(ElementaryMultiplicationTypes.ElementaryType intermediateType,
int intermediateOrder,
double period)
This method provides the
UnivariateFunction cos(intermediateOrder * omega * x) or sin |
UnivariateFunction |
PolynomialSplineFunction.derivative()
Get the derivative of the polynomial spline function.
|
UnivariateFunction |
TrigonometricPolynomialFunction.derivative()
Compute and return derivative of polynomial
|
UnivariateFunction |
TrigonometricPolynomialPrimitive.derivative()
Get first order derivative
|
UnivariateFunction |
FourierSeries.derivative()
Compute and return derivative of polynomial
|
UnivariateFunction |
PolynomialFunction.derivative()
Returns the derivative as a
UnivariateFunction . |
UnivariateFunction |
TrigonometricPolynomialFunction.derivative(int n)
Compute and return nth derivative of polynomial
|
UnivariateFunction |
TrigonometricPolynomialPrimitive.derivative(int n)
Get nth order derivative
|
UnivariateFunction |
FourierSeries.derivative(int n)
Compute and return nth derivative of polynomial
|
UnivariateFunction |
FourierSeriesApproximation.getFunction() |
UnivariateFunction |
TrigonometricPolynomialFunction.primitive()
Get primitive of
TrigonometricPolynomialFunction |
UnivariateFunction |
FourierSeries.primitive()
Get primitive of
TrigonometricPolynomialFunction |
Modifier and Type | Method and Description |
---|---|
void |
FourierDecompositionEngine.setFunction(UnivariateFunction function,
double period)
Set the
UnivariateFunction to decompose and its period. |
Constructor and Description |
---|
FourierSeriesApproximation(UnivariateFunction fun,
FourierSeries fou)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseAbstractUnivariateSolver<F extends UnivariateFunction>
Provide a default implementation for several functions useful to generic
solvers.
|
interface |
BaseUnivariateSolver<Func extends UnivariateFunction>
Interface for (univariate real) rootfinding algorithms.
|
interface |
BracketedUnivariateSolver<Func extends UnivariateFunction>
Interface for
(univariate real) root-finding
algorithms that maintain a bracketed solution. |
Modifier and Type | Method and Description |
---|---|
static double[] |
UnivariateSolverUtils.bracket(UnivariateFunction function,
double initial,
double lowerBound,
double upperBound)
This method attempts to find two values a and b satisfying
lowerBound <= a < initial < b <= upperBound
f(a) * f(b) < 0
If f is continuous on [a,b], this means that a and b bracket a root of f. |
static double[] |
UnivariateSolverUtils.bracket(UnivariateFunction function,
double initial,
double lowerBound,
double upperBound,
int maximumIterations)
This method attempts to find two values a and b satisfying
lowerBound <= a < initial < b <= upperBound
f(a) * f(b) <= 0
If f is continuous on [a,b], this means that a and b bracket a root of f. |
static double |
UnivariateSolverUtils.forceSide(int maxEval,
UnivariateFunction f,
BracketedUnivariateSolver<UnivariateFunction> bracketing,
double baseRoot,
double min,
double max,
AllowedSolution allowedSolution)
Force a root found by a non-bracketing solver to lie on a specified side,
as if the solver was a bracketing one.
|
static boolean |
UnivariateSolverUtils.isBracketing(UnivariateFunction function,
double lower,
double upper)
Check whether the interval bounds bracket a root.
|
double |
BracketingNthOrderBrentSolver.solve(int maxEval,
UnivariateFunction f,
double min,
double max,
AllowedSolution allowedSolution)
Solve for a zero in the given interval.
|
double |
BaseSecantSolver.solve(int maxEval,
UnivariateFunction f,
double min,
double max,
AllowedSolution allowedSolution)
Solve for a zero in the given interval.
|
double |
BaseSecantSolver.solve(int maxEval,
UnivariateFunction f,
double min,
double max,
double startValue)
Solve for a zero in the given interval, start at
startValue . |
double |
BracketingNthOrderBrentSolver.solve(int maxEval,
UnivariateFunction f,
double min,
double max,
double startValue,
AllowedSolution allowedSolution)
Solve for a zero in the given interval, start at
startValue . |
double |
BaseSecantSolver.solve(int maxEval,
UnivariateFunction f,
double min,
double max,
double startValue,
AllowedSolution allowedSolution)
Solve for a zero in the given interval, start at
startValue . |
static double |
UnivariateSolverUtils.solve(UnivariateFunction function,
double x0,
double x1)
Convenience method to find a zero of a univariate real function.
|
static double |
UnivariateSolverUtils.solve(UnivariateFunction function,
double x0,
double x1,
double absoluteAccuracy)
Convenience method to find a zero of a univariate real function.
|
static void |
UnivariateSolverUtils.verifyBracketing(UnivariateFunction function,
double lower,
double upper)
Check that the endpoints specify an interval and the end points
bracket a root.
|
Modifier and Type | Method and Description |
---|---|
static double |
UnivariateSolverUtils.forceSide(int maxEval,
UnivariateFunction f,
BracketedUnivariateSolver<UnivariateFunction> bracketing,
double baseRoot,
double min,
double max,
AllowedSolution allowedSolution)
Force a root found by a non-bracketing solver to lie on a specified side,
as if the solver was a bracketing one.
|
Modifier and Type | Method and Description |
---|---|
ArrayRealVector |
ArrayRealVector.map(UnivariateFunction function)
Acts as if implemented as:
|
RealVector |
RealVector.map(UnivariateFunction function)
Acts as if implemented as:
|
ArrayRealVector |
ArrayRealVector.mapToSelf(UnivariateFunction function)
Acts as if it is implemented as:
|
RealVector |
RealVector.mapToSelf(UnivariateFunction function)
Acts as if it is implemented as:
|
Modifier and Type | Method and Description |
---|---|
UnivariateFunction |
UnivariateObjectiveFunction.getObjectiveFunction()
Gets the function to be optimized.
|
Modifier and Type | Method and Description |
---|---|
void |
BracketFinder.search(UnivariateFunction func,
GoalType goal,
double xAIn,
double xBIn)
Search new points that bracket a local optimum of the function.
|
Constructor and Description |
---|
UnivariateObjectiveFunction(UnivariateFunction f) |
Modifier and Type | Method and Description |
---|---|
double[] |
FastCosineTransformer.transform(UnivariateFunction f,
double min,
double max,
int n,
TransformType type)
Returns the (forward, inverse) transform of the specified real function,
sampled on the specified interval.
|
double[] |
FastHadamardTransformer.transform(UnivariateFunction f,
double min,
double max,
int n,
TransformType type)
Returns the (forward, inverse) transform of the specified real function,
sampled on the specified interval.
|
double[] |
RealTransformer.transform(UnivariateFunction f,
double min,
double max,
int n,
TransformType type)
Returns the (forward, inverse) transform of the specified real function,
sampled on the specified interval.
|
double[] |
FastSineTransformer.transform(UnivariateFunction f,
double min,
double max,
int n,
TransformType type)
Returns the (forward, inverse) transform of the specified real function,
sampled on the specified interval.
|
Complex[] |
IFastFourierTransformer.transform(UnivariateFunction f,
double min,
double max,
int n,
TransformType type)
Returns the (forward, inverse) transform of the specified real function,
sampled on the specified interval.
|
Complex[] |
AbstractFastFourierTransformer.transform(UnivariateFunction f,
double min,
double max,
int n,
TransformType type)
Returns the (forward, inverse) transform of the specified real function,
sampled on the specified interval.
|
Copyright © 2019 CNES. All Rights Reserved.