source: trunk/procs/gfunct.pro @ 9

Last change on this file since 9 was 2, checked in by post_it, 17 years ago

Initial import from ~/POST_IT/

File size: 261 bytes
Line 
1PRO gfunct, $
2; inputs:
3X, $ ; independent variable
4A, $ ; coefficients
5; outputs :
6F, $ ; dependent variable
7pder ; partial derivatives
8
9F = A[0] * EXP(A[1] * X) + A[2]
10pder = [[EXP(A[1] * X)], [A[0] * X * EXP(A[1] * X)], [replicate(1.0, N_ELEMENTS(X))]]
11
12END
Note: See TracBrowser for help on using the repository browser.