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

Internal module for Data.Number.ER.RnToRm.UnitDom.ChebyshevBase.Polynom.

Implementation of elementary functions applied to polynomials.

Synopsis
enclSqrt :: (ERRealBase b, RealFrac b, DomainBox box varid Int, Ord box) => Int -> Int -> EffortIndex -> (ERChebPoly box b, ERChebPoly box b) -> (ERChebPoly box b, ERChebPoly box b)
enclExp :: (ERRealBase b, RealFrac b, DomainBox box varid Int, Ord box) => Int -> Int -> EffortIndex -> (ERChebPoly box b, ERChebPoly box b) -> (ERChebPoly box b, ERChebPoly box b)
enclPow :: (ERRealBase b, RealFrac b, Integral i, DomainBox box varid Int, Ord box) => Int -> Int -> (ERChebPoly box b, ERChebPoly box b) -> i -> (ERChebPoly box b, ERChebPoly box b)
enclLog :: (ERRealBase b, RealFrac b, DomainBox box varid Int, Ord box) => Int -> Int -> EffortIndex -> (ERChebPoly box b, ERChebPoly box b) -> (ERChebPoly box b, ERChebPoly box b)
enclSine :: (ERRealBase b, RealFrac b, DomainBox box varid Int, Ord box) => Int -> Int -> EffortIndex -> (ERChebPoly box b, ERChebPoly box b) -> (ERChebPoly box b, ERChebPoly box b)
enclCosine :: (ERRealBase b, RealFrac b, DomainBox box varid Int, Ord box) => Int -> Int -> EffortIndex -> (ERChebPoly box b, ERChebPoly box b) -> (ERChebPoly box b, ERChebPoly box b)
sincosTaylorAux :: (ERRealBase b, RealFrac b, DomainBox box varid Int, Ord box) => Int -> Int -> Bool -> (ERChebPoly box b, ERChebPoly box b) -> Int -> Int -> ERInterval b -> ((ERChebPoly box b, ERChebPoly box b), Int, ERInterval b)
enclAtan :: (ERRealBase b, RealFrac b, DomainBox box varid Int, Ord box) => Int -> Int -> EffortIndex -> (ERChebPoly box b, ERChebPoly box b) -> (ERChebPoly box b, ERChebPoly box b)
Documentation
enclSqrtSource
:: (ERRealBase b, RealFrac b, DomainBox box varid Int, Ord box)
=> Intmaximum polynomial degree
-> Intmaximum term count
-> EffortIndex??
-> (ERChebPoly box b, ERChebPoly box b)
-> (ERChebPoly box b, ERChebPoly box b)
Approximate the pointwise exponential of a square root enclosure.
enclExpSource
:: (ERRealBase b, RealFrac b, DomainBox box varid Int, Ord box)
=> Intmaximum polynomial degree
-> Intmaximum term count
-> EffortIndexused to derive minimum approx Taylor degree
-> (ERChebPoly box b, ERChebPoly box b)
-> (ERChebPoly box b, ERChebPoly box b)
Approximate the pointwise exponential of a polynomial enclosure.
enclPowSource
:: (ERRealBase b, RealFrac b, Integral i, DomainBox box varid Int, Ord box)
=> Intmaximum polynomial degree
-> Intmaximum term count
-> (ERChebPoly box b, ERChebPoly box b)
-> i
-> (ERChebPoly box b, ERChebPoly box b)lower (negated) and upper bound
Approximate the pointwise integer power of an enclosure.
enclLogSource
:: (ERRealBase b, RealFrac b, DomainBox box varid Int, Ord box)
=> Intmaximum polynomial degree
-> Intmaximum term count
-> EffortIndex??
-> (ERChebPoly box b, ERChebPoly box b)
-> (ERChebPoly box b, ERChebPoly box b)
Approximate the pointwise natural logarithm of an enclosure.
enclSineSource
:: (ERRealBase b, RealFrac b, DomainBox box varid Int, Ord box)
=> Intmaximum polynomial degree
-> Intmaximum term count
-> EffortIndexhow hard to try (determines Taylor degree and granularity)
-> (ERChebPoly box b, ERChebPoly box b)
-> (ERChebPoly box b, ERChebPoly box b)

Approximate the pointwise sine of an enclosure.

Assuming the polynomial range is [-pi2, pi2].

enclCosineSource
:: (ERRealBase b, RealFrac b, DomainBox box varid Int, Ord box)
=> Intmaximum polynomial degree
-> Intmaximum term count
-> EffortIndexhow hard to try (determines Taylor degree and granularity)
-> (ERChebPoly box b, ERChebPoly box b)
-> (ERChebPoly box b, ERChebPoly box b)

Approximate the pointwise cosine of an enclosure.

Assuming the polynomial range is [-pi2, pi2].

sincosTaylorAuxSource
:: (ERRealBase b, RealFrac b, DomainBox box varid Int, Ord box)
=> Intmaximum polynomial degree
-> Intmaximum term count
-> Boolis sine ?
-> (ERChebPoly box b, ERChebPoly box b)
-> Inthow far to go in the Taylor series
-> Intdegree of the term now being constructed
-> ERInterval bthe coefficient of the term now being constructed
-> ((ERChebPoly box b, ERChebPoly box b), Int, ERInterval b)Bounds for the series result and information about the first discarded term, from which some bound on the uniform error can be deduced.
enclAtanSource
:: (ERRealBase b, RealFrac b, DomainBox box varid Int, Ord box)
=> Intmaximum polynomial degree
-> Intmaximum term count
-> EffortIndexhow far to go in the Euler's series
-> (ERChebPoly box b, ERChebPoly box b)
-> (ERChebPoly box b, ERChebPoly box b)
Approximate the pointwise arcus tangens of an enclosure.
Produced by Haddock version 2.4.2