NumericalIntegration class abstract
When it comes to analysis, the term numerical integration indicates a group of algorithms for calculating the numerical value of a definite integral on an interval.
Subtypes of NumericalIntegration are expected to mostly implement the so called "the Newton–Cotes formulas".
- Implementers
Constructors
- NumericalIntegration({required double lowerBound, required double upperBound, required int intervals})
-
Expects the lowerBound and upperBound of the integral.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- intervals → int
-
The number of parts in which the interval
lowerBound, upperBound
has to be split by the algorithm.final - lowerBound → double
-
The lower bound of the integral.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- upperBound → double
-
The upper bound of the integral.
final
Methods
-
evaluateFunction(
String function, double x) → double -
Evaluates the given
function
on thex
point. -
integrate(
String function) → IntegralResults -
Calculates the numerical value of the
function
definite integral between lowerBound and upperBound. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override