Options
All
  • Public
  • Public/Protected
  • All
Menu

Integral of a one-dimensional function

Given a number $ N $ of intervals, the integral of a function $ f $ between $ a $ and $ b $ is calculated by means of Filon's sine and cosine integrals

References: Abramowitz, M. and Stegun, I. A. (Eds.). Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, 9th printing. New York: Dover, pp. 890-891, 1972.

test the correctness of the result is tested by checking it against known good values.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private _intervals

_intervals: Size

Private _n

_n: Size

Private _t

_t: Real

Private _type

_type: Type

Methods

absoluteAccuracy

  • absoluteAccuracy(): Real

absoluteError

  • absoluteError(): Real

f

increaseNumberOfEvaluations

  • increaseNumberOfEvaluations(increase: Size): void

Protected integrate

integrationSuccess

  • integrationSuccess(): boolean

maxEvaluations

  • maxEvaluations(): Size

numberOfEvaluations

  • numberOfEvaluations(): Size

setAbsoluteAccuracy

  • setAbsoluteAccuracy(accuracy: Real): void

setAbsoluteError

  • setAbsoluteError(error: Real): void

setMaxEvaluations

  • setMaxEvaluations(maxEvaluations: Size): void

setNumberOfEvaluations

  • setNumberOfEvaluations(evaluations: Size): void