FiniteDifferencesDifferentiator
org.abh80.nf.core.math.calculus.FiniteDifferencesDifferentiator
class FiniteDifferencesDifferentiator(val nbPoints: Int, val stepSize: Double, val tMin: Double, val tMax: Double) extends Serializable
Implements finite differences method for numerical differentiation of functions. This class uses Newton's divided differences formula to compute derivatives of arbitrary order for a given function.
Value parameters
- nbPoints
-
Number of points to use in the differentiation scheme (must be > 1)
- stepSize
-
Step size between successive points (must be > 0)
- tMax
-
Maximum abscissa value (can be Double.PositiveInfinity)
- tMin
-
Minimum abscissa value (can be Double.NegativeInfinity)
Attributes
- Note
-
Even though not a
caseclass, the instances of this class are guaranteed to be immutable - Graph
-
- Supertypes
-
trait Serializableclass Objecttrait Matchableclass Any
Members list
In this article