Differences From Artifact [4178a7adf7]:
- File mttroot/mtt/lib/rep/sfun_rep/mex_ae.c.tmpl — part of check-in [e168fd1202] at 2002-06-05 10:54:12 on branch origin/master — #include "useful-functions.hh" added to files. (user: geraint@users.sourceforge.net, size: 2185) [annotate] [blame] [check-ins using] [more...]
To Artifact [797312fca9]:
- File mttroot/mtt/lib/rep/sfun_rep/mex_ae.c.tmpl — part of check-in [168a121b9d] at 2002-06-17 14:28:39 on branch origin/master — c files now #include sys_cr.h. (user: geraint@users.sourceforge.net, size: 2218) [annotate] [blame] [check-ins using] [more...]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | + |
/* -*-c-*- Put emacs into c-mode
* <mtt_model_name>_sfun_ae.c:
* Matlab mex algebraic equations for <mtt_model_name>
*/
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <mex.h>
#include "sfun_debug.h"
#include "useful-functions.hh"
#include "<mtt_model_name>_def.h"
#include "<mtt_model_name>_sympar.h"
#include "<mtt_model_name>_cr.h"
/* utility procedures */
double *
array_of_double (size_t n)
{
void *p = calloc (n, sizeof (double));
|
| ︙ |