FOURFUNC
Name
fourfunc
Purpose
Compute a Fourier series function (called by fourfit)
Description
This is to be used in cases where you already know the fundamental period.
The input independent variable is assumed to be reduced to phase of a
fundamental period already. The integer part of the number is not
to the function.
Category
Mathematical
Calling Sequence
fourfunc,x,c,f,pder
Inputs
x - independent variable (phase, between zero and one)
c - fourier series coefficients
0 - a(0) -> constant term
1 - a(1) -> cos(x2pi)
2 - b(1) -> sin(x2pi)
3 - a(2) -> cos(2x2pi)
4 - b(2) -> sin(2x2pi)
and so on for as many elements as in c
Optional Input Parameters
Keyword Input Parameters
Outputs
f - Evaluated function value
pder - (Optional) partial derivatives
Keyword Output Parameters
Common Blocks
Side Effects
Restrictions
Procedure
Modification History
94/10/10, Written by Marc W. Buie, Lowell Observatory