dsp-0.1: Haskell Digital Signal ProcessingContentsIndex
Polynomial.Maclaurin
Portabilityportable
Stabilityexperimental
Maintainerm.p.donadio@ieee.org
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
polyexp :: Int -> [Double]
polyln1 :: Int -> [Double]
polycos :: Int -> [Double]
polysin :: Int -> [Double]
polyatan :: Int -> [Double]
polycosh :: Int -> [Double]
polysinh :: Int -> [Double]
polyatanh :: Int -> [Double]
Documentation
polyexp :: Int -> [Double]
e^x
polyln1 :: Int -> [Double]
ln (1+x), 0 <= x <= 1
polycos :: Int -> [Double]
cos x
polysin :: Int -> [Double]
sin x
polyatan :: Int -> [Double]
atan x, -1 < x < 1
polycosh :: Int -> [Double]
cosh x
polysinh :: Int -> [Double]
sinh x
polyatanh :: Int -> [Double]
atanh x
Produced by Haddock version 0.8