Module
Data.Taylor
- Package
- purescript-taylor
- Repository
- paf31/purescript-taylor
Taylor series as lazy lists of coefficients.
#Taylor Source
newtype Taylor aA Taylor series, with coefficients in the specified Semiring.
By varying the base Semiring, we can do various interesting things:
- Using
Number, we can compute arbitrary higher order derivatives of functions. - Using
Complex, we can compute path derivatives of functions. - Using the
FreeSemiring, we can implement symbolic differentiation.
Instances
#coefficients Source
coefficients :: forall a. Taylor a -> List aExtract the coefficients as a lazy list.
- Modules
- Data.
Taylor