| |||||||||||||||
| |||||||||||||||
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 | |||||||||||||||
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 |