ext10c.c File Reference

Go to the source code of this file.

Functions

int ext10c (int *n, double *t, double *y, double *ydot)


Function Documentation

int ext10c ( int n,
double *  t,
double *  y,
double *  ydot 
)

Definition at line 29 of file ext10c.c.

00030 {
00031   static double param[3];
00032   param[0] = y[*n + 0];
00033   param[1] = y[*n + 1];
00034   param[2] = y[*n + 2];
00035   ydot[0] = -param[0] * y[0] + param[1] * y[1] * y[2];
00036   ydot[2] = param[2] * y[1] * y[1];
00037   ydot[1] = -ydot[0] - ydot[2];
00038   return(0);
00039 } 


Generated on Sun Mar 4 16:07:43 2007 for Scilab [trunk] by  doxygen 1.5.1