dsp-0.2.4: Haskell Digital Signal Processing

Copyright(c) Matthew Donadio 2003
LicenseGPL
Maintainerm.p.donadio@ieee.org
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

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