diff options
author | siddhu8990 | 2017-02-07 16:16:31 +0530 |
---|---|---|
committer | siddhu8990 | 2017-02-07 16:16:31 +0530 |
commit | e59107e6bb2695fc20fd0ab229e296b9bf739fc4 (patch) | |
tree | 5bedc90e7bc88bb86b10a33839887eeb3e2f39cf /2.3-1/src/c/CACSD/includes | |
parent | 1fef9b1edc2d4400e8ba6bb6fafb648963d6817d (diff) | |
download | Scilab2C-e59107e6bb2695fc20fd0ab229e296b9bf739fc4.tar.gz Scilab2C-e59107e6bb2695fc20fd0ab229e296b9bf739fc4.tar.bz2 Scilab2C-e59107e6bb2695fc20fd0ab229e296b9bf739fc4.zip |
Support for 'lqr' and 'lqe' added
Diffstat (limited to '2.3-1/src/c/CACSD/includes')
-rw-r--r-- | 2.3-1/src/c/CACSD/includes/lqe.h | 26 | ||||
-rw-r--r-- | 2.3-1/src/c/CACSD/includes/lqr.h | 26 | ||||
-rw-r--r-- | 2.3-1/src/c/CACSD/includes/syslin.h | 2 |
3 files changed, 53 insertions, 1 deletions
diff --git a/2.3-1/src/c/CACSD/includes/lqe.h b/2.3-1/src/c/CACSD/includes/lqe.h new file mode 100644 index 00000000..1cc902fd --- /dev/null +++ b/2.3-1/src/c/CACSD/includes/lqe.h @@ -0,0 +1,26 @@ + /* Copyright (C) 2017 - 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 __LQE_H__ +#define __LQE_H__ + + +#ifdef __cplusplus +extern "C" { +#endif + +void dlqea(double* sys, int sys_rows, int sys_cols, double* X, double* K); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /*__LQE_H__*/ diff --git a/2.3-1/src/c/CACSD/includes/lqr.h b/2.3-1/src/c/CACSD/includes/lqr.h new file mode 100644 index 00000000..062d6e41 --- /dev/null +++ b/2.3-1/src/c/CACSD/includes/lqr.h @@ -0,0 +1,26 @@ + /* Copyright (C) 2017 - 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 __LQR_H__ +#define __LQR_H__ + + +#ifdef __cplusplus +extern "C" { +#endif + +void dlqra(double* sys, int sys_rows, int sys_cols, double* X, double* K); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /*__LQR_H__*/ diff --git a/2.3-1/src/c/CACSD/includes/syslin.h b/2.3-1/src/c/CACSD/includes/syslin.h index 7d361c97..21b23294 100644 --- a/2.3-1/src/c/CACSD/includes/syslin.h +++ b/2.3-1/src/c/CACSD/includes/syslin.h @@ -20,7 +20,7 @@ extern "C" { #endif -void dsyslina(double* A, int no_of_states, double* B, int no_of_inputs, \ +void dsyslina(char* dom, double* A, int no_of_states, double* B, int no_of_inputs, \ double* C, int no_of_outputs, double* D, double* X0, double* out); |