diff options
author | Georgey | 2017-07-05 11:43:12 +0530 |
---|---|---|
committer | Georgey | 2017-07-05 11:43:12 +0530 |
commit | 66089674c189f557b401f2ad0cf6b35354caadfa (patch) | |
tree | d174ef3f680e241e8bcbc460727c622af260b942 /sci_gateway/cpp/sci_iofunc.hpp | |
parent | 536bbd0cd8e4ca5b29d07e472e682bbb5db63a97 (diff) | |
download | FOSSEE-Optimization-toolbox-66089674c189f557b401f2ad0cf6b35354caadfa.tar.gz FOSSEE-Optimization-toolbox-66089674c189f557b401f2ad0cf6b35354caadfa.tar.bz2 FOSSEE-Optimization-toolbox-66089674c189f557b401f2ad0cf6b35354caadfa.zip |
Added gateway files
Diffstat (limited to 'sci_gateway/cpp/sci_iofunc.hpp')
-rw-r--r-- | sci_gateway/cpp/sci_iofunc.hpp | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/sci_gateway/cpp/sci_iofunc.hpp b/sci_gateway/cpp/sci_iofunc.hpp index 92f45fe..69ac07f 100644 --- a/sci_gateway/cpp/sci_iofunc.hpp +++ b/sci_gateway/cpp/sci_iofunc.hpp @@ -1,13 +1,6 @@ -// Copyright (C) 2015 - 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: Harpreet Singh and Keyur Joshi -// Organization: FOSSEE, IIT Bombay -// Email: toolbox@scilab.in +// Symphony Toolbox for Scilab +// (Declaration of) Functions for input and output from Scilab +// By Keyur Joshi #ifndef SCI_IOFUNCHEADER #define SCI_IOFUNCHEADER @@ -21,11 +14,14 @@ int getFixedSizeDoubleMatrixFromScilab(int argNum, int rows, int cols, double ** int getDoubleMatrixFromScilab(int argNum, int *rows, int *cols, double **dest); int getFixedSizeDoubleMatrixInList(int argNum, int itemPos, int rows, int cols, double **dest); int getStringFromScilab(int argNum,char** dest); +bool getFunctionFromScilab1(int n,char name[], double *x,int posFirstElementOnStackForSF,int nOfRhsOnSF,int nOfLhsOnSF, double **dest); +bool getHessFromScilab(int n,int numConstr_,char name[], double *x,double *obj,double *lambda,int posFirstElementOnStackForSF,int nOfRhsOnSF,int nOfLhsOnSF, double **dest); +int getIntMatrixFromScilab(int argNum, int *rows, int *cols, int **dest); //output int return0toScilab(); int returnDoubleToScilab(double retVal); -int returnDoubleMatrixToScilab(int itemPos, int rows, int cols,const double *dest); +int returnDoubleMatrixToScilab(int itemPos, int rows, int cols, double *dest); int returnIntegerMatrixToScilab(int itemPos, int rows, int cols, int *dest); #endif //SCI_IOFUNCHEADER |