AERN-RnToRm-0.4: polynomial function enclosures (PFEs) approximating exact real functionsSource codeContentsIndex
Data.Number.ER.RnToRm.UnitDom.Approx
Portabilityportable
Stabilityexperimental
Maintainermik@konecny.aow.cz
Description

Approximation of continuous real functions defined on the unit rectangle domain of a certain dimension.

To be imported qualified, usually with the synonym UFA.

Synopsis
class ERFnApprox box varid domra ranra fa => ERUnitFnApprox box varid domra ranra fa | fa -> box varid domra ranra where
bottomApprox :: fa
const :: [ranra] -> fa
affine :: [ranra] -> Map varid ([ranra]) -> fa
volume :: [varid] -> fa -> ranra
intersectMeasureImprovement :: EffortIndex -> [varid] -> fa -> fa -> (fa, ranra)
integrate :: EffortIndex -> fa -> varid -> domra -> fa -> fa
Documentation
class ERFnApprox box varid domra ranra fa => ERUnitFnApprox box varid domra ranra fa | fa -> box varid domra ranra whereSource

This class extends ERFnApprox by:

  • assuming that the domain of the function enclosures is always [-1,1]^n for some n;
  • allowing the construction of basic function enclosures where the domain has to be known.
Methods
bottomApprox :: faSource
A function enclosure with no information about the function's values.
const :: [ranra] -> faSource
Construct a constant enclosure for a tuple of functions.
affineSource
:: [ranra]values at 0
-> Map varid ([ranra])ascents of each base vector
-> fa
Construct the exact enclosure of an affine function on [-1,1]^n.
volume :: [varid] -> fa -> ranraSource

Find close upper and lower bounds of the volume of the entire enclosure. A negative volume means that the enclosure is certainly inconsistent.

Explicitly specify the variables to identify the dimension of the domain.

intersectMeasureImprovementSource
:: EffortIndex
-> [varid]
-> fa
-> fa
-> (fa, ranra)enclosure intersection and measurement of improvement analogous to the one returned by the pointwise RA.intersectMeasureImprovement

Intersect two enclosures and measure the global improvement as one number.

(Use RA.intersectMeasureImprovement defined in module Data.Number.ER.Real.Approx to measure the improvement using a function enclosure.)

Explicitly specify the variables to identify the dimension of the domain.

integrateSource
:: EffortIndexhow hard to try
-> fafunction to integrate
-> varidx = variable to integrate by
-> domraorigin in terms of x; this has to be exact!
-> favalues at origin
-> fa
Safely integrate a [-1,1]^n -> R^m function enclosure with some initial condition (origin and function at origin).
show/hide Instances
ERUnitFnBase boxb boxra varid b ra fb => ERUnitFnApprox boxra varid ra ra (ERFnInterval fb ra)
Produced by Haddock version 2.1.0