First page Back Continue Last page Overview Graphics
Note on Numerical Recipes in C
The canned routines in NRiC make use of special functions defined in nrutil.c (header nrutil.h).
- In particular, arrays and matrices are allocated dynamically with indices starting at 1, not 0.
- If you want to interface with the NRiC routines, but prefer the C array index convention, pass arrays by subtracting 1 from the pointer address (i.e. pass p-1 instead of p) and pass matrices by using the functions convert_matrix() and free_convert_matrix() in nrutil.c (see NRiC 1.2 for more information).
Notes: