dsp-0.2.3: Haskell Digital Signal Processing

Portabilityportable
Stabilityexperimental
Maintainerm.p.donadio@ieee.org
Safe HaskellSafe-Inferred

Polynomial.Maclaurin

Description

Simple module for generating Maclaurin series representation of a few functions:

f(x) = sum [ a_i * x^i | i <- [0..] ]

The Int parameter for all functions is the order of the polynomial, eg:

[ a_i | i <- [0..N] ]

and not the number of non-zero terms

Synopsis

Documentation

polyln1 :: Int -> [Double]Source

ln (1+x), 0 <= x <= 1

polycos :: Int -> [Double]Source

cos x

polysin :: Int -> [Double]Source

sin x

polyatan :: Int -> [Double]Source

atan x, -1 < x < 1

polycosh :: Int -> [Double]Source

cosh x

polysinh :: Int -> [Double]Source

sinh x

polyatanh :: Int -> [Double]Source

atanh x