summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/differential_calculus/interfaces
diff options
context:
space:
mode:
authorsiddhu89902016-05-27 11:50:04 +0530
committersiddhu89902016-05-27 11:50:04 +0530
commit49003250e69e4e500742614888e47db789bbe451 (patch)
tree44bdcb9f8a4989789bbab2e10cd43d114fb237b4 /2.3-1/src/c/differential_calculus/interfaces
parent18587a5f0cf86d636ac23a5be567437cd822bbc2 (diff)
downloadScilab2C-49003250e69e4e500742614888e47db789bbe451.tar.gz
Scilab2C-49003250e69e4e500742614888e47db789bbe451.tar.bz2
Scilab2C-49003250e69e4e500742614888e47db789bbe451.zip
Support for basic ODE function added
Diffstat (limited to '2.3-1/src/c/differential_calculus/interfaces')
-rw-r--r--2.3-1/src/c/differential_calculus/interfaces/int_ode.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/2.3-1/src/c/differential_calculus/interfaces/int_ode.h b/2.3-1/src/c/differential_calculus/interfaces/int_ode.h
index a27acbad..1cb64497 100644
--- a/2.3-1/src/c/differential_calculus/interfaces/int_ode.h
+++ b/2.3-1/src/c/differential_calculus/interfaces/int_ode.h
@@ -1,13 +1,14 @@
-// Copyright (C) 2016 - IIT Bombay - FOSSEE
-//
-// This file must be used under the terms of the CeCILL.
-// This source file is licensed as described in the file COPYING, which
-// you should have received as part of this distribution. The terms
-// are also available at
-// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
-// Author: Siddhesh Wani
-// Organization: FOSSEE, IIT Bombay
-// Email: toolbox@scilab.in
+/* Copyright (C) 2016 - IIT Bombay - FOSSEE
+
+ This file must be used under the terms of the CeCILL.
+ This source file is licensed as described in the file COPYING, which
+ you should have received as part of this distribution. The terms
+ are also available at
+ http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ Author: Siddhesh Wani
+ Organization: FOSSEE, IIT Bombay
+ Email: toolbox@scilab.in
+*/
#ifndef __INT_ODE_H__
#define __INT_ODE_H__
@@ -19,8 +20,8 @@ extern "C" {
#define d0d0d0g2oded0(in1, in2, in3, in4) dodes(in1, in2, in3, in4, 1, 1.0e-2,\
1.0e-2, 1.0e-6)
-#define d2d0d0g2oded2(in1, size1, in2, in3, func_name, strsize, out) doded(in1, in2, in3, func_name \
- 1, 1.0e-2, 1.0e-2, 1.0e-6, out)
+#define d2d0d0f0oded2(in1, size1, in2, in3, func_name, out) dodea(in1, in2, in3, func_name, \
+ size1[1], 1.0e-2, 1.0e-2, 1.0e-6, size1, out)
#ifdef __cplusplus
} /* extern "C" */