Differences From Artifact [946212c79a]:
- File mttroot/mtt/lib/rep/sfun_rep/mex_ae.c.tmpl — part of check-in [cbc3f2e90e] at 2002-05-27 13:19:09 on branch origin/master — Added "#include <math.h>". (user: geraint@users.sourceforge.net, size: 2117) [annotate] [blame] [check-ins using] [more...]
To Artifact [7b88f2f493]:
- File
mttroot/mtt/lib/rep/sfun_rep/mex_ae.c.tmpl
— part of check-in
[bdfbe12d56]
at
2002-05-27 14:52:15
on branch origin/master
— Parameters in sfun reps are now declared using sympar.h at the top of the
sfun*.c file instead of in individual functions. This causes the optimisation
variables (mtt_tmp*) to be declared correctly without causing conflicts in the
scope of parameter declarations. (user: geraint@users.sourceforge.net, size: 2154) [annotate] [blame] [check-ins using] [more...]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | + | /* -*-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 "<mtt_model_name>_def.h" #include "<mtt_model_name>_sympar.h" /* utility procedures */ double * array_of_double (size_t n) { void *p = calloc (n, sizeof (double)); |
︙ |