Interface RealFunction
- All Superinterfaces:
ContinuousFunction<Real,Real>, DifferentiableFunction<Real, Real>, Function<Real, Real>, Function<Real, Real>, IntegrableFunction<Real, Real>, Relation<Real, Real>
public interface RealFunction
extends DifferentiableFunction<Real,Real>, IntegrableFunction<Real,Real>
Represents a real-valued function of a real variable (R -> R).
Provides capabilities for numerical analysis, such as differentiation and integration.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptiondefault RealFunctionReturns the derivative of this function.Returns the derivative of this function.static RealFunctionidentity()default RealFunctionReturns the integral of this function (antiderivative) with zero constant.default RealIntegrates this function over a definite interval [a, b].Methods inherited from interface ContinuousFunction
isContinuousMethods inherited from interface DifferentiableFunction
isDifferentiableMethods inherited from interface Function
andThen, apply, compose, contains, evaluate, evaluate, getBackend, setBackendMethods inherited from interface Relation
getCodomain, getDomain
-
Method Details
-
derivative
Returns the derivative of this function.- Returns:
- the derivative function f'
-
differentiate
Description copied from interface:DifferentiableFunctionReturns the derivative of this function.- Specified by:
differentiatein interfaceDifferentiableFunction<Real,Real> - Returns:
- f'
-
integrate
Returns the integral of this function (antiderivative) with zero constant.- Specified by:
integratein interfaceIntegrableFunction<Real,Real> - Returns:
- the antiderivative function F such that F' = f
- Throws:
UnsupportedOperationException- if symbolic integration is not supported
-
integrate
-
identity
-