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.

Numerical integration algorithms compute an approximate solution to a definite integral with a certain degree of accuracy. This package contains the following algorithms:

The function must be continuous in the `lowerBound`, `upperBound` interval.

Implementers

Constructors

NumericalIntegration({required String function, required double lowerBound, required double upperBound, required int intervals})
Expects the lowerBound and upperBound of the integral.
const

Properties

function String
The function to be integrated on the given interval.
final
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(double x) double
Evaluates the given function on the x point.
integrate() 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