GridEnumerator

class GridEnumerator(theFunction: FunctionIfc)

Constructors

Link copied to clipboard
constructor(theFunction: FunctionIfc)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

An evaluation of the function at specific point

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun evaluate(pointsArray: DoubleArray)

Evaluates the supplied function at the points in the array

fun evaluate(theInterval: Interval, numPoints: Int): DoubleArray

Evaluates the function at the end points and at n points equally spaced within the interval. If n = 0, then 2 evaluations occur at both end points. If n = 1, then 3 evaluations occur at mid-point and both end points. The grid division is determined by the interval width divided by (n+1).

fun evaluate(lowerLimit: Double, delta: Double, numPoints: Int): DoubleArray

Evaluates A set of points starting a lower limit and incrementing by delta

Link copied to clipboard
open override fun toString(): String