From d5d77fe4d8f3cd14dc3083ae0e5687b4f56976e4 Mon Sep 17 00:00:00 2001 From: KRIXUS-alpha Date: Wed, 12 May 2021 14:04:10 +0530 Subject: documentation struct --- sci_gateway/cpp/sci_octave.cpp | 618 ++++++++++++++++++++++++++++------------- src/fun.cpp | 309 ++++++++++++++++----- src/fun.h | 96 +++++-- 3 files changed, 734 insertions(+), 289 deletions(-) diff --git a/sci_gateway/cpp/sci_octave.cpp b/sci_gateway/cpp/sci_octave.cpp index 5f1f685..f106be3 100644 --- a/sci_gateway/cpp/sci_octave.cpp +++ b/sci_gateway/cpp/sci_octave.cpp @@ -17,9 +17,9 @@ extern "C" { -#include -#include -#include +#include +#include +#include #include "localization.h" #include "fun.h" #include @@ -28,226 +28,472 @@ extern "C" #include "os_string.h" #include + static const char fname[] = "octave_fun"; + + /** + * @brief Function to connect to Scilab's API. + * + * This function will get Data from Scilab, proccess the data + * in Octave then return the output back to Scilab using the + * API. + * + * @param env Scialb env + * @param nin[in] Number of input arguments + * @param in[in] Input Parameters + * @param nopt[in] Number of optional parameters + * @param opt[in] Optional parameters + * @param nout[out] Number of expected output parametets + * @param out[out] Array for output data + * @return int + */ + int sci_octave_fun(scilabEnv env, int nin, scilabVar *in, int nopt, scilabOpt *opt, int nout, scilabVar *out) - -static const char fname[] = "octave_fun"; -int sci_octave_fun(scilabEnv env, int nin, scilabVar* in, int nopt, scilabOpt* opt, int nout, scilabVar* out) - -{ -//printf("nin: %d\n", nin); - if (nin < 2) - { - Scierror(999, _("%s: Wrong number of input arguments. Atleast %d expected.\n"), fname, 2); - return STATUS_ERROR; - } - - FUNCCALL funcall; - FUNCCALL *funptr = &funcall; - funcall.n_in_arguments = nin; - funcall.n_out_user = nout; - - FUNCARGS ins[funcall.n_in_arguments*nout]; - FUNCARGS *argptr = ins; - - int i,j; - double* d; - double* rd = NULL;; - double* cd = NULL;; - int size; - char str[20]; - char* c; - double* n = NULL; - int row = 0; - int col = 0; - double* in_real; - double* in_img; - - for(i=0;i #include #include +#include #include "fun.h" extern "C" { + /*! + * \brief Function to Interact with Octave's API. + * + * This Function will be communicating with Octave to access it's function. + */ int fun(FUNCARGS *inp, FUNCCALL *funcall) { - static octave::interpreter interpreter; + static octave::interpreter interpreter; bool status = interpreter.initialized(); - - if(status==false) + // Check octave interpreter loaded + if (status == false) { - interpreter.initialize (); - int status_exec = interpreter.execute (); + interpreter.initialize(); + int status_exec = interpreter.execute(); if (status_exec != 0) { std::cerr << "creating embedded Octave interpreter failed!" - << std::endl; + << std::endl; } } - + try - { + { octave_value_list in; unsigned int k; int l; int str_count = 0; char str_fun[20]; char str_pkg[20]; - int pkg=0; + int pkg = 0; int nouts; - for(l=0;ln_in_arguments;l++) + // Format the input data values into data type acceptable by Octave + for (l = 0; l < funcall->n_in_arguments; l++) { - if(inp[l].type==TYPE_DOUBLE) + //check if Input type is Double + if (inp[l].type == TYPE_DOUBLE) { - if(inp[l].is_in_cmplx==1) + if (inp[l].is_in_cmplx == 1) { - ComplexMatrix matr = ComplexMatrix (inp[l].n_in_rows,inp[l].n_in_cols); - double* id_real = (double *)inp[l].in_data_real; - double* id_img = (double *)inp[l].in_data_img; - k=0; - for (int r=0;rn_out_user); - octave_value_list out = octave::feval (str_fun, in, funcall->n_out_user); - - - int row; - int col; + int row = 0; + int col = 0; nouts = out.length(); funcall->n_out_arguments = nouts; -//std::cout << "funcall->n_out_arguments is: " << funcall->n_out_arguments << '\n'; - - for( unsigned int ii = 0; ii < nouts; ii++ ) + // DEBUG // std::cout << "funcall->n_out_arguments is: " << funcall->n_out_arguments << '\n'; + // Format and set the output data values from Octave into the FUNCARGS + for (unsigned int ii = 0; ii < nouts; ii++) { - if(out(ii).iscomplex()==1) + //Format complex data + if (out(ii).iscomplex() == 1) { - inp[ii].is_out_cmplx=1; + inp[ii].is_out_cmplx = 1; //std::cout << "out "<< ii<< " is complex" << '\n'; ComplexMatrix cmOut(out(ii).complex_matrix_value()); //std::cout << "cmOut "<< cmOut << '\n'; @@ -136,54 +203,144 @@ extern "C" col = cmOut.columns(); inp[ii].n_out_rows = row; inp[ii].n_out_cols = col; - k=0; - inp[ii].out_data_real = malloc(sizeof(double)*(row*col)); - inp[ii].out_data_img = malloc(sizeof(double)*(row*col)); - double* rd = (double *)inp[ii].out_data_real; - double* cd = (double *)inp[ii].out_data_img; - for(unsigned int i=0;i
Here are the classes, structs, unions and interfaces with brief descriptions:
- - + + +
 CFUNCARGS
 CFUNCCALL
 CFUNCARGSStruct used to send/receive Scilab data to/from the gateway to fun.cpp API
 CFUNCCALLStruct used to call and pass the data to fun.cpp API
 CFUNCSTRUCTStruct used to pass structs to Octave from the fun library
diff --git a/doc/html/annotated_dup.js b/doc/html/annotated_dup.js index 4b03e98..3277837 100644 --- a/doc/html/annotated_dup.js +++ b/doc/html/annotated_dup.js @@ -1,5 +1,6 @@ var annotated_dup = [ [ "FUNCARGS", "struct_f_u_n_c_a_r_g_s.html", "struct_f_u_n_c_a_r_g_s" ], - [ "FUNCCALL", "struct_f_u_n_c_c_a_l_l.html", "struct_f_u_n_c_c_a_l_l" ] + [ "FUNCCALL", "struct_f_u_n_c_c_a_l_l.html", "struct_f_u_n_c_c_a_l_l" ], + [ "FUNCSTRUCT", "struct_f_u_n_c_s_t_r_u_c_t.html", "struct_f_u_n_c_s_t_r_u_c_t" ] ]; \ No newline at end of file diff --git a/doc/html/classes.html b/doc/html/classes.html index bc39678..c180494 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -101,7 +101,7 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); }) diff --git a/doc/html/fun_8cpp.html b/doc/html/fun_8cpp.html index af883bd..9c53342 100644 --- a/doc/html/fun_8cpp.html +++ b/doc/html/fun_8cpp.html @@ -107,6 +107,7 @@ $(document).ready(function(){initNavTree('fun_8cpp.html',''); initResizable(); } #include <octave/interpreter.h>
#include <math.h>
#include <string>
+#include <cstring>
#include "fun.h"

Function to Interact with Octave's API.

+

API Function to call/receive and pass the data to fun API
+

This Function will be communicating with Octave to access it's function.

diff --git a/doc/html/functions.html b/doc/html/functions.html index ed325d0..ac8a694 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -97,6 +97,15 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
  • argument : FUNCCALL
  • +
  • cols +: FUNCSTRUCT +
  • +
  • dataImg +: FUNCSTRUCT +
  • +
  • dataReal +: FUNCSTRUCT +
  • err : FUNCCALL
  • @@ -106,12 +115,24 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
  • in_data_real : FUNCARGS
  • +
  • in_struct +: FUNCARGS +
  • is_in_cmplx : FUNCARGS
  • is_out_cmplx : FUNCARGS
  • +
  • is_out_string +: FUNCARGS +
  • +
  • is_out_struct +: FUNCARGS +
  • +
  • key +: FUNCSTRUCT +
  • n_in_arguments : FUNCCALL
  • @@ -121,6 +142,9 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
  • n_in_rows : FUNCARGS
  • +
  • n_in_struct_len +: FUNCARGS +
  • n_out_arguments : FUNCCALL
  • @@ -130,6 +154,9 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
  • n_out_rows : FUNCARGS
  • +
  • n_out_struct_len +: FUNCARGS +
  • n_out_user : FUNCCALL
  • @@ -139,8 +166,18 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
  • out_data_real : FUNCARGS
  • +
  • out_struct +: FUNCARGS +
  • +
  • rows +: FUNCSTRUCT +
  • +
  • str +: FUNCSTRUCT +
  • type : FUNCARGS +, FUNCSTRUCT
  • diff --git a/doc/html/functions_vars.html b/doc/html/functions_vars.html index 1a3de46..b3f7c1a 100644 --- a/doc/html/functions_vars.html +++ b/doc/html/functions_vars.html @@ -97,6 +97,15 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl
  • argument : FUNCCALL
  • +
  • cols +: FUNCSTRUCT +
  • +
  • dataImg +: FUNCSTRUCT +
  • +
  • dataReal +: FUNCSTRUCT +
  • err : FUNCCALL
  • @@ -106,12 +115,24 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl
  • in_data_real : FUNCARGS
  • +
  • in_struct +: FUNCARGS +
  • is_in_cmplx : FUNCARGS
  • is_out_cmplx : FUNCARGS
  • +
  • is_out_string +: FUNCARGS +
  • +
  • is_out_struct +: FUNCARGS +
  • +
  • key +: FUNCSTRUCT +
  • n_in_arguments : FUNCCALL
  • @@ -121,6 +142,9 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl
  • n_in_rows : FUNCARGS
  • +
  • n_in_struct_len +: FUNCARGS +
  • n_out_arguments : FUNCCALL
  • @@ -130,6 +154,9 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl
  • n_out_rows : FUNCARGS
  • +
  • n_out_struct_len +: FUNCARGS +
  • n_out_user : FUNCCALL
  • @@ -139,8 +166,18 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl
  • out_data_real : FUNCARGS
  • +
  • out_struct +: FUNCARGS +
  • +
  • rows +: FUNCSTRUCT +
  • +
  • str +: FUNCSTRUCT +
  • type : FUNCARGS +, FUNCSTRUCT
  • diff --git a/doc/html/globals.html b/doc/html/globals.html index 101de48..14ce5cf 100644 --- a/doc/html/globals.html +++ b/doc/html/globals.html @@ -123,12 +123,18 @@ $(document).ready(function(){initNavTree('globals.html',''); initResizable(); })
  • sci_octave_fun() : sci_octave.cpp
  • +
  • TYPE_COMPLEX +: fun.h +
  • TYPE_DOUBLE : fun.h
  • TYPE_STRING : fun.h
  • +
  • TYPE_STRUCT +: fun.h +
  • diff --git a/doc/html/globals_eval.html b/doc/html/globals_eval.html index 02707c2..289ae5d 100644 --- a/doc/html/globals_eval.html +++ b/doc/html/globals_eval.html @@ -94,12 +94,18 @@ $(document).ready(function(){initNavTree('globals_eval.html',''); initResizable(
     
    diff --git a/doc/html/libscilab__octave_8h_source.html b/doc/html/libscilab__octave_8h_source.html index 2ddf971..a3a82fb 100644 --- a/doc/html/libscilab__octave_8h_source.html +++ b/doc/html/libscilab__octave_8h_source.html @@ -106,7 +106,7 @@ $(document).ready(function(){initNavTree('libscilab__octave_8h_source.html','');
    7 
    8 #endif /* __LIBSCILAB_OCTAVE_GW_H__ */
    C_GATEWAY_PROTOTYPE(sci_octave_fun)
    -
    int sci_octave_fun(scilabEnv env, int nin, scilabVar *in, int nopt, scilabOpt *opt, int nout, scilabVar *out)
    Function to connect to Scilab's API.
    Definition: sci_octave.cpp:39
    +
    int sci_octave_fun(scilabEnv env, int nin, scilabVar *in, int nopt, scilabOpt *opt, int nout, scilabVar *out)
    Function to connect to Scilab's API.
    Definition: sci_octave.cpp:49
    diff --git a/doc/html/navtreeindex0.js b/doc/html/navtreeindex0.js index 3d78840..5e708f9 100644 --- a/doc/html/navtreeindex0.js +++ b/doc/html/navtreeindex0.js @@ -41,24 +41,34 @@ var NAVTREEINDEX0 = "sci__octave_8cpp.html":[2,0,0,0,3], "sci__octave_8cpp.html#a74f2258789a64de6417c6d8912144449":[2,0,0,0,3,0], "src_2fun_8h.html":[2,0,1,1], -"src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134":[2,0,1,1,3], -"src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c":[2,0,1,1,3,0], -"src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c":[2,0,2,0,0,0,3,0], -"src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a":[2,0,2,0,0,0,3,1], -"src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a":[2,0,1,1,3,1], -"src_2fun_8h.html#a2ca3f7142a7018d5861959828144a9e9":[2,0,1,1,2], -"src_2fun_8h.html#adda0eaf7454844236de53495b494cdd4":[2,0,1,1,4], +"src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134":[2,0,1,1,4], +"src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c":[2,0,1,1,4,0], +"src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c":[2,0,2,0,0,0,4,0], +"src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c":[2,0,1,1,4,3], +"src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c":[2,0,2,0,0,0,4,3], +"src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc":[2,0,1,1,4,1], +"src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc":[2,0,2,0,0,0,4,1], +"src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a":[2,0,1,1,4,2], +"src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a":[2,0,2,0,0,0,4,2], +"src_2fun_8h.html#a2ca3f7142a7018d5861959828144a9e9":[2,0,1,1,3], +"src_2fun_8h.html#adda0eaf7454844236de53495b494cdd4":[2,0,1,1,5], "src_2fun_8h_source.html":[2,0,1,1], "struct_f_u_n_c_a_r_g_s.html":[1,0,0], -"struct_f_u_n_c_a_r_g_s.html#a057c2aa9db10a409e7b9da3b5f0f17f2":[1,0,0,8], -"struct_f_u_n_c_a_r_g_s.html#a07cd1a0775fad3da2e3a6d3cb941d3e9":[1,0,0,6], -"struct_f_u_n_c_a_r_g_s.html#a1ab002ae3f19574b5d7e0469187501f4":[1,0,0,9], -"struct_f_u_n_c_a_r_g_s.html#a25918ade41c7afafb4a851e6845ac554":[1,0,0,3], -"struct_f_u_n_c_a_r_g_s.html#a5072b853699aed6ed5cff33a6e48b71d":[1,0,0,5], -"struct_f_u_n_c_a_r_g_s.html#a57dd8f6ba533785f3c654289054a9d37":[1,0,0,4], -"struct_f_u_n_c_a_r_g_s.html#a580ae591432835016133e2ada44be2c9":[1,0,0,10], -"struct_f_u_n_c_a_r_g_s.html#a6993c7529d472e393bf6d8b62eee4eb9":[1,0,0,2], -"struct_f_u_n_c_a_r_g_s.html#accf1038c5390a90bd8465916452918cc":[1,0,0,7], +"struct_f_u_n_c_a_r_g_s.html#a057c2aa9db10a409e7b9da3b5f0f17f2":[1,0,0,13], +"struct_f_u_n_c_a_r_g_s.html#a07cd1a0775fad3da2e3a6d3cb941d3e9":[1,0,0,10], +"struct_f_u_n_c_a_r_g_s.html#a1ab002ae3f19574b5d7e0469187501f4":[1,0,0,14], +"struct_f_u_n_c_a_r_g_s.html#a23897aefce90b1a055e408ef209daab6":[1,0,0,6], +"struct_f_u_n_c_a_r_g_s.html#a25918ade41c7afafb4a851e6845ac554":[1,0,0,4], +"struct_f_u_n_c_a_r_g_s.html#a3f38c9b21450c6842913df42db54ae4d":[1,0,0,9], +"struct_f_u_n_c_a_r_g_s.html#a418164a53b8efbfe39439fd7ebe52172":[1,0,0,12], +"struct_f_u_n_c_a_r_g_s.html#a5072b853699aed6ed5cff33a6e48b71d":[1,0,0,8], +"struct_f_u_n_c_a_r_g_s.html#a57dd8f6ba533785f3c654289054a9d37":[1,0,0,7], +"struct_f_u_n_c_a_r_g_s.html#a580ae591432835016133e2ada44be2c9":[1,0,0,16], +"struct_f_u_n_c_a_r_g_s.html#a5e7fbc7ebf438985fcc91b800a67240e":[1,0,0,5], +"struct_f_u_n_c_a_r_g_s.html#a6993c7529d472e393bf6d8b62eee4eb9":[1,0,0,3], +"struct_f_u_n_c_a_r_g_s.html#aabfc4b5433234d1272a8db4a1531ba79":[1,0,0,2], +"struct_f_u_n_c_a_r_g_s.html#abb34bfaef96a2e29c65591046c504754":[1,0,0,15], +"struct_f_u_n_c_a_r_g_s.html#accf1038c5390a90bd8465916452918cc":[1,0,0,11], "struct_f_u_n_c_a_r_g_s.html#aeea2f16c973c70f31ac07d234d509161":[1,0,0,0], "struct_f_u_n_c_a_r_g_s.html#afb520ee91cd773811ae5223113c8a82d":[1,0,0,1], "struct_f_u_n_c_c_a_l_l.html":[1,0,1], @@ -67,13 +77,25 @@ var NAVTREEINDEX0 = "struct_f_u_n_c_c_a_l_l.html#a6ae4ef88bdc4be97e5363448f9522beb":[1,0,1,0], "struct_f_u_n_c_c_a_l_l.html#a964c4a02c04884e73bd261aa10180d4e":[1,0,1,4], "struct_f_u_n_c_c_a_l_l.html#afbac69a2aa8ae198e46614a2e1228a56":[1,0,1,1], +"struct_f_u_n_c_s_t_r_u_c_t.html":[1,0,2], +"struct_f_u_n_c_s_t_r_u_c_t.html#a03c3251e6292eeca88505406761e4fd7":[1,0,2,6], +"struct_f_u_n_c_s_t_r_u_c_t.html#a175d20292e70fd1fb89e40d6d128653d":[1,0,2,5], +"struct_f_u_n_c_s_t_r_u_c_t.html#a7512f24fd057d4d93074e9a5c7951157":[1,0,2,4], +"struct_f_u_n_c_s_t_r_u_c_t.html#a91ce1300dd1b9c3b18ac38c34171d679":[1,0,2,2], +"struct_f_u_n_c_s_t_r_u_c_t.html#ad40fd4328e821e9eaa553bbdf5c83bba":[1,0,2,0], +"struct_f_u_n_c_s_t_r_u_c_t.html#ae298630243ee8fadf8503dd4fd81f52b":[1,0,2,3], +"struct_f_u_n_c_s_t_r_u_c_t.html#ae7fbe0037ac898a607fe3648afa61be2":[1,0,2,1], "thirdparty_2linux_2include_2fun_8h.html":[2,0,2,0,0,0], -"thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134":[2,0,2,0,0,0,3], -"thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c":[2,0,2,0,0,0,3,2], -"thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c":[2,0,1,1,3,2], -"thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a":[2,0,1,1,3,3], -"thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a":[2,0,2,0,0,0,3,3], -"thirdparty_2linux_2include_2fun_8h.html#a2ca3f7142a7018d5861959828144a9e9":[2,0,2,0,0,0,2], -"thirdparty_2linux_2include_2fun_8h.html#adda0eaf7454844236de53495b494cdd4":[2,0,2,0,0,0,4], +"thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134":[2,0,2,0,0,0,4], +"thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c":[2,0,2,0,0,0,4,4], +"thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c":[2,0,1,1,4,4], +"thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c":[2,0,1,1,4,7], +"thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c":[2,0,2,0,0,0,4,7], +"thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc":[2,0,2,0,0,0,4,5], +"thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc":[2,0,1,1,4,5], +"thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a":[2,0,2,0,0,0,4,6], +"thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a":[2,0,1,1,4,6], +"thirdparty_2linux_2include_2fun_8h.html#a2ca3f7142a7018d5861959828144a9e9":[2,0,2,0,0,0,3], +"thirdparty_2linux_2include_2fun_8h.html#adda0eaf7454844236de53495b494cdd4":[2,0,2,0,0,0,5], "thirdparty_2linux_2include_2fun_8h_source.html":[2,0,2,0,0,0] }; diff --git a/doc/html/sci__octave_8cpp.html b/doc/html/sci__octave_8cpp.html index 5982a0f..0e451fa 100644 --- a/doc/html/sci__octave_8cpp.html +++ b/doc/html/sci__octave_8cpp.html @@ -179,7 +179,20 @@ Functions

    Function to connect to Scilab's API.

    -

    This function will get Data from Scilab, proccess the data in Octave then return the output back to Scilab using the API.

    +

    This function will get Data from Scilab, proccess the data in Octave then return the output back to Scilab using the API.

    +
    Parameters
    +

    @@ -143,6 +144,8 @@ Functions

    + + + + + + + +
    envScialb env
    nin[in]Number of input arguments
    in[in]Input Parameters
    nopt[in]Number of optional parameters
    opt[in]Optional parameters
    nout[out]Number of expected output parametets
    out[out]Array for output data
    + + +
    Returns
    int
    diff --git a/doc/html/search/all_1.js b/doc/html/search/all_1.js index 2840ba8..46574a0 100644 --- a/doc/html/search/all_1.js +++ b/doc/html/search/all_1.js @@ -1,4 +1,5 @@ var searchData= [ - ['c_5fgateway_5fprototype_1',['C_GATEWAY_PROTOTYPE',['../libscilab__octave_8h.html#a40fa0a0ebe5ca7163a74872e50cc4f13',1,'libscilab_octave.h']]] + ['c_5fgateway_5fprototype_1',['C_GATEWAY_PROTOTYPE',['../libscilab__octave_8h.html#a40fa0a0ebe5ca7163a74872e50cc4f13',1,'libscilab_octave.h']]], + ['cols_2',['cols',['../struct_f_u_n_c_s_t_r_u_c_t.html#ad40fd4328e821e9eaa553bbdf5c83bba',1,'FUNCSTRUCT']]] ]; diff --git a/doc/html/search/all_2.js b/doc/html/search/all_2.js index d93367e..728a5d5 100644 --- a/doc/html/search/all_2.js +++ b/doc/html/search/all_2.js @@ -1,4 +1,5 @@ var searchData= [ - ['err_2',['err',['../struct_f_u_n_c_c_a_l_l.html#afbac69a2aa8ae198e46614a2e1228a56',1,'FUNCCALL']]] + ['dataimg_3',['dataImg',['../struct_f_u_n_c_s_t_r_u_c_t.html#ae7fbe0037ac898a607fe3648afa61be2',1,'FUNCSTRUCT']]], + ['datareal_4',['dataReal',['../struct_f_u_n_c_s_t_r_u_c_t.html#a91ce1300dd1b9c3b18ac38c34171d679',1,'FUNCSTRUCT']]] ]; diff --git a/doc/html/search/all_3.js b/doc/html/search/all_3.js index 9d5e60c..d0782b8 100644 --- a/doc/html/search/all_3.js +++ b/doc/html/search/all_3.js @@ -1,11 +1,4 @@ var searchData= [ - ['fossee_20scilab_20octave_20toolbox_3',['FOSSEE Scilab Octave Toolbox',['../md__r_e_a_d_m_e.html',1,'']]], - ['fun_4',['fun',['../fun_8cpp.html#ab2457155d6e8298bdfd7bae4ffd01f80',1,'fun(FUNCARGS *inp, FUNCCALL *funcall): fun.cpp'],['../src_2fun_8h.html#adda0eaf7454844236de53495b494cdd4',1,'fun(FUNCARGS *arr, FUNCCALL *call): fun.cpp'],['../thirdparty_2linux_2include_2fun_8h.html#adda0eaf7454844236de53495b494cdd4',1,'fun(FUNCARGS *arr, FUNCCALL *call): fun.cpp']]], - ['fun_2ecpp_5',['fun.cpp',['../fun_8cpp.html',1,'']]], - ['fun_2eh_6',['fun.h',['../src_2fun_8h.html',1,'(Global Namespace)'],['../thirdparty_2linux_2include_2fun_8h.html',1,'(Global Namespace)']]], - ['fun_5fh_5f_5f_7',['fun_h__',['../src_2fun_8h.html#a2ca3f7142a7018d5861959828144a9e9',1,'fun_h__(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a2ca3f7142a7018d5861959828144a9e9',1,'fun_h__(): fun.h']]], - ['funcargs_8',['FUNCARGS',['../struct_f_u_n_c_a_r_g_s.html',1,'']]], - ['funccall_9',['FUNCCALL',['../struct_f_u_n_c_c_a_l_l.html',1,'']]], - ['functype_10',['FUNCTYPE',['../src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134',1,'FUNCTYPE(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134',1,'FUNCTYPE(): fun.h']]] + ['err_5',['err',['../struct_f_u_n_c_c_a_l_l.html#afbac69a2aa8ae198e46614a2e1228a56',1,'FUNCCALL']]] ]; diff --git a/doc/html/search/all_4.js b/doc/html/search/all_4.js index 23f9cdd..f0ea9e6 100644 --- a/doc/html/search/all_4.js +++ b/doc/html/search/all_4.js @@ -1,7 +1,12 @@ var searchData= [ - ['in_5fdata_5fimg_11',['in_data_img',['../struct_f_u_n_c_a_r_g_s.html#aeea2f16c973c70f31ac07d234d509161',1,'FUNCARGS']]], - ['in_5fdata_5freal_12',['in_data_real',['../struct_f_u_n_c_a_r_g_s.html#afb520ee91cd773811ae5223113c8a82d',1,'FUNCARGS']]], - ['is_5fin_5fcmplx_13',['is_in_cmplx',['../struct_f_u_n_c_a_r_g_s.html#a6993c7529d472e393bf6d8b62eee4eb9',1,'FUNCARGS']]], - ['is_5fout_5fcmplx_14',['is_out_cmplx',['../struct_f_u_n_c_a_r_g_s.html#a25918ade41c7afafb4a851e6845ac554',1,'FUNCARGS']]] + ['fossee_20scilab_20octave_20toolbox_6',['FOSSEE Scilab Octave Toolbox',['../md__r_e_a_d_m_e.html',1,'']]], + ['fun_7',['fun',['../fun_8cpp.html#ab2457155d6e8298bdfd7bae4ffd01f80',1,'fun(FUNCARGS *inp, FUNCCALL *funcall): fun.cpp'],['../src_2fun_8h.html#adda0eaf7454844236de53495b494cdd4',1,'fun(FUNCARGS *arr, FUNCCALL *call): fun.cpp'],['../thirdparty_2linux_2include_2fun_8h.html#adda0eaf7454844236de53495b494cdd4',1,'fun(FUNCARGS *arr, FUNCCALL *call): fun.cpp']]], + ['fun_2ecpp_8',['fun.cpp',['../fun_8cpp.html',1,'']]], + ['fun_2eh_9',['fun.h',['../src_2fun_8h.html',1,'(Global Namespace)'],['../thirdparty_2linux_2include_2fun_8h.html',1,'(Global Namespace)']]], + ['fun_5fh_5f_5f_10',['fun_h__',['../src_2fun_8h.html#a2ca3f7142a7018d5861959828144a9e9',1,'fun_h__(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a2ca3f7142a7018d5861959828144a9e9',1,'fun_h__(): fun.h']]], + ['funcargs_11',['FUNCARGS',['../struct_f_u_n_c_a_r_g_s.html',1,'']]], + ['funccall_12',['FUNCCALL',['../struct_f_u_n_c_c_a_l_l.html',1,'']]], + ['funcstruct_13',['FUNCSTRUCT',['../struct_f_u_n_c_s_t_r_u_c_t.html',1,'']]], + ['functype_14',['FUNCTYPE',['../src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134',1,'FUNCTYPE(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134',1,'FUNCTYPE(): fun.h']]] ]; diff --git a/doc/html/search/all_5.js b/doc/html/search/all_5.js index 74c21f1..4f08ec3 100644 --- a/doc/html/search/all_5.js +++ b/doc/html/search/all_5.js @@ -1,8 +1,10 @@ var searchData= [ - ['libscilab_5foctave_15',['libscilab_octave',['../libscilab__octave_8cpp.html#a28af9c33fa0605bbbc3262ce05599088',1,'libscilab_octave(wchar_t *_pwstFuncName): libscilab_octave.cpp'],['../libscilab__octave_8hxx.html#a3a8eefd11a5b098a0ab25d9804c5e414',1,'libscilab_octave(wchar_t *_pwstFuncName): libscilab_octave.cpp']]], - ['libscilab_5foctave_2ecpp_16',['libscilab_octave.cpp',['../libscilab__octave_8cpp.html',1,'']]], - ['libscilab_5foctave_2eh_17',['libscilab_octave.h',['../libscilab__octave_8h.html',1,'']]], - ['libscilab_5foctave_2ehxx_18',['libscilab_octave.hxx',['../libscilab__octave_8hxx.html',1,'']]], - ['libscilab_5foctave_5fgw_5fimpexp_19',['LIBSCILAB_OCTAVE_GW_IMPEXP',['../libscilab__octave_8hxx.html#a11d06bc89bfdb33bede172eedbd6f551',1,'libscilab_octave.hxx']]] + ['in_5fdata_5fimg_15',['in_data_img',['../struct_f_u_n_c_a_r_g_s.html#aeea2f16c973c70f31ac07d234d509161',1,'FUNCARGS']]], + ['in_5fdata_5freal_16',['in_data_real',['../struct_f_u_n_c_a_r_g_s.html#afb520ee91cd773811ae5223113c8a82d',1,'FUNCARGS']]], + ['in_5fstruct_17',['in_struct',['../struct_f_u_n_c_a_r_g_s.html#aabfc4b5433234d1272a8db4a1531ba79',1,'FUNCARGS']]], + ['is_5fin_5fcmplx_18',['is_in_cmplx',['../struct_f_u_n_c_a_r_g_s.html#a6993c7529d472e393bf6d8b62eee4eb9',1,'FUNCARGS']]], + ['is_5fout_5fcmplx_19',['is_out_cmplx',['../struct_f_u_n_c_a_r_g_s.html#a25918ade41c7afafb4a851e6845ac554',1,'FUNCARGS']]], + ['is_5fout_5fstring_20',['is_out_string',['../struct_f_u_n_c_a_r_g_s.html#a5e7fbc7ebf438985fcc91b800a67240e',1,'FUNCARGS']]], + ['is_5fout_5fstruct_21',['is_out_struct',['../struct_f_u_n_c_a_r_g_s.html#a23897aefce90b1a055e408ef209daab6',1,'FUNCARGS']]] ]; diff --git a/doc/html/search/all_6.js b/doc/html/search/all_6.js index 89d6701..82e5aae 100644 --- a/doc/html/search/all_6.js +++ b/doc/html/search/all_6.js @@ -1,6 +1,4 @@ var searchData= [ - ['main_20',['main',['../main_8cpp.html#a840291bc02cba5474a4cb46a9b9566fe',1,'main.cpp']]], - ['main_2ecpp_21',['main.cpp',['../main_8cpp.html',1,'']]], - ['module_5fname_22',['MODULE_NAME',['../libscilab__octave_8cpp.html#a14ded244c47bbba850a8a4be6d16c7e3',1,'libscilab_octave.cpp']]] + ['key_22',['key',['../struct_f_u_n_c_s_t_r_u_c_t.html#ae298630243ee8fadf8503dd4fd81f52b',1,'FUNCSTRUCT']]] ]; diff --git a/doc/html/search/all_7.js b/doc/html/search/all_7.js index 4a0f08b..6eb3738 100644 --- a/doc/html/search/all_7.js +++ b/doc/html/search/all_7.js @@ -1,10 +1,8 @@ var searchData= [ - ['n_5fin_5farguments_23',['n_in_arguments',['../struct_f_u_n_c_c_a_l_l.html#a15b282cd4eb7e33fe14aaea926b1a98a',1,'FUNCCALL']]], - ['n_5fin_5fcols_24',['n_in_cols',['../struct_f_u_n_c_a_r_g_s.html#a57dd8f6ba533785f3c654289054a9d37',1,'FUNCARGS']]], - ['n_5fin_5frows_25',['n_in_rows',['../struct_f_u_n_c_a_r_g_s.html#a5072b853699aed6ed5cff33a6e48b71d',1,'FUNCARGS']]], - ['n_5fout_5farguments_26',['n_out_arguments',['../struct_f_u_n_c_c_a_l_l.html#a4c3ce57d43862cda7780e020e6ce2349',1,'FUNCCALL']]], - ['n_5fout_5fcols_27',['n_out_cols',['../struct_f_u_n_c_a_r_g_s.html#a07cd1a0775fad3da2e3a6d3cb941d3e9',1,'FUNCARGS']]], - ['n_5fout_5frows_28',['n_out_rows',['../struct_f_u_n_c_a_r_g_s.html#accf1038c5390a90bd8465916452918cc',1,'FUNCARGS']]], - ['n_5fout_5fuser_29',['n_out_user',['../struct_f_u_n_c_c_a_l_l.html#a964c4a02c04884e73bd261aa10180d4e',1,'FUNCCALL']]] + ['libscilab_5foctave_23',['libscilab_octave',['../libscilab__octave_8cpp.html#a28af9c33fa0605bbbc3262ce05599088',1,'libscilab_octave(wchar_t *_pwstFuncName): libscilab_octave.cpp'],['../libscilab__octave_8hxx.html#a3a8eefd11a5b098a0ab25d9804c5e414',1,'libscilab_octave(wchar_t *_pwstFuncName): libscilab_octave.cpp']]], + ['libscilab_5foctave_2ecpp_24',['libscilab_octave.cpp',['../libscilab__octave_8cpp.html',1,'']]], + ['libscilab_5foctave_2eh_25',['libscilab_octave.h',['../libscilab__octave_8h.html',1,'']]], + ['libscilab_5foctave_2ehxx_26',['libscilab_octave.hxx',['../libscilab__octave_8hxx.html',1,'']]], + ['libscilab_5foctave_5fgw_5fimpexp_27',['LIBSCILAB_OCTAVE_GW_IMPEXP',['../libscilab__octave_8hxx.html#a11d06bc89bfdb33bede172eedbd6f551',1,'libscilab_octave.hxx']]] ]; diff --git a/doc/html/search/all_8.js b/doc/html/search/all_8.js index 0e92a00..7dcde19 100644 --- a/doc/html/search/all_8.js +++ b/doc/html/search/all_8.js @@ -1,5 +1,6 @@ var searchData= [ - ['out_5fdata_5fimg_30',['out_data_img',['../struct_f_u_n_c_a_r_g_s.html#a057c2aa9db10a409e7b9da3b5f0f17f2',1,'FUNCARGS']]], - ['out_5fdata_5freal_31',['out_data_real',['../struct_f_u_n_c_a_r_g_s.html#a1ab002ae3f19574b5d7e0469187501f4',1,'FUNCARGS']]] + ['main_28',['main',['../main_8cpp.html#a840291bc02cba5474a4cb46a9b9566fe',1,'main.cpp']]], + ['main_2ecpp_29',['main.cpp',['../main_8cpp.html',1,'']]], + ['module_5fname_30',['MODULE_NAME',['../libscilab__octave_8cpp.html#a14ded244c47bbba850a8a4be6d16c7e3',1,'libscilab_octave.cpp']]] ]; diff --git a/doc/html/search/all_9.js b/doc/html/search/all_9.js index c1f6619..9a0658b 100644 --- a/doc/html/search/all_9.js +++ b/doc/html/search/all_9.js @@ -1,4 +1,12 @@ var searchData= [ - ['readme_2emd_32',['README.md',['../_r_e_a_d_m_e_8md.html',1,'']]] + ['n_5fin_5farguments_31',['n_in_arguments',['../struct_f_u_n_c_c_a_l_l.html#a15b282cd4eb7e33fe14aaea926b1a98a',1,'FUNCCALL']]], + ['n_5fin_5fcols_32',['n_in_cols',['../struct_f_u_n_c_a_r_g_s.html#a57dd8f6ba533785f3c654289054a9d37',1,'FUNCARGS']]], + ['n_5fin_5frows_33',['n_in_rows',['../struct_f_u_n_c_a_r_g_s.html#a5072b853699aed6ed5cff33a6e48b71d',1,'FUNCARGS']]], + ['n_5fin_5fstruct_5flen_34',['n_in_struct_len',['../struct_f_u_n_c_a_r_g_s.html#a3f38c9b21450c6842913df42db54ae4d',1,'FUNCARGS']]], + ['n_5fout_5farguments_35',['n_out_arguments',['../struct_f_u_n_c_c_a_l_l.html#a4c3ce57d43862cda7780e020e6ce2349',1,'FUNCCALL']]], + ['n_5fout_5fcols_36',['n_out_cols',['../struct_f_u_n_c_a_r_g_s.html#a07cd1a0775fad3da2e3a6d3cb941d3e9',1,'FUNCARGS']]], + ['n_5fout_5frows_37',['n_out_rows',['../struct_f_u_n_c_a_r_g_s.html#accf1038c5390a90bd8465916452918cc',1,'FUNCARGS']]], + ['n_5fout_5fstruct_5flen_38',['n_out_struct_len',['../struct_f_u_n_c_a_r_g_s.html#a418164a53b8efbfe39439fd7ebe52172',1,'FUNCARGS']]], + ['n_5fout_5fuser_39',['n_out_user',['../struct_f_u_n_c_c_a_l_l.html#a964c4a02c04884e73bd261aa10180d4e',1,'FUNCCALL']]] ]; diff --git a/doc/html/search/all_a.js b/doc/html/search/all_a.js index b360a8a..e1dd53e 100644 --- a/doc/html/search/all_a.js +++ b/doc/html/search/all_a.js @@ -1,5 +1,6 @@ var searchData= [ - ['sci_5foctave_2ecpp_33',['sci_octave.cpp',['../sci__octave_8cpp.html',1,'']]], - ['sci_5foctave_5ffun_34',['sci_octave_fun',['../sci__octave_8cpp.html#a74f2258789a64de6417c6d8912144449',1,'sci_octave.cpp']]] + ['out_5fdata_5fimg_40',['out_data_img',['../struct_f_u_n_c_a_r_g_s.html#a057c2aa9db10a409e7b9da3b5f0f17f2',1,'FUNCARGS']]], + ['out_5fdata_5freal_41',['out_data_real',['../struct_f_u_n_c_a_r_g_s.html#a1ab002ae3f19574b5d7e0469187501f4',1,'FUNCARGS']]], + ['out_5fstruct_42',['out_struct',['../struct_f_u_n_c_a_r_g_s.html#abb34bfaef96a2e29c65591046c504754',1,'FUNCARGS']]] ]; diff --git a/doc/html/search/all_b.js b/doc/html/search/all_b.js index a081ab3..dff8254 100644 --- a/doc/html/search/all_b.js +++ b/doc/html/search/all_b.js @@ -1,6 +1,5 @@ var searchData= [ - ['type_35',['type',['../struct_f_u_n_c_a_r_g_s.html#a580ae591432835016133e2ada44be2c9',1,'FUNCARGS']]], - ['type_5fdouble_36',['TYPE_DOUBLE',['../src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c',1,'TYPE_DOUBLE(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c',1,'TYPE_DOUBLE(): fun.h']]], - ['type_5fstring_37',['TYPE_STRING',['../src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a',1,'TYPE_STRING(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a',1,'TYPE_STRING(): fun.h']]] + ['readme_2emd_43',['README.md',['../_r_e_a_d_m_e_8md.html',1,'']]], + ['rows_44',['rows',['../struct_f_u_n_c_s_t_r_u_c_t.html#a7512f24fd057d4d93074e9a5c7951157',1,'FUNCSTRUCT']]] ]; diff --git a/doc/html/search/all_c.html b/doc/html/search/all_c.html new file mode 100644 index 0000000..3dd5af0 --- /dev/null +++ b/doc/html/search/all_c.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/doc/html/search/all_c.js b/doc/html/search/all_c.js new file mode 100644 index 0000000..466618c --- /dev/null +++ b/doc/html/search/all_c.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['sci_5foctave_2ecpp_45',['sci_octave.cpp',['../sci__octave_8cpp.html',1,'']]], + ['sci_5foctave_5ffun_46',['sci_octave_fun',['../sci__octave_8cpp.html#a74f2258789a64de6417c6d8912144449',1,'sci_octave.cpp']]], + ['str_47',['str',['../struct_f_u_n_c_s_t_r_u_c_t.html#a175d20292e70fd1fb89e40d6d128653d',1,'FUNCSTRUCT']]] +]; diff --git a/doc/html/search/all_d.html b/doc/html/search/all_d.html new file mode 100644 index 0000000..af7f2f0 --- /dev/null +++ b/doc/html/search/all_d.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/doc/html/search/all_d.js b/doc/html/search/all_d.js new file mode 100644 index 0000000..a2610ac --- /dev/null +++ b/doc/html/search/all_d.js @@ -0,0 +1,8 @@ +var searchData= +[ + ['type_48',['type',['../struct_f_u_n_c_s_t_r_u_c_t.html#a03c3251e6292eeca88505406761e4fd7',1,'FUNCSTRUCT::type()'],['../struct_f_u_n_c_a_r_g_s.html#a580ae591432835016133e2ada44be2c9',1,'FUNCARGS::type()']]], + ['type_5fcomplex_49',['TYPE_COMPLEX',['../src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc',1,'TYPE_COMPLEX(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc',1,'TYPE_COMPLEX(): fun.h']]], + ['type_5fdouble_50',['TYPE_DOUBLE',['../src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c',1,'TYPE_DOUBLE(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c',1,'TYPE_DOUBLE(): fun.h']]], + ['type_5fstring_51',['TYPE_STRING',['../src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a',1,'TYPE_STRING(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a',1,'TYPE_STRING(): fun.h']]], + ['type_5fstruct_52',['TYPE_STRUCT',['../src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c',1,'TYPE_STRUCT(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c',1,'TYPE_STRUCT(): fun.h']]] +]; diff --git a/doc/html/search/classes_0.js b/doc/html/search/classes_0.js index 8138146..7acbbef 100644 --- a/doc/html/search/classes_0.js +++ b/doc/html/search/classes_0.js @@ -1,5 +1,6 @@ var searchData= [ - ['funcargs_38',['FUNCARGS',['../struct_f_u_n_c_a_r_g_s.html',1,'']]], - ['funccall_39',['FUNCCALL',['../struct_f_u_n_c_c_a_l_l.html',1,'']]] + ['funcargs_53',['FUNCARGS',['../struct_f_u_n_c_a_r_g_s.html',1,'']]], + ['funccall_54',['FUNCCALL',['../struct_f_u_n_c_c_a_l_l.html',1,'']]], + ['funcstruct_55',['FUNCSTRUCT',['../struct_f_u_n_c_s_t_r_u_c_t.html',1,'']]] ]; diff --git a/doc/html/search/defines_0.js b/doc/html/search/defines_0.js index 564b41b..2ff58b4 100644 --- a/doc/html/search/defines_0.js +++ b/doc/html/search/defines_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['fun_5fh_5f_5f_72',['fun_h__',['../src_2fun_8h.html#a2ca3f7142a7018d5861959828144a9e9',1,'fun_h__(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a2ca3f7142a7018d5861959828144a9e9',1,'fun_h__(): fun.h']]] + ['fun_5fh_5f_5f_102',['fun_h__',['../src_2fun_8h.html#a2ca3f7142a7018d5861959828144a9e9',1,'fun_h__(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a2ca3f7142a7018d5861959828144a9e9',1,'fun_h__(): fun.h']]] ]; diff --git a/doc/html/search/defines_1.js b/doc/html/search/defines_1.js index aaf61c8..9bcd90a 100644 --- a/doc/html/search/defines_1.js +++ b/doc/html/search/defines_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['libscilab_5foctave_5fgw_5fimpexp_73',['LIBSCILAB_OCTAVE_GW_IMPEXP',['../libscilab__octave_8hxx.html#a11d06bc89bfdb33bede172eedbd6f551',1,'libscilab_octave.hxx']]] + ['libscilab_5foctave_5fgw_5fimpexp_103',['LIBSCILAB_OCTAVE_GW_IMPEXP',['../libscilab__octave_8hxx.html#a11d06bc89bfdb33bede172eedbd6f551',1,'libscilab_octave.hxx']]] ]; diff --git a/doc/html/search/defines_2.js b/doc/html/search/defines_2.js index 62f64f4..0733878 100644 --- a/doc/html/search/defines_2.js +++ b/doc/html/search/defines_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['module_5fname_74',['MODULE_NAME',['../libscilab__octave_8cpp.html#a14ded244c47bbba850a8a4be6d16c7e3',1,'libscilab_octave.cpp']]] + ['module_5fname_104',['MODULE_NAME',['../libscilab__octave_8cpp.html#a14ded244c47bbba850a8a4be6d16c7e3',1,'libscilab_octave.cpp']]] ]; diff --git a/doc/html/search/enums_0.js b/doc/html/search/enums_0.js index 117da6d..cac93d3 100644 --- a/doc/html/search/enums_0.js +++ b/doc/html/search/enums_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['functype_69',['FUNCTYPE',['../src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134',1,'FUNCTYPE(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134',1,'FUNCTYPE(): fun.h']]] + ['functype_97',['FUNCTYPE',['../src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134',1,'FUNCTYPE(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134',1,'FUNCTYPE(): fun.h']]] ]; diff --git a/doc/html/search/enumvalues_0.js b/doc/html/search/enumvalues_0.js index ddcb412..6fbb2d9 100644 --- a/doc/html/search/enumvalues_0.js +++ b/doc/html/search/enumvalues_0.js @@ -1,5 +1,7 @@ var searchData= [ - ['type_5fdouble_70',['TYPE_DOUBLE',['../src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c',1,'TYPE_DOUBLE(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c',1,'TYPE_DOUBLE(): fun.h']]], - ['type_5fstring_71',['TYPE_STRING',['../src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a',1,'TYPE_STRING(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a',1,'TYPE_STRING(): fun.h']]] + ['type_5fcomplex_98',['TYPE_COMPLEX',['../src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc',1,'TYPE_COMPLEX(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc',1,'TYPE_COMPLEX(): fun.h']]], + ['type_5fdouble_99',['TYPE_DOUBLE',['../src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c',1,'TYPE_DOUBLE(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c',1,'TYPE_DOUBLE(): fun.h']]], + ['type_5fstring_100',['TYPE_STRING',['../src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a',1,'TYPE_STRING(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a',1,'TYPE_STRING(): fun.h']]], + ['type_5fstruct_101',['TYPE_STRUCT',['../src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c',1,'TYPE_STRUCT(): fun.h'],['../thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c',1,'TYPE_STRUCT(): fun.h']]] ]; diff --git a/doc/html/search/files_0.js b/doc/html/search/files_0.js index 5449c75..1244caa 100644 --- a/doc/html/search/files_0.js +++ b/doc/html/search/files_0.js @@ -1,5 +1,5 @@ var searchData= [ - ['fun_2ecpp_40',['fun.cpp',['../fun_8cpp.html',1,'']]], - ['fun_2eh_41',['fun.h',['../src_2fun_8h.html',1,'(Global Namespace)'],['../thirdparty_2linux_2include_2fun_8h.html',1,'(Global Namespace)']]] + ['fun_2ecpp_56',['fun.cpp',['../fun_8cpp.html',1,'']]], + ['fun_2eh_57',['fun.h',['../src_2fun_8h.html',1,'(Global Namespace)'],['../thirdparty_2linux_2include_2fun_8h.html',1,'(Global Namespace)']]] ]; diff --git a/doc/html/search/files_1.js b/doc/html/search/files_1.js index 68bc6cc..1c4cbe7 100644 --- a/doc/html/search/files_1.js +++ b/doc/html/search/files_1.js @@ -1,6 +1,6 @@ var searchData= [ - ['libscilab_5foctave_2ecpp_42',['libscilab_octave.cpp',['../libscilab__octave_8cpp.html',1,'']]], - ['libscilab_5foctave_2eh_43',['libscilab_octave.h',['../libscilab__octave_8h.html',1,'']]], - ['libscilab_5foctave_2ehxx_44',['libscilab_octave.hxx',['../libscilab__octave_8hxx.html',1,'']]] + ['libscilab_5foctave_2ecpp_58',['libscilab_octave.cpp',['../libscilab__octave_8cpp.html',1,'']]], + ['libscilab_5foctave_2eh_59',['libscilab_octave.h',['../libscilab__octave_8h.html',1,'']]], + ['libscilab_5foctave_2ehxx_60',['libscilab_octave.hxx',['../libscilab__octave_8hxx.html',1,'']]] ]; diff --git a/doc/html/search/files_2.js b/doc/html/search/files_2.js index 83bfe31..5653005 100644 --- a/doc/html/search/files_2.js +++ b/doc/html/search/files_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['main_2ecpp_45',['main.cpp',['../main_8cpp.html',1,'']]] + ['main_2ecpp_61',['main.cpp',['../main_8cpp.html',1,'']]] ]; diff --git a/doc/html/search/files_3.js b/doc/html/search/files_3.js index 58ae939..f739fe3 100644 --- a/doc/html/search/files_3.js +++ b/doc/html/search/files_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['readme_2emd_46',['README.md',['../_r_e_a_d_m_e_8md.html',1,'']]] + ['readme_2emd_62',['README.md',['../_r_e_a_d_m_e_8md.html',1,'']]] ]; diff --git a/doc/html/search/files_4.js b/doc/html/search/files_4.js index 760b06d..7912441 100644 --- a/doc/html/search/files_4.js +++ b/doc/html/search/files_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['sci_5foctave_2ecpp_47',['sci_octave.cpp',['../sci__octave_8cpp.html',1,'']]] + ['sci_5foctave_2ecpp_63',['sci_octave.cpp',['../sci__octave_8cpp.html',1,'']]] ]; diff --git a/doc/html/search/functions_0.js b/doc/html/search/functions_0.js index e602ff4..040ea0d 100644 --- a/doc/html/search/functions_0.js +++ b/doc/html/search/functions_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['c_5fgateway_5fprototype_48',['C_GATEWAY_PROTOTYPE',['../libscilab__octave_8h.html#a40fa0a0ebe5ca7163a74872e50cc4f13',1,'libscilab_octave.h']]] + ['c_5fgateway_5fprototype_64',['C_GATEWAY_PROTOTYPE',['../libscilab__octave_8h.html#a40fa0a0ebe5ca7163a74872e50cc4f13',1,'libscilab_octave.h']]] ]; diff --git a/doc/html/search/functions_1.js b/doc/html/search/functions_1.js index b030bb1..5512def 100644 --- a/doc/html/search/functions_1.js +++ b/doc/html/search/functions_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['fun_49',['fun',['../fun_8cpp.html#ab2457155d6e8298bdfd7bae4ffd01f80',1,'fun(FUNCARGS *inp, FUNCCALL *funcall): fun.cpp'],['../src_2fun_8h.html#adda0eaf7454844236de53495b494cdd4',1,'fun(FUNCARGS *arr, FUNCCALL *call): fun.cpp'],['../thirdparty_2linux_2include_2fun_8h.html#adda0eaf7454844236de53495b494cdd4',1,'fun(FUNCARGS *arr, FUNCCALL *call): fun.cpp']]] + ['fun_65',['fun',['../fun_8cpp.html#ab2457155d6e8298bdfd7bae4ffd01f80',1,'fun(FUNCARGS *inp, FUNCCALL *funcall): fun.cpp'],['../src_2fun_8h.html#adda0eaf7454844236de53495b494cdd4',1,'fun(FUNCARGS *arr, FUNCCALL *call): fun.cpp'],['../thirdparty_2linux_2include_2fun_8h.html#adda0eaf7454844236de53495b494cdd4',1,'fun(FUNCARGS *arr, FUNCCALL *call): fun.cpp']]] ]; diff --git a/doc/html/search/functions_2.js b/doc/html/search/functions_2.js index d16ca4b..910174c 100644 --- a/doc/html/search/functions_2.js +++ b/doc/html/search/functions_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['libscilab_5foctave_50',['libscilab_octave',['../libscilab__octave_8cpp.html#a28af9c33fa0605bbbc3262ce05599088',1,'libscilab_octave(wchar_t *_pwstFuncName): libscilab_octave.cpp'],['../libscilab__octave_8hxx.html#a3a8eefd11a5b098a0ab25d9804c5e414',1,'libscilab_octave(wchar_t *_pwstFuncName): libscilab_octave.cpp']]] + ['libscilab_5foctave_66',['libscilab_octave',['../libscilab__octave_8cpp.html#a28af9c33fa0605bbbc3262ce05599088',1,'libscilab_octave(wchar_t *_pwstFuncName): libscilab_octave.cpp'],['../libscilab__octave_8hxx.html#a3a8eefd11a5b098a0ab25d9804c5e414',1,'libscilab_octave(wchar_t *_pwstFuncName): libscilab_octave.cpp']]] ]; diff --git a/doc/html/search/functions_3.js b/doc/html/search/functions_3.js index 0062337..0676c89 100644 --- a/doc/html/search/functions_3.js +++ b/doc/html/search/functions_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['main_51',['main',['../main_8cpp.html#a840291bc02cba5474a4cb46a9b9566fe',1,'main.cpp']]] + ['main_67',['main',['../main_8cpp.html#a840291bc02cba5474a4cb46a9b9566fe',1,'main.cpp']]] ]; diff --git a/doc/html/search/functions_4.js b/doc/html/search/functions_4.js index f237317..6fb1442 100644 --- a/doc/html/search/functions_4.js +++ b/doc/html/search/functions_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['sci_5foctave_5ffun_52',['sci_octave_fun',['../sci__octave_8cpp.html#a74f2258789a64de6417c6d8912144449',1,'sci_octave.cpp']]] + ['sci_5foctave_5ffun_68',['sci_octave_fun',['../sci__octave_8cpp.html#a74f2258789a64de6417c6d8912144449',1,'sci_octave.cpp']]] ]; diff --git a/doc/html/search/pages_0.js b/doc/html/search/pages_0.js index 6e65cb1..3d9d482 100644 --- a/doc/html/search/pages_0.js +++ b/doc/html/search/pages_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['fossee_20scilab_20octave_20toolbox_75',['FOSSEE Scilab Octave Toolbox',['../md__r_e_a_d_m_e.html',1,'']]] + ['fossee_20scilab_20octave_20toolbox_105',['FOSSEE Scilab Octave Toolbox',['../md__r_e_a_d_m_e.html',1,'']]] ]; diff --git a/doc/html/search/searchdata.js b/doc/html/search/searchdata.js index 0211c00..962eb6d 100644 --- a/doc/html/search/searchdata.js +++ b/doc/html/search/searchdata.js @@ -1,10 +1,10 @@ var indexSectionsWithContent = { - 0: "acefilmnorst", + 0: "acdefiklmnorst", 1: "f", 2: "flmrs", 3: "cflms", - 4: "aeinot", + 4: "acdeiknorst", 5: "f", 6: "t", 7: "flm", diff --git a/doc/html/search/variables_0.js b/doc/html/search/variables_0.js index 49062cf..76c3e1c 100644 --- a/doc/html/search/variables_0.js +++ b/doc/html/search/variables_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['argument_53',['argument',['../struct_f_u_n_c_c_a_l_l.html#a6ae4ef88bdc4be97e5363448f9522beb',1,'FUNCCALL']]] + ['argument_69',['argument',['../struct_f_u_n_c_c_a_l_l.html#a6ae4ef88bdc4be97e5363448f9522beb',1,'FUNCCALL']]] ]; diff --git a/doc/html/search/variables_1.js b/doc/html/search/variables_1.js index 362bdf4..d30d1d0 100644 --- a/doc/html/search/variables_1.js +++ b/doc/html/search/variables_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['err_54',['err',['../struct_f_u_n_c_c_a_l_l.html#afbac69a2aa8ae198e46614a2e1228a56',1,'FUNCCALL']]] + ['cols_70',['cols',['../struct_f_u_n_c_s_t_r_u_c_t.html#ad40fd4328e821e9eaa553bbdf5c83bba',1,'FUNCSTRUCT']]] ]; diff --git a/doc/html/search/variables_2.js b/doc/html/search/variables_2.js index 604566d..fda2d99 100644 --- a/doc/html/search/variables_2.js +++ b/doc/html/search/variables_2.js @@ -1,7 +1,5 @@ var searchData= [ - ['in_5fdata_5fimg_55',['in_data_img',['../struct_f_u_n_c_a_r_g_s.html#aeea2f16c973c70f31ac07d234d509161',1,'FUNCARGS']]], - ['in_5fdata_5freal_56',['in_data_real',['../struct_f_u_n_c_a_r_g_s.html#afb520ee91cd773811ae5223113c8a82d',1,'FUNCARGS']]], - ['is_5fin_5fcmplx_57',['is_in_cmplx',['../struct_f_u_n_c_a_r_g_s.html#a6993c7529d472e393bf6d8b62eee4eb9',1,'FUNCARGS']]], - ['is_5fout_5fcmplx_58',['is_out_cmplx',['../struct_f_u_n_c_a_r_g_s.html#a25918ade41c7afafb4a851e6845ac554',1,'FUNCARGS']]] + ['dataimg_71',['dataImg',['../struct_f_u_n_c_s_t_r_u_c_t.html#ae7fbe0037ac898a607fe3648afa61be2',1,'FUNCSTRUCT']]], + ['datareal_72',['dataReal',['../struct_f_u_n_c_s_t_r_u_c_t.html#a91ce1300dd1b9c3b18ac38c34171d679',1,'FUNCSTRUCT']]] ]; diff --git a/doc/html/search/variables_3.js b/doc/html/search/variables_3.js index 4f36b6d..7d83c31 100644 --- a/doc/html/search/variables_3.js +++ b/doc/html/search/variables_3.js @@ -1,10 +1,4 @@ var searchData= [ - ['n_5fin_5farguments_59',['n_in_arguments',['../struct_f_u_n_c_c_a_l_l.html#a15b282cd4eb7e33fe14aaea926b1a98a',1,'FUNCCALL']]], - ['n_5fin_5fcols_60',['n_in_cols',['../struct_f_u_n_c_a_r_g_s.html#a57dd8f6ba533785f3c654289054a9d37',1,'FUNCARGS']]], - ['n_5fin_5frows_61',['n_in_rows',['../struct_f_u_n_c_a_r_g_s.html#a5072b853699aed6ed5cff33a6e48b71d',1,'FUNCARGS']]], - ['n_5fout_5farguments_62',['n_out_arguments',['../struct_f_u_n_c_c_a_l_l.html#a4c3ce57d43862cda7780e020e6ce2349',1,'FUNCCALL']]], - ['n_5fout_5fcols_63',['n_out_cols',['../struct_f_u_n_c_a_r_g_s.html#a07cd1a0775fad3da2e3a6d3cb941d3e9',1,'FUNCARGS']]], - ['n_5fout_5frows_64',['n_out_rows',['../struct_f_u_n_c_a_r_g_s.html#accf1038c5390a90bd8465916452918cc',1,'FUNCARGS']]], - ['n_5fout_5fuser_65',['n_out_user',['../struct_f_u_n_c_c_a_l_l.html#a964c4a02c04884e73bd261aa10180d4e',1,'FUNCCALL']]] + ['err_73',['err',['../struct_f_u_n_c_c_a_l_l.html#afbac69a2aa8ae198e46614a2e1228a56',1,'FUNCCALL']]] ]; diff --git a/doc/html/search/variables_4.js b/doc/html/search/variables_4.js index eb378ae..dc8e539 100644 --- a/doc/html/search/variables_4.js +++ b/doc/html/search/variables_4.js @@ -1,5 +1,10 @@ var searchData= [ - ['out_5fdata_5fimg_66',['out_data_img',['../struct_f_u_n_c_a_r_g_s.html#a057c2aa9db10a409e7b9da3b5f0f17f2',1,'FUNCARGS']]], - ['out_5fdata_5freal_67',['out_data_real',['../struct_f_u_n_c_a_r_g_s.html#a1ab002ae3f19574b5d7e0469187501f4',1,'FUNCARGS']]] + ['in_5fdata_5fimg_74',['in_data_img',['../struct_f_u_n_c_a_r_g_s.html#aeea2f16c973c70f31ac07d234d509161',1,'FUNCARGS']]], + ['in_5fdata_5freal_75',['in_data_real',['../struct_f_u_n_c_a_r_g_s.html#afb520ee91cd773811ae5223113c8a82d',1,'FUNCARGS']]], + ['in_5fstruct_76',['in_struct',['../struct_f_u_n_c_a_r_g_s.html#aabfc4b5433234d1272a8db4a1531ba79',1,'FUNCARGS']]], + ['is_5fin_5fcmplx_77',['is_in_cmplx',['../struct_f_u_n_c_a_r_g_s.html#a6993c7529d472e393bf6d8b62eee4eb9',1,'FUNCARGS']]], + ['is_5fout_5fcmplx_78',['is_out_cmplx',['../struct_f_u_n_c_a_r_g_s.html#a25918ade41c7afafb4a851e6845ac554',1,'FUNCARGS']]], + ['is_5fout_5fstring_79',['is_out_string',['../struct_f_u_n_c_a_r_g_s.html#a5e7fbc7ebf438985fcc91b800a67240e',1,'FUNCARGS']]], + ['is_5fout_5fstruct_80',['is_out_struct',['../struct_f_u_n_c_a_r_g_s.html#a23897aefce90b1a055e408ef209daab6',1,'FUNCARGS']]] ]; diff --git a/doc/html/search/variables_5.js b/doc/html/search/variables_5.js index ba956f7..2ea28d2 100644 --- a/doc/html/search/variables_5.js +++ b/doc/html/search/variables_5.js @@ -1,4 +1,4 @@ var searchData= [ - ['type_68',['type',['../struct_f_u_n_c_a_r_g_s.html#a580ae591432835016133e2ada44be2c9',1,'FUNCARGS']]] + ['key_81',['key',['../struct_f_u_n_c_s_t_r_u_c_t.html#ae298630243ee8fadf8503dd4fd81f52b',1,'FUNCSTRUCT']]] ]; diff --git a/doc/html/search/variables_6.html b/doc/html/search/variables_6.html new file mode 100644 index 0000000..7d48e75 --- /dev/null +++ b/doc/html/search/variables_6.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/doc/html/search/variables_6.js b/doc/html/search/variables_6.js new file mode 100644 index 0000000..3caf63a --- /dev/null +++ b/doc/html/search/variables_6.js @@ -0,0 +1,12 @@ +var searchData= +[ + ['n_5fin_5farguments_82',['n_in_arguments',['../struct_f_u_n_c_c_a_l_l.html#a15b282cd4eb7e33fe14aaea926b1a98a',1,'FUNCCALL']]], + ['n_5fin_5fcols_83',['n_in_cols',['../struct_f_u_n_c_a_r_g_s.html#a57dd8f6ba533785f3c654289054a9d37',1,'FUNCARGS']]], + ['n_5fin_5frows_84',['n_in_rows',['../struct_f_u_n_c_a_r_g_s.html#a5072b853699aed6ed5cff33a6e48b71d',1,'FUNCARGS']]], + ['n_5fin_5fstruct_5flen_85',['n_in_struct_len',['../struct_f_u_n_c_a_r_g_s.html#a3f38c9b21450c6842913df42db54ae4d',1,'FUNCARGS']]], + ['n_5fout_5farguments_86',['n_out_arguments',['../struct_f_u_n_c_c_a_l_l.html#a4c3ce57d43862cda7780e020e6ce2349',1,'FUNCCALL']]], + ['n_5fout_5fcols_87',['n_out_cols',['../struct_f_u_n_c_a_r_g_s.html#a07cd1a0775fad3da2e3a6d3cb941d3e9',1,'FUNCARGS']]], + ['n_5fout_5frows_88',['n_out_rows',['../struct_f_u_n_c_a_r_g_s.html#accf1038c5390a90bd8465916452918cc',1,'FUNCARGS']]], + ['n_5fout_5fstruct_5flen_89',['n_out_struct_len',['../struct_f_u_n_c_a_r_g_s.html#a418164a53b8efbfe39439fd7ebe52172',1,'FUNCARGS']]], + ['n_5fout_5fuser_90',['n_out_user',['../struct_f_u_n_c_c_a_l_l.html#a964c4a02c04884e73bd261aa10180d4e',1,'FUNCCALL']]] +]; diff --git a/doc/html/search/variables_7.html b/doc/html/search/variables_7.html new file mode 100644 index 0000000..5c26340 --- /dev/null +++ b/doc/html/search/variables_7.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/doc/html/search/variables_7.js b/doc/html/search/variables_7.js new file mode 100644 index 0000000..834259c --- /dev/null +++ b/doc/html/search/variables_7.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['out_5fdata_5fimg_91',['out_data_img',['../struct_f_u_n_c_a_r_g_s.html#a057c2aa9db10a409e7b9da3b5f0f17f2',1,'FUNCARGS']]], + ['out_5fdata_5freal_92',['out_data_real',['../struct_f_u_n_c_a_r_g_s.html#a1ab002ae3f19574b5d7e0469187501f4',1,'FUNCARGS']]], + ['out_5fstruct_93',['out_struct',['../struct_f_u_n_c_a_r_g_s.html#abb34bfaef96a2e29c65591046c504754',1,'FUNCARGS']]] +]; diff --git a/doc/html/search/variables_8.html b/doc/html/search/variables_8.html new file mode 100644 index 0000000..dc9ec54 --- /dev/null +++ b/doc/html/search/variables_8.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/doc/html/search/variables_8.js b/doc/html/search/variables_8.js new file mode 100644 index 0000000..9642d8c --- /dev/null +++ b/doc/html/search/variables_8.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['rows_94',['rows',['../struct_f_u_n_c_s_t_r_u_c_t.html#a7512f24fd057d4d93074e9a5c7951157',1,'FUNCSTRUCT']]] +]; diff --git a/doc/html/search/variables_9.html b/doc/html/search/variables_9.html new file mode 100644 index 0000000..7b01475 --- /dev/null +++ b/doc/html/search/variables_9.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/doc/html/search/variables_9.js b/doc/html/search/variables_9.js new file mode 100644 index 0000000..2267d25 --- /dev/null +++ b/doc/html/search/variables_9.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['str_95',['str',['../struct_f_u_n_c_s_t_r_u_c_t.html#a175d20292e70fd1fb89e40d6d128653d',1,'FUNCSTRUCT']]] +]; diff --git a/doc/html/search/variables_a.html b/doc/html/search/variables_a.html new file mode 100644 index 0000000..52a724d --- /dev/null +++ b/doc/html/search/variables_a.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
    +
    Loading...
    +
    + +
    Searching...
    +
    No Matches
    + +
    + + diff --git a/doc/html/search/variables_a.js b/doc/html/search/variables_a.js new file mode 100644 index 0000000..f205944 --- /dev/null +++ b/doc/html/search/variables_a.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['type_96',['type',['../struct_f_u_n_c_s_t_r_u_c_t.html#a03c3251e6292eeca88505406761e4fd7',1,'FUNCSTRUCT::type()'],['../struct_f_u_n_c_a_r_g_s.html#a580ae591432835016133e2ada44be2c9',1,'FUNCARGS::type()']]] +]; diff --git a/doc/html/src_2fun_8h.html b/doc/html/src_2fun_8h.html index 0620784..81b1511 100644 --- a/doc/html/src_2fun_8h.html +++ b/doc/html/src_2fun_8h.html @@ -107,9 +107,14 @@ $(document).ready(function(){initNavTree('src_2fun_8h.html',''); initResizable() + + + + +

    Classes

    struct  FUNCSTRUCT
     Struct used to pass structs to Octave from the fun library. More...
     
    struct  FUNCARGS
     Struct used to send/receive Scilab data to/from the gateway to fun.cpp API. More...
     
    struct  FUNCCALL
     Struct used to call and pass the data to fun.cpp API. More...
     

    @@ -119,17 +124,25 @@ Macros

    -

    Enumerations

    enum  FUNCTYPE { TYPE_DOUBLE +
    enum  FUNCTYPE {
    +  TYPE_DOUBLE +, TYPE_COMPLEX , TYPE_STRING -, TYPE_DOUBLE +, TYPE_STRUCT +,
    +  TYPE_DOUBLE +, TYPE_COMPLEX , TYPE_STRING +, TYPE_STRUCT +
    }
     
    - +

    Functions

    int fun (FUNCARGS *arr, FUNCCALL *call)
     Function to Interact with Octave's API. More...
     API Function to call/receive and pass the data to fun API
    + More...
     

    Macro Definition Documentation

    @@ -160,10 +173,18 @@ Functions
    - - + + + + + +
    Enumerator
    TYPE_DOUBLE 
    TYPE_STRING 
    Enumerator
    TYPE_DOUBLE 

    similar to scilab double

    +
    TYPE_COMPLEX 

    similar to scilab complex

    +
    TYPE_STRING 

    similar to scilab string

    +
    TYPE_STRUCT 

    similar to scilab struct

    +
    TYPE_DOUBLE 
    TYPE_COMPLEX 
    TYPE_STRING 
    TYPE_STRUCT 
    @@ -195,7 +216,18 @@ Functions
    -

    Function to Interact with Octave's API.

    +

    API Function to call/receive and pass the data to fun API
    +

    +
    Parameters
    + + + +
    arrInput data FUNCARGS
    callInput Arguments FUNCCALL
    +
    +
    +
    Returns
    int Status Code
    +

    API Function to call/receive and pass the data to fun API
    +

    This Function will be communicating with Octave to access it's function.

    diff --git a/doc/html/src_2fun_8h.js b/doc/html/src_2fun_8h.js index af3d386..7dec6fb 100644 --- a/doc/html/src_2fun_8h.js +++ b/doc/html/src_2fun_8h.js @@ -1,13 +1,18 @@ var src_2fun_8h = [ + [ "FUNCSTRUCT", "struct_f_u_n_c_s_t_r_u_c_t.html", "struct_f_u_n_c_s_t_r_u_c_t" ], [ "FUNCARGS", "struct_f_u_n_c_a_r_g_s.html", "struct_f_u_n_c_a_r_g_s" ], [ "FUNCCALL", "struct_f_u_n_c_c_a_l_l.html", "struct_f_u_n_c_c_a_l_l" ], [ "fun_h__", "src_2fun_8h.html#a2ca3f7142a7018d5861959828144a9e9", null ], [ "FUNCTYPE", "src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134", [ [ "TYPE_DOUBLE", "src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c", null ], + [ "TYPE_COMPLEX", "src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc", null ], [ "TYPE_STRING", "src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a", null ], + [ "TYPE_STRUCT", "src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c", null ], [ "TYPE_DOUBLE", "thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c", null ], - [ "TYPE_STRING", "thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a", null ] + [ "TYPE_COMPLEX", "thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc", null ], + [ "TYPE_STRING", "thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a", null ], + [ "TYPE_STRUCT", "thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c", null ] ] ], [ "fun", "src_2fun_8h.html#adda0eaf7454844236de53495b494cdd4", null ] ]; \ No newline at end of file diff --git a/doc/html/src_2fun_8h_source.html b/doc/html/src_2fun_8h_source.html index db54e52..3e00205 100644 --- a/doc/html/src_2fun_8h_source.html +++ b/doc/html/src_2fun_8h_source.html @@ -112,62 +112,93 @@ $(document).ready(function(){initNavTree('src_2fun_8h_source.html',''); initResi
    13 //extern "C" int fun (double* answ, double* in1, int in1_row, std::string name, std::string opt);
    14 
    15 extern "C"
    -
    16 {
    +
    16 {
    17 
    -
    18  typedef enum
    -
    19  {
    - - -
    22  }FUNCTYPE;
    -
    23 
    -
    24  typedef struct
    -
    25  {
    - -
    27  int n_in_rows;
    -
    28  int n_in_cols;
    - - - - -
    33  void* in_data_real;
    -
    34  void* in_data_img;
    - -
    36  void* out_data_img;
    -
    37  }FUNCARGS;
    -
    38 
    -
    39  typedef struct {
    -
    40  int n_in_arguments; // number of input arguments
    -
    41  int n_out_arguments; // number of output arguments
    -
    42  int n_out_user; // number of output arguments
    -
    43  char *err; // Name
    -
    44  //char *package; //Name of octave package to be loaded
    - -
    46 } FUNCCALL;
    -
    47 
    -
    48  int fun(FUNCARGS *arr, FUNCCALL *call);
    -
    49 }
    +
    18 
    +
    19  typedef enum {
    + + + + +
    24  }FUNCTYPE;
    +
    25 
    +
    32  typedef struct {
    + +
    34  void* key;
    +
    35  int rows;
    +
    36  int cols;
    +
    37  void* dataReal;
    +
    38  void* dataImg;
    +
    39  void* str;
    +
    41  } FUNCSTRUCT;
    +
    42 
    +
    48  typedef struct {
    + +
    51  int n_in_rows;
    +
    52  int n_in_cols;
    + +
    54  int n_out_rows;
    +
    55  int n_out_cols;
    + + + + + +
    61  void* in_data_real;
    +
    62  void* in_data_img;
    +
    63  void* out_data_real;
    +
    64  void* out_data_img;
    + + +
    68  } FUNCARGS;
    +
    73  typedef struct {
    + + +
    77  int n_out_user;
    +
    78  char *err;
    +
    79  //char *package; //Name of octave package to be loaded*/
    + +
    82  } FUNCCALL;
    +
    91  int fun(FUNCARGS *arr, FUNCCALL *call);
    +
    92 }
    FUNCTYPE
    Definition: fun.h:19
    @ TYPE_DOUBLE
    Definition: fun.h:20
    -
    @ TYPE_STRING
    Definition: fun.h:21
    -
    int fun(FUNCARGS *arr, FUNCCALL *call)
    Function to Interact with Octave's API.
    Definition: fun.cpp:29
    -
    Definition: fun.h:25
    -
    void * out_data_img
    Definition: fun.h:36
    -
    int n_out_cols
    Definition: fun.h:30
    -
    void * out_data_real
    Definition: fun.h:35
    -
    int is_out_cmplx
    Definition: fun.h:32
    -
    int n_in_rows
    Definition: fun.h:27
    -
    int n_in_cols
    Definition: fun.h:28
    -
    FUNCTYPE type
    Definition: fun.h:26
    -
    int is_in_cmplx
    Definition: fun.h:31
    -
    int n_out_rows
    Definition: fun.h:29
    -
    void * in_data_img
    Definition: fun.h:34
    -
    void * in_data_real
    Definition: fun.h:33
    -
    Definition: fun.h:39
    -
    int n_in_arguments
    Definition: fun.h:40
    -
    int n_out_arguments
    Definition: fun.h:41
    -
    FUNCARGS * argument
    Definition: fun.h:45
    -
    int n_out_user
    Definition: fun.h:42
    -
    char * err
    Definition: fun.h:43
    +
    @ TYPE_STRUCT
    Definition: fun.h:23
    +
    @ TYPE_COMPLEX
    Definition: fun.h:21
    +
    @ TYPE_STRING
    Definition: fun.h:22
    +
    int fun(FUNCARGS *arr, FUNCCALL *call)
    API Function to call/receive and pass the data to fun API
    Definition: fun.cpp:30
    +
    Struct used to send/receive Scilab data to/from the gateway to fun.cpp API.
    Definition: fun.h:48
    +
    void * out_data_img
    Definition: fun.h:64
    +
    int n_out_cols
    Definition: fun.h:55
    +
    void * out_data_real
    Definition: fun.h:63
    +
    int is_out_struct
    Definition: fun.h:59
    +
    int is_out_cmplx
    Definition: fun.h:58
    +
    int n_in_struct_len
    Definition: fun.h:53
    +
    int n_out_struct_len
    Definition: fun.h:56
    +
    int n_in_rows
    Definition: fun.h:51
    +
    int n_in_cols
    Definition: fun.h:52
    +
    FUNCTYPE type
    Definition: fun.h:50
    +
    int is_out_string
    Definition: fun.h:60
    +
    int is_in_cmplx
    Definition: fun.h:57
    +
    FUNCSTRUCT * in_struct
    Definition: fun.h:65
    +
    FUNCSTRUCT * out_struct
    Definition: fun.h:66
    +
    int n_out_rows
    Definition: fun.h:54
    +
    void * in_data_img
    Definition: fun.h:62
    +
    void * in_data_real
    Definition: fun.h:61
    +
    Struct used to call and pass the data to fun.cpp API.
    Definition: fun.h:73
    +
    int n_in_arguments
    Definition: fun.h:75
    +
    int n_out_arguments
    Definition: fun.h:76
    +
    FUNCARGS * argument
    Definition: fun.h:80
    +
    int n_out_user
    Definition: fun.h:77
    +
    char * err
    Definition: fun.h:78
    +
    Struct used to pass structs to Octave from the fun library.
    Definition: fun.h:32
    +
    FUNCTYPE type
    Definition: fun.h:33
    +
    void * str
    Definition: fun.h:39
    +
    int rows
    Definition: fun.h:35
    +
    void * dataReal
    Definition: fun.h:37
    +
    int cols
    Definition: fun.h:36
    +
    void * key
    Definition: fun.h:34
    +
    void * dataImg
    Definition: fun.h:38
    diff --git a/doc/html/struct_f_u_n_c_a_r_g_s-members.html b/doc/html/struct_f_u_n_c_a_r_g_s-members.html index beb51fa..a2438f4 100644 --- a/doc/html/struct_f_u_n_c_a_r_g_s-members.html +++ b/doc/html/struct_f_u_n_c_a_r_g_s-members.html @@ -102,14 +102,20 @@ $(document).ready(function(){initNavTree('struct_f_u_n_c_a_r_g_s.html',''); init - - - - + + + + + + + + - - + + + +
    in_data_imgFUNCARGS
    in_data_realFUNCARGS
    is_in_cmplxFUNCARGS
    is_out_cmplxFUNCARGS
    n_in_colsFUNCARGS
    n_in_rowsFUNCARGS
    in_structFUNCARGS
    is_in_cmplxFUNCARGS
    is_out_cmplxFUNCARGS
    is_out_stringFUNCARGS
    is_out_structFUNCARGS
    n_in_colsFUNCARGS
    n_in_rowsFUNCARGS
    n_in_struct_lenFUNCARGS
    n_out_colsFUNCARGS
    n_out_rowsFUNCARGS
    out_data_imgFUNCARGS
    out_data_realFUNCARGS
    n_out_struct_lenFUNCARGS
    out_data_imgFUNCARGS
    out_data_realFUNCARGS
    out_structFUNCARGS
    typeFUNCARGS
    diff --git a/doc/html/struct_f_u_n_c_a_r_g_s.html b/doc/html/struct_f_u_n_c_a_r_g_s.html index bed26e1..8e82bee 100644 --- a/doc/html/struct_f_u_n_c_a_r_g_s.html +++ b/doc/html/struct_f_u_n_c_a_r_g_s.html @@ -101,6 +101,9 @@ $(document).ready(function(){initNavTree('struct_f_u_n_c_a_r_g_s.html',''); init
    +

    Struct used to send/receive Scilab data to/from the gateway to fun.cpp API. + More...

    +

    #include <fun.h>

    + + + + + + + + @@ -127,8 +138,14 @@ Public Attributes + + + +

    @@ -111,14 +114,22 @@ Public Attributes

     
    int n_in_cols
     
    int n_in_struct_len
     
    int n_out_rows
     
    int n_out_cols
     
    int n_out_struct_len
     
    int is_in_cmplx
     
    int is_out_cmplx
     
    int is_out_struct
     
    int is_out_string
     
    void * in_data_real
     
    void * in_data_img
     
    void * out_data_img
     
    FUNCSTRUCTin_struct
     
    FUNCSTRUCTout_struct
     
    -

    Member Data Documentation

    +

    Detailed Description

    +

    Struct used to send/receive Scilab data to/from the gateway to fun.cpp API.

    +

    Member Data Documentation

    ◆ in_data_img

    @@ -140,6 +157,7 @@ Public Attributes
    +

    Input imaginary part (complex) array

    @@ -154,6 +172,22 @@ Public Attributes
    +

    Input real part (complex) array

    + +
    + + +

    ◆ in_struct

    + +
    +
    + + + + +
    FUNCSTRUCT * FUNCARGS::in_struct
    +
    +

    Input struct

    @@ -168,6 +202,7 @@ Public Attributes
    +

    Input is a Complex data type

    @@ -182,6 +217,37 @@ Public Attributes
    +

    Output is a Complex data type

    + +
    + + +

    ◆ is_out_string

    + +
    +
    + + + + +
    int FUNCARGS::is_out_string
    +
    +

    Output is a String data type

    + +
    +
    + +

    ◆ is_out_struct

    + +
    +
    + + + + +
    int FUNCARGS::is_out_struct
    +
    +

    Output is a Struct data type

    @@ -196,6 +262,7 @@ Public Attributes
    +

    Input cols dimension of data

    @@ -210,6 +277,22 @@ Public Attributes
    +

    Input rows dimension of data

    + +
    + + +

    ◆ n_in_struct_len

    + +
    +
    + + + + +
    int FUNCARGS::n_in_struct_len
    +
    +

    input struct length

    @@ -224,6 +307,7 @@ Public Attributes
    +

    Output cold dimension of data

    @@ -238,6 +322,22 @@ Public Attributes
    +

    Ouput rows dimension of data

    + +
    + + +

    ◆ n_out_struct_len

    + +
    +
    + + + + +
    int FUNCARGS::n_out_struct_len
    +
    +

    Output struct length

    @@ -252,6 +352,7 @@ Public Attributes
    +

    Output imaginary part (complex) array

    @@ -266,6 +367,22 @@ Public Attributes
    +

    Output real part (complex) array

    + +
    + + +

    ◆ out_struct

    + +
    +
    + + + + +
    FUNCSTRUCT * FUNCARGS::out_struct
    +
    +

    Output struct

    @@ -280,6 +397,8 @@ Public Attributes
    +

    Type of data
    +

    diff --git a/doc/html/struct_f_u_n_c_a_r_g_s.js b/doc/html/struct_f_u_n_c_a_r_g_s.js index fcacce9..987300e 100644 --- a/doc/html/struct_f_u_n_c_a_r_g_s.js +++ b/doc/html/struct_f_u_n_c_a_r_g_s.js @@ -2,13 +2,19 @@ var struct_f_u_n_c_a_r_g_s = [ [ "in_data_img", "struct_f_u_n_c_a_r_g_s.html#aeea2f16c973c70f31ac07d234d509161", null ], [ "in_data_real", "struct_f_u_n_c_a_r_g_s.html#afb520ee91cd773811ae5223113c8a82d", null ], + [ "in_struct", "struct_f_u_n_c_a_r_g_s.html#aabfc4b5433234d1272a8db4a1531ba79", null ], [ "is_in_cmplx", "struct_f_u_n_c_a_r_g_s.html#a6993c7529d472e393bf6d8b62eee4eb9", null ], [ "is_out_cmplx", "struct_f_u_n_c_a_r_g_s.html#a25918ade41c7afafb4a851e6845ac554", null ], + [ "is_out_string", "struct_f_u_n_c_a_r_g_s.html#a5e7fbc7ebf438985fcc91b800a67240e", null ], + [ "is_out_struct", "struct_f_u_n_c_a_r_g_s.html#a23897aefce90b1a055e408ef209daab6", null ], [ "n_in_cols", "struct_f_u_n_c_a_r_g_s.html#a57dd8f6ba533785f3c654289054a9d37", null ], [ "n_in_rows", "struct_f_u_n_c_a_r_g_s.html#a5072b853699aed6ed5cff33a6e48b71d", null ], + [ "n_in_struct_len", "struct_f_u_n_c_a_r_g_s.html#a3f38c9b21450c6842913df42db54ae4d", null ], [ "n_out_cols", "struct_f_u_n_c_a_r_g_s.html#a07cd1a0775fad3da2e3a6d3cb941d3e9", null ], [ "n_out_rows", "struct_f_u_n_c_a_r_g_s.html#accf1038c5390a90bd8465916452918cc", null ], + [ "n_out_struct_len", "struct_f_u_n_c_a_r_g_s.html#a418164a53b8efbfe39439fd7ebe52172", null ], [ "out_data_img", "struct_f_u_n_c_a_r_g_s.html#a057c2aa9db10a409e7b9da3b5f0f17f2", null ], [ "out_data_real", "struct_f_u_n_c_a_r_g_s.html#a1ab002ae3f19574b5d7e0469187501f4", null ], + [ "out_struct", "struct_f_u_n_c_a_r_g_s.html#abb34bfaef96a2e29c65591046c504754", null ], [ "type", "struct_f_u_n_c_a_r_g_s.html#a580ae591432835016133e2ada44be2c9", null ] ]; \ No newline at end of file diff --git a/doc/html/struct_f_u_n_c_c_a_l_l.html b/doc/html/struct_f_u_n_c_c_a_l_l.html index c3ffd9d..32b9a9d 100644 --- a/doc/html/struct_f_u_n_c_c_a_l_l.html +++ b/doc/html/struct_f_u_n_c_c_a_l_l.html @@ -101,6 +101,9 @@ $(document).ready(function(){initNavTree('struct_f_u_n_c_c_a_l_l.html',''); init
    +

    Struct used to call and pass the data to fun.cpp API. + More...

    +

    #include <fun.h>

    @@ -116,7 +119,9 @@ Public Attributes

    FUNCARGSargument
     
    -

    Member Data Documentation

    +

    Detailed Description

    +

    Struct used to call and pass the data to fun.cpp API.

    +

    Member Data Documentation

    ◆ argument

    @@ -128,6 +133,7 @@ Public Attributes
    +

    Struct defining and containing the data

    @@ -142,6 +148,7 @@ Public Attributes
    +

    Return errors

    @@ -156,6 +163,7 @@ Public Attributes
    +

    Number of input arguments

    @@ -170,6 +178,7 @@ Public Attributes
    +

    Number of output arguments

    @@ -184,6 +193,7 @@ Public Attributes
    +

    Number of output arguements expected to be returned

    diff --git a/doc/html/struct_f_u_n_c_s_t_r_u_c_t-members.html b/doc/html/struct_f_u_n_c_s_t_r_u_c_t-members.html new file mode 100644 index 0000000..af073b5 --- /dev/null +++ b/doc/html/struct_f_u_n_c_s_t_r_u_c_t-members.html @@ -0,0 +1,119 @@ + + + + + + + +FOSSEE Scilab Octave Toolbox: Member List + + + + + + + + + + + + + + +
    +
    + + + + + + + + +
    +
    FOSSEE Scilab Octave Toolbox +
    +
    This is a scilab toolbox to call octave functions. It requires octave to be installed on the system.
    +
    + + + + + + +
    +
    +
    + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    +
    +
    FUNCSTRUCT Member List
    +
    +
    + +

    This is the complete list of members for FUNCSTRUCT, including all inherited members.

    + + + + + + + + +
    colsFUNCSTRUCT
    dataImgFUNCSTRUCT
    dataRealFUNCSTRUCT
    keyFUNCSTRUCT
    rowsFUNCSTRUCT
    strFUNCSTRUCT
    typeFUNCSTRUCT
    +
    + + + + diff --git a/doc/html/struct_f_u_n_c_s_t_r_u_c_t.html b/doc/html/struct_f_u_n_c_s_t_r_u_c_t.html new file mode 100644 index 0000000..01afa4b --- /dev/null +++ b/doc/html/struct_f_u_n_c_s_t_r_u_c_t.html @@ -0,0 +1,247 @@ + + + + + + + +FOSSEE Scilab Octave Toolbox: FUNCSTRUCT Struct Reference + + + + + + + + + + + + + + +
    +
    + + + + + + + + +
    +
    FOSSEE Scilab Octave Toolbox +
    +
    This is a scilab toolbox to call octave functions. It requires octave to be installed on the system.
    +
    + + + + + + +
    +
    +
    + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    + +
    + +
    + +
    +
    FUNCSTRUCT Struct Reference
    +
    +
    + +

    Struct used to pass structs to Octave from the fun library. + More...

    + +

    #include <fun.h>

    + + + + + + + + + + + + + + + + +

    +Public Attributes

    FUNCTYPE type
     
    void * key
     
    int rows
     
    int cols
     
    void * dataReal
     
    void * dataImg
     
    void * str
     
    +

    Detailed Description

    +

    Struct used to pass structs to Octave from the fun library.

    +

    Member Data Documentation

    + +

    ◆ cols

    + +
    +
    + + + + +
    int FUNCSTRUCT::cols
    +
    +

    cols dimension of struct fields' value

    + +
    +
    + +

    ◆ dataImg

    + +
    +
    + + + + +
    void * FUNCSTRUCT::dataImg
    +
    +

    Img data if struct field's value is complex

    + +
    +
    + +

    ◆ dataReal

    + +
    +
    + + + + +
    void * FUNCSTRUCT::dataReal
    +
    +

    Real data if struct field's value is real

    + +
    +
    + +

    ◆ key

    + +
    +
    + + + + +
    void * FUNCSTRUCT::key
    +
    +

    key of struct field

    + +
    +
    + +

    ◆ rows

    + +
    +
    + + + + +
    int FUNCSTRUCT::rows
    +
    +

    rows dimension of struct field's value

    + +
    +
    + +

    ◆ str

    + +
    +
    + + + + +
    void * FUNCSTRUCT::str
    +
    +

    String data if struct field's value is string

    + +
    +
    + +

    ◆ type

    + +
    +
    + + + + +
    FUNCTYPE FUNCSTRUCT::type
    +
    +

    Type of value in struct's field

    + +
    +
    +
    The documentation for this struct was generated from the following file: +
    +
    + + + + diff --git a/doc/html/struct_f_u_n_c_s_t_r_u_c_t.js b/doc/html/struct_f_u_n_c_s_t_r_u_c_t.js new file mode 100644 index 0000000..f983fb2 --- /dev/null +++ b/doc/html/struct_f_u_n_c_s_t_r_u_c_t.js @@ -0,0 +1,10 @@ +var struct_f_u_n_c_s_t_r_u_c_t = +[ + [ "cols", "struct_f_u_n_c_s_t_r_u_c_t.html#ad40fd4328e821e9eaa553bbdf5c83bba", null ], + [ "dataImg", "struct_f_u_n_c_s_t_r_u_c_t.html#ae7fbe0037ac898a607fe3648afa61be2", null ], + [ "dataReal", "struct_f_u_n_c_s_t_r_u_c_t.html#a91ce1300dd1b9c3b18ac38c34171d679", null ], + [ "key", "struct_f_u_n_c_s_t_r_u_c_t.html#ae298630243ee8fadf8503dd4fd81f52b", null ], + [ "rows", "struct_f_u_n_c_s_t_r_u_c_t.html#a7512f24fd057d4d93074e9a5c7951157", null ], + [ "str", "struct_f_u_n_c_s_t_r_u_c_t.html#a175d20292e70fd1fb89e40d6d128653d", null ], + [ "type", "struct_f_u_n_c_s_t_r_u_c_t.html#a03c3251e6292eeca88505406761e4fd7", null ] +]; \ No newline at end of file diff --git a/doc/html/thirdparty_2linux_2include_2fun_8h.html b/doc/html/thirdparty_2linux_2include_2fun_8h.html index b40ebe2..9e04061 100644 --- a/doc/html/thirdparty_2linux_2include_2fun_8h.html +++ b/doc/html/thirdparty_2linux_2include_2fun_8h.html @@ -107,9 +107,14 @@ $(document).ready(function(){initNavTree('thirdparty_2linux_2include_2fun_8h.htm + + + + +

    Classes

    struct  FUNCSTRUCT
     Struct used to pass structs to Octave from the fun library. More...
     
    struct  FUNCARGS
     Struct used to send/receive Scilab data to/from the gateway to fun.cpp API. More...
     
    struct  FUNCCALL
     Struct used to call and pass the data to fun.cpp API. More...
     

    @@ -119,10 +124,17 @@ Macros

    -

    Enumerations

    enum  FUNCTYPE { TYPE_DOUBLE +
    enum  FUNCTYPE {
    +  TYPE_DOUBLE +, TYPE_COMPLEX , TYPE_STRING -, TYPE_DOUBLE +, TYPE_STRUCT +,
    +  TYPE_DOUBLE +, TYPE_COMPLEX , TYPE_STRING +, TYPE_STRUCT +
    }
     
    @@ -160,10 +172,18 @@ Functions
    - - + + + + + +
    Enumerator
    TYPE_DOUBLE 
    TYPE_STRING 
    Enumerator
    TYPE_DOUBLE 

    similar to scilab double

    +
    TYPE_COMPLEX 

    similar to scilab complex

    +
    TYPE_STRING 

    similar to scilab string

    +
    TYPE_STRUCT 

    similar to scilab struct

    +
    TYPE_DOUBLE 
    TYPE_COMPLEX 
    TYPE_STRING 
    TYPE_STRUCT 
    @@ -196,6 +216,8 @@ Functions

    Function to Interact with Octave's API.

    +

    API Function to call/receive and pass the data to fun API
    +

    This Function will be communicating with Octave to access it's function.

    diff --git a/doc/html/thirdparty_2linux_2include_2fun_8h.js b/doc/html/thirdparty_2linux_2include_2fun_8h.js index 0a052dc..97653f7 100644 --- a/doc/html/thirdparty_2linux_2include_2fun_8h.js +++ b/doc/html/thirdparty_2linux_2include_2fun_8h.js @@ -1,13 +1,18 @@ var thirdparty_2linux_2include_2fun_8h = [ + [ "FUNCSTRUCT", "struct_f_u_n_c_s_t_r_u_c_t.html", "struct_f_u_n_c_s_t_r_u_c_t" ], [ "FUNCARGS", "struct_f_u_n_c_a_r_g_s.html", "struct_f_u_n_c_a_r_g_s" ], [ "FUNCCALL", "struct_f_u_n_c_c_a_l_l.html", "struct_f_u_n_c_c_a_l_l" ], [ "fun_h__", "thirdparty_2linux_2include_2fun_8h.html#a2ca3f7142a7018d5861959828144a9e9", null ], [ "FUNCTYPE", "thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134", [ [ "TYPE_DOUBLE", "src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c", null ], + [ "TYPE_COMPLEX", "src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc", null ], [ "TYPE_STRING", "src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a", null ], + [ "TYPE_STRUCT", "src_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c", null ], [ "TYPE_DOUBLE", "thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c", null ], - [ "TYPE_STRING", "thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a", null ] + [ "TYPE_COMPLEX", "thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc", null ], + [ "TYPE_STRING", "thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a", null ], + [ "TYPE_STRUCT", "thirdparty_2linux_2include_2fun_8h.html#a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c", null ] ] ], [ "fun", "thirdparty_2linux_2include_2fun_8h.html#adda0eaf7454844236de53495b494cdd4", null ] ]; \ No newline at end of file diff --git a/doc/html/thirdparty_2linux_2include_2fun_8h_source.html b/doc/html/thirdparty_2linux_2include_2fun_8h_source.html index f8ecedc..ab0fa9b 100644 --- a/doc/html/thirdparty_2linux_2include_2fun_8h_source.html +++ b/doc/html/thirdparty_2linux_2include_2fun_8h_source.html @@ -114,44 +114,63 @@ $(document).ready(function(){initNavTree('thirdparty_2linux_2include_2fun_8h_sou
    15 extern "C"
    16 {
    17 
    -
    18  typedef enum
    -
    19  {
    - +
    18  typedef enum {
    + + -
    22  }FUNCTYPE;
    -
    23 
    -
    24  typedef struct
    -
    25  {
    -
    26  FUNCTYPE type;
    -
    27  int n_in_rows;
    -
    28  int n_in_cols;
    -
    29  int n_out_rows;
    -
    30  int n_out_cols;
    -
    31  int is_in_cmplx;
    -
    32  int is_out_cmplx;
    -
    33  void* in_data_real;
    -
    34  void* in_data_img;
    -
    35  void* out_data_real;
    -
    36  void* out_data_img;
    -
    37  }FUNCARGS;
    -
    38 
    -
    39  typedef struct {
    -
    40  int n_in_arguments; // number of input arguments
    -
    41  int n_out_arguments; // number of output arguments
    -
    42  int n_out_user; // number of output arguments
    -
    43  char *err; // Name
    -
    44  //char *package; //Name of octave package to be loaded
    -
    45  FUNCARGS *argument;
    -
    46 } FUNCCALL;
    -
    47 
    -
    48  int fun(FUNCARGS *arr, FUNCCALL *call);
    -
    49 }
    + +
    23  }FUNCTYPE;
    +
    24 
    +
    25  typedef struct {
    +
    26  FUNCTYPE type; // type of value in struct's field
    +
    27  void* key; // key of struct field
    +
    28  int rows; // rows dimension of struct field's value
    +
    29  int cols; // cols dimension of struct fields' value
    +
    30  void* dataReal; // Real data if struct field's value is real
    +
    31  void* dataImg; // Img data if struct field's value is complex
    +
    32  void* str; // string data if struct field's value is string
    +
    33  } FUNCSTRUCT;
    +
    34 
    +
    35  typedef struct {
    +
    36  FUNCTYPE type;
    +
    37  int n_in_rows;
    +
    38  int n_in_cols;
    +
    39  int n_in_struct_len; // ip struct length
    +
    40  int n_out_rows;
    +
    41  int n_out_cols;
    +
    42  int n_out_struct_len; // op struct length
    +
    43  int is_in_cmplx;
    +
    44  int is_out_cmplx;
    +
    45  int is_out_string;
    +
    46  int is_out_struct;
    +
    47  void* in_data_real;
    +
    48  void* in_data_img;
    +
    49  void* out_data_real;
    +
    50  void* out_data_img;
    +
    51  FUNCSTRUCT* in_struct;
    +
    52  FUNCSTRUCT* out_struct;
    +
    53  } FUNCARGS;
    +
    54 
    +
    55  typedef struct {
    +
    56  int n_in_arguments; // number of input arguments
    +
    57  int n_out_arguments; // number of output arguments
    +
    58  int n_out_user; // number of output arguments
    +
    59  char *err; // Name
    +
    60  //char *package; //Name of octave package to be loaded
    +
    61  FUNCARGS *argument;
    +
    62  } FUNCCALL;
    +
    63 
    +
    64  int fun(FUNCARGS *arr, FUNCCALL *call);
    +
    65 }
    FUNCTYPE
    Definition: fun.h:19
    @ TYPE_DOUBLE
    Definition: fun.h:20
    -
    @ TYPE_STRING
    Definition: fun.h:21
    -
    int fun(FUNCARGS *arr, FUNCCALL *call)
    Function to Interact with Octave's API.
    Definition: fun.cpp:29
    -
    Definition: fun.h:25
    -
    Definition: fun.h:39
    +
    @ TYPE_STRUCT
    Definition: fun.h:23
    +
    @ TYPE_COMPLEX
    Definition: fun.h:21
    +
    @ TYPE_STRING
    Definition: fun.h:22
    +
    int fun(FUNCARGS *arr, FUNCCALL *call)
    API Function to call/receive and pass the data to fun API
    Definition: fun.cpp:30
    +
    Struct used to send/receive Scilab data to/from the gateway to fun.cpp API.
    Definition: fun.h:48
    +
    Struct used to call and pass the data to fun.cpp API.
    Definition: fun.h:73
    +
    Struct used to pass structs to Octave from the fun library.
    Definition: fun.h:32
    diff --git a/doc/latex/annotated.tex b/doc/latex/annotated.tex index ba5e301..16693c6 100644 --- a/doc/latex/annotated.tex +++ b/doc/latex/annotated.tex @@ -1,5 +1,6 @@ \doxysection{Class List} Here are the classes, structs, unions and interfaces with brief descriptions\+:\begin{DoxyCompactList} -\item\contentsline{section}{\mbox{\hyperlink{struct_f_u_n_c_a_r_g_s}{FUNCARGS}} }{\pageref{struct_f_u_n_c_a_r_g_s}}{} -\item\contentsline{section}{\mbox{\hyperlink{struct_f_u_n_c_c_a_l_l}{FUNCCALL}} }{\pageref{struct_f_u_n_c_c_a_l_l}}{} +\item\contentsline{section}{\mbox{\hyperlink{struct_f_u_n_c_a_r_g_s}{FUNCARGS}} \\*Struct used to send/receive Scilab data to/from the gateway to \mbox{\hyperlink{fun_8cpp}{fun.\+cpp}} API }{\pageref{struct_f_u_n_c_a_r_g_s}}{} +\item\contentsline{section}{\mbox{\hyperlink{struct_f_u_n_c_c_a_l_l}{FUNCCALL}} \\*Struct used to call and pass the data to \mbox{\hyperlink{fun_8cpp}{fun.\+cpp}} API }{\pageref{struct_f_u_n_c_c_a_l_l}}{} +\item\contentsline{section}{\mbox{\hyperlink{struct_f_u_n_c_s_t_r_u_c_t}{FUNCSTRUCT}} \\*Struct used to pass structs to Octave from the fun library }{\pageref{struct_f_u_n_c_s_t_r_u_c_t}}{} \end{DoxyCompactList} diff --git a/doc/latex/fun_8cpp.tex b/doc/latex/fun_8cpp.tex index 4f6a057..1650584 100644 --- a/doc/latex/fun_8cpp.tex +++ b/doc/latex/fun_8cpp.tex @@ -8,6 +8,7 @@ {\ttfamily \#include $<$octave/interpreter.\+h$>$}\newline {\ttfamily \#include $<$math.\+h$>$}\newline {\ttfamily \#include $<$string$>$}\newline +{\ttfamily \#include $<$cstring$>$}\newline {\ttfamily \#include \char`\"{}fun.\+h\char`\"{}}\newline \doxysubsection*{Functions} \begin{DoxyCompactItemize} @@ -27,4 +28,7 @@ int \mbox{\hyperlink{fun_8cpp_ab2457155d6e8298bdfd7bae4ffd01f80}{fun}} (\mbox{\h Function to Interact with Octave\textquotesingle{}s API. +API Function to call/receive and pass the data to fun API ~\newline + + This Function will be communicating with Octave to access it\textquotesingle{}s function. \ No newline at end of file diff --git a/doc/latex/refman.tex b/doc/latex/refman.tex index d5731f1..2bd6cf6 100644 --- a/doc/latex/refman.tex +++ b/doc/latex/refman.tex @@ -182,6 +182,7 @@ \chapter{Class Documentation} \input{struct_f_u_n_c_a_r_g_s} \input{struct_f_u_n_c_c_a_l_l} +\input{struct_f_u_n_c_s_t_r_u_c_t} \chapter{File Documentation} \input{_r_e_a_d_m_e_8md} \input{libscilab__octave_8cpp} diff --git a/doc/latex/sci__octave_8cpp.tex b/doc/latex/sci__octave_8cpp.tex index 308e881..5c9a2d3 100644 --- a/doc/latex/sci__octave_8cpp.tex +++ b/doc/latex/sci__octave_8cpp.tex @@ -33,4 +33,25 @@ int \mbox{\hyperlink{sci__octave_8cpp_a74f2258789a64de6417c6d8912144449}{sci\+\_ Function to connect to Scilab\textquotesingle{}s API. -This function will get Data from Scilab, proccess the data in Octave then return the output back to Scilab using the API. \ No newline at end of file +This function will get Data from Scilab, proccess the data in Octave then return the output back to Scilab using the API. + + +\begin{DoxyParams}{Parameters} +{\em env} & Scialb env \\ +\hline +{\em nin\mbox{[}in\mbox{]}} & Number of input arguments \\ +\hline +{\em in\mbox{[}in\mbox{]}} & Input Parameters \\ +\hline +{\em nopt\mbox{[}in\mbox{]}} & Number of optional parameters \\ +\hline +{\em opt\mbox{[}in\mbox{]}} & Optional parameters \\ +\hline +{\em nout\mbox{[}out\mbox{]}} & Number of expected output parametets \\ +\hline +{\em out\mbox{[}out\mbox{]}} & Array for output data \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +int +\end{DoxyReturn} diff --git a/doc/latex/src_2fun_8h.tex b/doc/latex/src_2fun_8h.tex index c19bfc3..1428746 100644 --- a/doc/latex/src_2fun_8h.tex +++ b/doc/latex/src_2fun_8h.tex @@ -3,10 +3,12 @@ \doxysubsection*{Classes} \begin{DoxyCompactItemize} \item +struct \mbox{\hyperlink{struct_f_u_n_c_s_t_r_u_c_t}{FUNCSTRUCT}} +\begin{DoxyCompactList}\small\item\em Struct used to pass structs to Octave from the fun library. \end{DoxyCompactList}\item struct \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s}{FUNCARGS}} -\item +\begin{DoxyCompactList}\small\item\em Struct used to send/receive Scilab data to/from the gateway to \mbox{\hyperlink{fun_8cpp}{fun.\+cpp}} API. \end{DoxyCompactList}\item struct \mbox{\hyperlink{struct_f_u_n_c_c_a_l_l}{FUNCCALL}} -\end{DoxyCompactItemize} +\begin{DoxyCompactList}\small\item\em Struct used to call and pass the data to \mbox{\hyperlink{fun_8cpp}{fun.\+cpp}} API. \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection*{Macros} \begin{DoxyCompactItemize} \item @@ -15,17 +17,24 @@ struct \mbox{\hyperlink{struct_f_u_n_c_c_a_l_l}{FUNCCALL}} \doxysubsection*{Enumerations} \begin{DoxyCompactItemize} \item -enum \mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134}{FUNCTYPE}} \{ \mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}{TYPE\+\_\+\+DOUBLE}} +enum \mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134}{FUNCTYPE}} \{ \newline +\mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}{TYPE\+\_\+\+DOUBLE}} +, \mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc}{TYPE\+\_\+\+COMPLEX}} , \mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a}{TYPE\+\_\+\+STRING}} -, \mbox{\hyperlink{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}{TYPE\+\_\+\+DOUBLE}} +, \mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c}{TYPE\+\_\+\+STRUCT}} +, \newline +\mbox{\hyperlink{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}{TYPE\+\_\+\+DOUBLE}} +, \mbox{\hyperlink{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc}{TYPE\+\_\+\+COMPLEX}} , \mbox{\hyperlink{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a}{TYPE\+\_\+\+STRING}} +, \mbox{\hyperlink{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c}{TYPE\+\_\+\+STRUCT}} \} \end{DoxyCompactItemize} \doxysubsection*{Functions} \begin{DoxyCompactItemize} \item int \mbox{\hyperlink{src_2fun_8h_adda0eaf7454844236de53495b494cdd4}{fun}} (\mbox{\hyperlink{struct_f_u_n_c_a_r_g_s}{FUNCARGS}} $\ast$arr, \mbox{\hyperlink{struct_f_u_n_c_c_a_l_l}{FUNCCALL}} $\ast$call) -\begin{DoxyCompactList}\small\item\em Function to Interact with Octave\textquotesingle{}s API. \end{DoxyCompactList}\end{DoxyCompactItemize} +\begin{DoxyCompactList}\small\item\em API Function to call/receive and pass the data to fun API ~\newline + \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection{Macro Definition Documentation} @@ -46,21 +55,37 @@ int \mbox{\hyperlink{src_2fun_8h_adda0eaf7454844236de53495b494cdd4}{fun}} (\mbox \begin{DoxyEnumFields}{Enumerator} \raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_DOUBLE@{TYPE\_DOUBLE}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_DOUBLE@{TYPE\_DOUBLE}}}\mbox{\Hypertarget{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}\label{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}} -TYPE\+\_\+\+DOUBLE&\\ +TYPE\+\_\+\+DOUBLE&similar to scilab double \\ +\hline + +\raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_COMPLEX@{TYPE\_COMPLEX}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_COMPLEX@{TYPE\_COMPLEX}}}\mbox{\Hypertarget{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc}\label{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc}} +TYPE\+\_\+\+COMPLEX&similar to scilab complex \\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_STRING@{TYPE\_STRING}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_STRING@{TYPE\_STRING}}}\mbox{\Hypertarget{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a}\label{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a}} -TYPE\+\_\+\+STRING&\\ +TYPE\+\_\+\+STRING&similar to scilab string \\ +\hline + +\raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_STRUCT@{TYPE\_STRUCT}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_STRUCT@{TYPE\_STRUCT}}}\mbox{\Hypertarget{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c}\label{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c}} +TYPE\+\_\+\+STRUCT&similar to scilab struct \\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_DOUBLE@{TYPE\_DOUBLE}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_DOUBLE@{TYPE\_DOUBLE}}}\mbox{\Hypertarget{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}\label{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}} TYPE\+\_\+\+DOUBLE&\\ \hline +\raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_COMPLEX@{TYPE\_COMPLEX}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_COMPLEX@{TYPE\_COMPLEX}}}\mbox{\Hypertarget{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc}\label{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc}} +TYPE\+\_\+\+COMPLEX&\\ +\hline + \raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_STRING@{TYPE\_STRING}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_STRING@{TYPE\_STRING}}}\mbox{\Hypertarget{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a}\label{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a}} TYPE\+\_\+\+STRING&\\ \hline +\raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_STRUCT@{TYPE\_STRUCT}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_STRUCT@{TYPE\_STRUCT}}}\mbox{\Hypertarget{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c}\label{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c}} +TYPE\+\_\+\+STRUCT&\\ +\hline + \end{DoxyEnumFields} @@ -73,6 +98,20 @@ TYPE\+\_\+\+STRING&\\ -Function to Interact with Octave\textquotesingle{}s API. +API Function to call/receive and pass the data to fun API ~\newline + + + +\begin{DoxyParams}{Parameters} +{\em arr} & Input data \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s}{FUNCARGS}} \\ +\hline +{\em call} & Input Arguments \mbox{\hyperlink{struct_f_u_n_c_c_a_l_l}{FUNCCALL}} \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Returns} +int Status Code +\end{DoxyReturn} +API Function to call/receive and pass the data to fun API ~\newline + This Function will be communicating with Octave to access it\textquotesingle{}s function. \ No newline at end of file diff --git a/doc/latex/struct_f_u_n_c_a_r_g_s.tex b/doc/latex/struct_f_u_n_c_a_r_g_s.tex index 517defa..891d6a6 100644 --- a/doc/latex/struct_f_u_n_c_a_r_g_s.tex +++ b/doc/latex/struct_f_u_n_c_a_r_g_s.tex @@ -2,6 +2,11 @@ \label{struct_f_u_n_c_a_r_g_s}\index{FUNCARGS@{FUNCARGS}} +Struct used to send/receive Scilab data to/from the gateway to \mbox{\hyperlink{fun_8cpp}{fun.\+cpp}} API. + + + + {\ttfamily \#include $<$fun.\+h$>$} \doxysubsection*{Public Attributes} @@ -13,14 +18,22 @@ int \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_a5072b853699aed6ed5cff33a6e48b71d}{n \item int \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_a57dd8f6ba533785f3c654289054a9d37}{n\+\_\+in\+\_\+cols}} \item +int \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_a3f38c9b21450c6842913df42db54ae4d}{n\+\_\+in\+\_\+struct\+\_\+len}} +\item int \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_accf1038c5390a90bd8465916452918cc}{n\+\_\+out\+\_\+rows}} \item int \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_a07cd1a0775fad3da2e3a6d3cb941d3e9}{n\+\_\+out\+\_\+cols}} \item +int \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_a418164a53b8efbfe39439fd7ebe52172}{n\+\_\+out\+\_\+struct\+\_\+len}} +\item int \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_a6993c7529d472e393bf6d8b62eee4eb9}{is\+\_\+in\+\_\+cmplx}} \item int \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_a25918ade41c7afafb4a851e6845ac554}{is\+\_\+out\+\_\+cmplx}} \item +int \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_a23897aefce90b1a055e408ef209daab6}{is\+\_\+out\+\_\+struct}} +\item +int \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_a5e7fbc7ebf438985fcc91b800a67240e}{is\+\_\+out\+\_\+string}} +\item void $\ast$ \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_afb520ee91cd773811ae5223113c8a82d}{in\+\_\+data\+\_\+real}} \item void $\ast$ \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_aeea2f16c973c70f31ac07d234d509161}{in\+\_\+data\+\_\+img}} @@ -28,9 +41,16 @@ void $\ast$ \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_aeea2f16c973c70f31ac07d234d5 void $\ast$ \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_a1ab002ae3f19574b5d7e0469187501f4}{out\+\_\+data\+\_\+real}} \item void $\ast$ \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_a057c2aa9db10a409e7b9da3b5f0f17f2}{out\+\_\+data\+\_\+img}} +\item +\mbox{\hyperlink{struct_f_u_n_c_s_t_r_u_c_t}{FUNCSTRUCT}} $\ast$ \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_aabfc4b5433234d1272a8db4a1531ba79}{in\+\_\+struct}} +\item +\mbox{\hyperlink{struct_f_u_n_c_s_t_r_u_c_t}{FUNCSTRUCT}} $\ast$ \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_abb34bfaef96a2e29c65591046c504754}{out\+\_\+struct}} \end{DoxyCompactItemize} +\doxysubsection{Detailed Description} +Struct used to send/receive Scilab data to/from the gateway to \mbox{\hyperlink{fun_8cpp}{fun.\+cpp}} API. + \doxysubsection{Member Data Documentation} \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_aeea2f16c973c70f31ac07d234d509161}\label{struct_f_u_n_c_a_r_g_s_aeea2f16c973c70f31ac07d234d509161}} \index{FUNCARGS@{FUNCARGS}!in\_data\_img@{in\_data\_img}} @@ -38,67 +58,104 @@ void $\ast$ \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s_a057c2aa9db10a409e7b9da3b5f0 \doxysubsubsection{\texorpdfstring{in\_data\_img}{in\_data\_img}} {\footnotesize\ttfamily void $\ast$ FUNCARGS\+::in\+\_\+data\+\_\+img} -\mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_afb520ee91cd773811ae5223113c8a82d}\label{struct_f_u_n_c_a_r_g_s_afb520ee91cd773811ae5223113c8a82d}} +Input imaginary part (complex) array \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_afb520ee91cd773811ae5223113c8a82d}\label{struct_f_u_n_c_a_r_g_s_afb520ee91cd773811ae5223113c8a82d}} \index{FUNCARGS@{FUNCARGS}!in\_data\_real@{in\_data\_real}} \index{in\_data\_real@{in\_data\_real}!FUNCARGS@{FUNCARGS}} \doxysubsubsection{\texorpdfstring{in\_data\_real}{in\_data\_real}} {\footnotesize\ttfamily void $\ast$ FUNCARGS\+::in\+\_\+data\+\_\+real} -\mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a6993c7529d472e393bf6d8b62eee4eb9}\label{struct_f_u_n_c_a_r_g_s_a6993c7529d472e393bf6d8b62eee4eb9}} +Input real part (complex) array \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_aabfc4b5433234d1272a8db4a1531ba79}\label{struct_f_u_n_c_a_r_g_s_aabfc4b5433234d1272a8db4a1531ba79}} +\index{FUNCARGS@{FUNCARGS}!in\_struct@{in\_struct}} +\index{in\_struct@{in\_struct}!FUNCARGS@{FUNCARGS}} +\doxysubsubsection{\texorpdfstring{in\_struct}{in\_struct}} +{\footnotesize\ttfamily \mbox{\hyperlink{struct_f_u_n_c_s_t_r_u_c_t}{FUNCSTRUCT}} $\ast$ FUNCARGS\+::in\+\_\+struct} + +Input struct \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a6993c7529d472e393bf6d8b62eee4eb9}\label{struct_f_u_n_c_a_r_g_s_a6993c7529d472e393bf6d8b62eee4eb9}} \index{FUNCARGS@{FUNCARGS}!is\_in\_cmplx@{is\_in\_cmplx}} \index{is\_in\_cmplx@{is\_in\_cmplx}!FUNCARGS@{FUNCARGS}} \doxysubsubsection{\texorpdfstring{is\_in\_cmplx}{is\_in\_cmplx}} {\footnotesize\ttfamily int FUNCARGS\+::is\+\_\+in\+\_\+cmplx} -\mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a25918ade41c7afafb4a851e6845ac554}\label{struct_f_u_n_c_a_r_g_s_a25918ade41c7afafb4a851e6845ac554}} +Input is a Complex data type \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a25918ade41c7afafb4a851e6845ac554}\label{struct_f_u_n_c_a_r_g_s_a25918ade41c7afafb4a851e6845ac554}} \index{FUNCARGS@{FUNCARGS}!is\_out\_cmplx@{is\_out\_cmplx}} \index{is\_out\_cmplx@{is\_out\_cmplx}!FUNCARGS@{FUNCARGS}} \doxysubsubsection{\texorpdfstring{is\_out\_cmplx}{is\_out\_cmplx}} {\footnotesize\ttfamily int FUNCARGS\+::is\+\_\+out\+\_\+cmplx} -\mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a57dd8f6ba533785f3c654289054a9d37}\label{struct_f_u_n_c_a_r_g_s_a57dd8f6ba533785f3c654289054a9d37}} +Output is a Complex data type \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a5e7fbc7ebf438985fcc91b800a67240e}\label{struct_f_u_n_c_a_r_g_s_a5e7fbc7ebf438985fcc91b800a67240e}} +\index{FUNCARGS@{FUNCARGS}!is\_out\_string@{is\_out\_string}} +\index{is\_out\_string@{is\_out\_string}!FUNCARGS@{FUNCARGS}} +\doxysubsubsection{\texorpdfstring{is\_out\_string}{is\_out\_string}} +{\footnotesize\ttfamily int FUNCARGS\+::is\+\_\+out\+\_\+string} + +Output is a String data type \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a23897aefce90b1a055e408ef209daab6}\label{struct_f_u_n_c_a_r_g_s_a23897aefce90b1a055e408ef209daab6}} +\index{FUNCARGS@{FUNCARGS}!is\_out\_struct@{is\_out\_struct}} +\index{is\_out\_struct@{is\_out\_struct}!FUNCARGS@{FUNCARGS}} +\doxysubsubsection{\texorpdfstring{is\_out\_struct}{is\_out\_struct}} +{\footnotesize\ttfamily int FUNCARGS\+::is\+\_\+out\+\_\+struct} + +Output is a Struct data type \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a57dd8f6ba533785f3c654289054a9d37}\label{struct_f_u_n_c_a_r_g_s_a57dd8f6ba533785f3c654289054a9d37}} \index{FUNCARGS@{FUNCARGS}!n\_in\_cols@{n\_in\_cols}} \index{n\_in\_cols@{n\_in\_cols}!FUNCARGS@{FUNCARGS}} \doxysubsubsection{\texorpdfstring{n\_in\_cols}{n\_in\_cols}} {\footnotesize\ttfamily int FUNCARGS\+::n\+\_\+in\+\_\+cols} -\mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a5072b853699aed6ed5cff33a6e48b71d}\label{struct_f_u_n_c_a_r_g_s_a5072b853699aed6ed5cff33a6e48b71d}} +Input cols dimension of data \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a5072b853699aed6ed5cff33a6e48b71d}\label{struct_f_u_n_c_a_r_g_s_a5072b853699aed6ed5cff33a6e48b71d}} \index{FUNCARGS@{FUNCARGS}!n\_in\_rows@{n\_in\_rows}} \index{n\_in\_rows@{n\_in\_rows}!FUNCARGS@{FUNCARGS}} \doxysubsubsection{\texorpdfstring{n\_in\_rows}{n\_in\_rows}} {\footnotesize\ttfamily int FUNCARGS\+::n\+\_\+in\+\_\+rows} -\mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a07cd1a0775fad3da2e3a6d3cb941d3e9}\label{struct_f_u_n_c_a_r_g_s_a07cd1a0775fad3da2e3a6d3cb941d3e9}} +Input rows dimension of data \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a3f38c9b21450c6842913df42db54ae4d}\label{struct_f_u_n_c_a_r_g_s_a3f38c9b21450c6842913df42db54ae4d}} +\index{FUNCARGS@{FUNCARGS}!n\_in\_struct\_len@{n\_in\_struct\_len}} +\index{n\_in\_struct\_len@{n\_in\_struct\_len}!FUNCARGS@{FUNCARGS}} +\doxysubsubsection{\texorpdfstring{n\_in\_struct\_len}{n\_in\_struct\_len}} +{\footnotesize\ttfamily int FUNCARGS\+::n\+\_\+in\+\_\+struct\+\_\+len} + +input struct length \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a07cd1a0775fad3da2e3a6d3cb941d3e9}\label{struct_f_u_n_c_a_r_g_s_a07cd1a0775fad3da2e3a6d3cb941d3e9}} \index{FUNCARGS@{FUNCARGS}!n\_out\_cols@{n\_out\_cols}} \index{n\_out\_cols@{n\_out\_cols}!FUNCARGS@{FUNCARGS}} \doxysubsubsection{\texorpdfstring{n\_out\_cols}{n\_out\_cols}} {\footnotesize\ttfamily int FUNCARGS\+::n\+\_\+out\+\_\+cols} -\mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_accf1038c5390a90bd8465916452918cc}\label{struct_f_u_n_c_a_r_g_s_accf1038c5390a90bd8465916452918cc}} +Output cold dimension of data \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_accf1038c5390a90bd8465916452918cc}\label{struct_f_u_n_c_a_r_g_s_accf1038c5390a90bd8465916452918cc}} \index{FUNCARGS@{FUNCARGS}!n\_out\_rows@{n\_out\_rows}} \index{n\_out\_rows@{n\_out\_rows}!FUNCARGS@{FUNCARGS}} \doxysubsubsection{\texorpdfstring{n\_out\_rows}{n\_out\_rows}} {\footnotesize\ttfamily int FUNCARGS\+::n\+\_\+out\+\_\+rows} -\mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a057c2aa9db10a409e7b9da3b5f0f17f2}\label{struct_f_u_n_c_a_r_g_s_a057c2aa9db10a409e7b9da3b5f0f17f2}} +Ouput rows dimension of data \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a418164a53b8efbfe39439fd7ebe52172}\label{struct_f_u_n_c_a_r_g_s_a418164a53b8efbfe39439fd7ebe52172}} +\index{FUNCARGS@{FUNCARGS}!n\_out\_struct\_len@{n\_out\_struct\_len}} +\index{n\_out\_struct\_len@{n\_out\_struct\_len}!FUNCARGS@{FUNCARGS}} +\doxysubsubsection{\texorpdfstring{n\_out\_struct\_len}{n\_out\_struct\_len}} +{\footnotesize\ttfamily int FUNCARGS\+::n\+\_\+out\+\_\+struct\+\_\+len} + +Output struct length \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a057c2aa9db10a409e7b9da3b5f0f17f2}\label{struct_f_u_n_c_a_r_g_s_a057c2aa9db10a409e7b9da3b5f0f17f2}} \index{FUNCARGS@{FUNCARGS}!out\_data\_img@{out\_data\_img}} \index{out\_data\_img@{out\_data\_img}!FUNCARGS@{FUNCARGS}} \doxysubsubsection{\texorpdfstring{out\_data\_img}{out\_data\_img}} {\footnotesize\ttfamily void $\ast$ FUNCARGS\+::out\+\_\+data\+\_\+img} -\mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a1ab002ae3f19574b5d7e0469187501f4}\label{struct_f_u_n_c_a_r_g_s_a1ab002ae3f19574b5d7e0469187501f4}} +Output imaginary part (complex) array \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a1ab002ae3f19574b5d7e0469187501f4}\label{struct_f_u_n_c_a_r_g_s_a1ab002ae3f19574b5d7e0469187501f4}} \index{FUNCARGS@{FUNCARGS}!out\_data\_real@{out\_data\_real}} \index{out\_data\_real@{out\_data\_real}!FUNCARGS@{FUNCARGS}} \doxysubsubsection{\texorpdfstring{out\_data\_real}{out\_data\_real}} {\footnotesize\ttfamily void $\ast$ FUNCARGS\+::out\+\_\+data\+\_\+real} -\mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a580ae591432835016133e2ada44be2c9}\label{struct_f_u_n_c_a_r_g_s_a580ae591432835016133e2ada44be2c9}} +Output real part (complex) array \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_abb34bfaef96a2e29c65591046c504754}\label{struct_f_u_n_c_a_r_g_s_abb34bfaef96a2e29c65591046c504754}} +\index{FUNCARGS@{FUNCARGS}!out\_struct@{out\_struct}} +\index{out\_struct@{out\_struct}!FUNCARGS@{FUNCARGS}} +\doxysubsubsection{\texorpdfstring{out\_struct}{out\_struct}} +{\footnotesize\ttfamily \mbox{\hyperlink{struct_f_u_n_c_s_t_r_u_c_t}{FUNCSTRUCT}} $\ast$ FUNCARGS\+::out\+\_\+struct} + +Output struct \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a580ae591432835016133e2ada44be2c9}\label{struct_f_u_n_c_a_r_g_s_a580ae591432835016133e2ada44be2c9}} \index{FUNCARGS@{FUNCARGS}!type@{type}} \index{type@{type}!FUNCARGS@{FUNCARGS}} \doxysubsubsection{\texorpdfstring{type}{type}} {\footnotesize\ttfamily \mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134}{FUNCTYPE}} FUNCARGS\+::type} - +Type of data ~\newline + The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} \item diff --git a/doc/latex/struct_f_u_n_c_c_a_l_l.tex b/doc/latex/struct_f_u_n_c_c_a_l_l.tex index 672393e..081134b 100644 --- a/doc/latex/struct_f_u_n_c_c_a_l_l.tex +++ b/doc/latex/struct_f_u_n_c_c_a_l_l.tex @@ -2,6 +2,11 @@ \label{struct_f_u_n_c_c_a_l_l}\index{FUNCCALL@{FUNCCALL}} +Struct used to call and pass the data to \mbox{\hyperlink{fun_8cpp}{fun.\+cpp}} API. + + + + {\ttfamily \#include $<$fun.\+h$>$} \doxysubsection*{Public Attributes} @@ -19,6 +24,9 @@ char $\ast$ \mbox{\hyperlink{struct_f_u_n_c_c_a_l_l_afbac69a2aa8ae198e46614a2e12 \end{DoxyCompactItemize} +\doxysubsection{Detailed Description} +Struct used to call and pass the data to \mbox{\hyperlink{fun_8cpp}{fun.\+cpp}} API. + \doxysubsection{Member Data Documentation} \mbox{\Hypertarget{struct_f_u_n_c_c_a_l_l_a6ae4ef88bdc4be97e5363448f9522beb}\label{struct_f_u_n_c_c_a_l_l_a6ae4ef88bdc4be97e5363448f9522beb}} \index{FUNCCALL@{FUNCCALL}!argument@{argument}} @@ -26,31 +34,31 @@ char $\ast$ \mbox{\hyperlink{struct_f_u_n_c_c_a_l_l_afbac69a2aa8ae198e46614a2e12 \doxysubsubsection{\texorpdfstring{argument}{argument}} {\footnotesize\ttfamily \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s}{FUNCARGS}} $\ast$ FUNCCALL\+::argument} -\mbox{\Hypertarget{struct_f_u_n_c_c_a_l_l_afbac69a2aa8ae198e46614a2e1228a56}\label{struct_f_u_n_c_c_a_l_l_afbac69a2aa8ae198e46614a2e1228a56}} +Struct defining and containing the data \mbox{\Hypertarget{struct_f_u_n_c_c_a_l_l_afbac69a2aa8ae198e46614a2e1228a56}\label{struct_f_u_n_c_c_a_l_l_afbac69a2aa8ae198e46614a2e1228a56}} \index{FUNCCALL@{FUNCCALL}!err@{err}} \index{err@{err}!FUNCCALL@{FUNCCALL}} \doxysubsubsection{\texorpdfstring{err}{err}} {\footnotesize\ttfamily char $\ast$ FUNCCALL\+::err} -\mbox{\Hypertarget{struct_f_u_n_c_c_a_l_l_a15b282cd4eb7e33fe14aaea926b1a98a}\label{struct_f_u_n_c_c_a_l_l_a15b282cd4eb7e33fe14aaea926b1a98a}} +Return errors \mbox{\Hypertarget{struct_f_u_n_c_c_a_l_l_a15b282cd4eb7e33fe14aaea926b1a98a}\label{struct_f_u_n_c_c_a_l_l_a15b282cd4eb7e33fe14aaea926b1a98a}} \index{FUNCCALL@{FUNCCALL}!n\_in\_arguments@{n\_in\_arguments}} \index{n\_in\_arguments@{n\_in\_arguments}!FUNCCALL@{FUNCCALL}} \doxysubsubsection{\texorpdfstring{n\_in\_arguments}{n\_in\_arguments}} {\footnotesize\ttfamily int FUNCCALL\+::n\+\_\+in\+\_\+arguments} -\mbox{\Hypertarget{struct_f_u_n_c_c_a_l_l_a4c3ce57d43862cda7780e020e6ce2349}\label{struct_f_u_n_c_c_a_l_l_a4c3ce57d43862cda7780e020e6ce2349}} +Number of input arguments \mbox{\Hypertarget{struct_f_u_n_c_c_a_l_l_a4c3ce57d43862cda7780e020e6ce2349}\label{struct_f_u_n_c_c_a_l_l_a4c3ce57d43862cda7780e020e6ce2349}} \index{FUNCCALL@{FUNCCALL}!n\_out\_arguments@{n\_out\_arguments}} \index{n\_out\_arguments@{n\_out\_arguments}!FUNCCALL@{FUNCCALL}} \doxysubsubsection{\texorpdfstring{n\_out\_arguments}{n\_out\_arguments}} {\footnotesize\ttfamily int FUNCCALL\+::n\+\_\+out\+\_\+arguments} -\mbox{\Hypertarget{struct_f_u_n_c_c_a_l_l_a964c4a02c04884e73bd261aa10180d4e}\label{struct_f_u_n_c_c_a_l_l_a964c4a02c04884e73bd261aa10180d4e}} +Number of output arguments \mbox{\Hypertarget{struct_f_u_n_c_c_a_l_l_a964c4a02c04884e73bd261aa10180d4e}\label{struct_f_u_n_c_c_a_l_l_a964c4a02c04884e73bd261aa10180d4e}} \index{FUNCCALL@{FUNCCALL}!n\_out\_user@{n\_out\_user}} \index{n\_out\_user@{n\_out\_user}!FUNCCALL@{FUNCCALL}} \doxysubsubsection{\texorpdfstring{n\_out\_user}{n\_out\_user}} {\footnotesize\ttfamily int FUNCCALL\+::n\+\_\+out\+\_\+user} - +Number of output arguements expected to be returned The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} \item diff --git a/doc/latex/struct_f_u_n_c_s_t_r_u_c_t.tex b/doc/latex/struct_f_u_n_c_s_t_r_u_c_t.tex new file mode 100644 index 0000000..44f4c2f --- /dev/null +++ b/doc/latex/struct_f_u_n_c_s_t_r_u_c_t.tex @@ -0,0 +1,81 @@ +\hypertarget{struct_f_u_n_c_s_t_r_u_c_t}{}\doxysection{FUNCSTRUCT Struct Reference} +\label{struct_f_u_n_c_s_t_r_u_c_t}\index{FUNCSTRUCT@{FUNCSTRUCT}} + + +Struct used to pass structs to Octave from the fun library. + + + + +{\ttfamily \#include $<$fun.\+h$>$} + +\doxysubsection*{Public Attributes} +\begin{DoxyCompactItemize} +\item +\mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134}{FUNCTYPE}} \mbox{\hyperlink{struct_f_u_n_c_s_t_r_u_c_t_a03c3251e6292eeca88505406761e4fd7}{type}} +\item +void $\ast$ \mbox{\hyperlink{struct_f_u_n_c_s_t_r_u_c_t_ae298630243ee8fadf8503dd4fd81f52b}{key}} +\item +int \mbox{\hyperlink{struct_f_u_n_c_s_t_r_u_c_t_a7512f24fd057d4d93074e9a5c7951157}{rows}} +\item +int \mbox{\hyperlink{struct_f_u_n_c_s_t_r_u_c_t_ad40fd4328e821e9eaa553bbdf5c83bba}{cols}} +\item +void $\ast$ \mbox{\hyperlink{struct_f_u_n_c_s_t_r_u_c_t_a91ce1300dd1b9c3b18ac38c34171d679}{data\+Real}} +\item +void $\ast$ \mbox{\hyperlink{struct_f_u_n_c_s_t_r_u_c_t_ae7fbe0037ac898a607fe3648afa61be2}{data\+Img}} +\item +void $\ast$ \mbox{\hyperlink{struct_f_u_n_c_s_t_r_u_c_t_a175d20292e70fd1fb89e40d6d128653d}{str}} +\end{DoxyCompactItemize} + + +\doxysubsection{Detailed Description} +Struct used to pass structs to Octave from the fun library. + +\doxysubsection{Member Data Documentation} +\mbox{\Hypertarget{struct_f_u_n_c_s_t_r_u_c_t_ad40fd4328e821e9eaa553bbdf5c83bba}\label{struct_f_u_n_c_s_t_r_u_c_t_ad40fd4328e821e9eaa553bbdf5c83bba}} +\index{FUNCSTRUCT@{FUNCSTRUCT}!cols@{cols}} +\index{cols@{cols}!FUNCSTRUCT@{FUNCSTRUCT}} +\doxysubsubsection{\texorpdfstring{cols}{cols}} +{\footnotesize\ttfamily int FUNCSTRUCT\+::cols} + +cols dimension of struct fields\textquotesingle{} value \mbox{\Hypertarget{struct_f_u_n_c_s_t_r_u_c_t_ae7fbe0037ac898a607fe3648afa61be2}\label{struct_f_u_n_c_s_t_r_u_c_t_ae7fbe0037ac898a607fe3648afa61be2}} +\index{FUNCSTRUCT@{FUNCSTRUCT}!dataImg@{dataImg}} +\index{dataImg@{dataImg}!FUNCSTRUCT@{FUNCSTRUCT}} +\doxysubsubsection{\texorpdfstring{dataImg}{dataImg}} +{\footnotesize\ttfamily void $\ast$ FUNCSTRUCT\+::data\+Img} + +Img data if struct field\textquotesingle{}s value is complex \mbox{\Hypertarget{struct_f_u_n_c_s_t_r_u_c_t_a91ce1300dd1b9c3b18ac38c34171d679}\label{struct_f_u_n_c_s_t_r_u_c_t_a91ce1300dd1b9c3b18ac38c34171d679}} +\index{FUNCSTRUCT@{FUNCSTRUCT}!dataReal@{dataReal}} +\index{dataReal@{dataReal}!FUNCSTRUCT@{FUNCSTRUCT}} +\doxysubsubsection{\texorpdfstring{dataReal}{dataReal}} +{\footnotesize\ttfamily void $\ast$ FUNCSTRUCT\+::data\+Real} + +Real data if struct field\textquotesingle{}s value is real \mbox{\Hypertarget{struct_f_u_n_c_s_t_r_u_c_t_ae298630243ee8fadf8503dd4fd81f52b}\label{struct_f_u_n_c_s_t_r_u_c_t_ae298630243ee8fadf8503dd4fd81f52b}} +\index{FUNCSTRUCT@{FUNCSTRUCT}!key@{key}} +\index{key@{key}!FUNCSTRUCT@{FUNCSTRUCT}} +\doxysubsubsection{\texorpdfstring{key}{key}} +{\footnotesize\ttfamily void $\ast$ FUNCSTRUCT\+::key} + +key of struct field \mbox{\Hypertarget{struct_f_u_n_c_s_t_r_u_c_t_a7512f24fd057d4d93074e9a5c7951157}\label{struct_f_u_n_c_s_t_r_u_c_t_a7512f24fd057d4d93074e9a5c7951157}} +\index{FUNCSTRUCT@{FUNCSTRUCT}!rows@{rows}} +\index{rows@{rows}!FUNCSTRUCT@{FUNCSTRUCT}} +\doxysubsubsection{\texorpdfstring{rows}{rows}} +{\footnotesize\ttfamily int FUNCSTRUCT\+::rows} + +rows dimension of struct field\textquotesingle{}s value \mbox{\Hypertarget{struct_f_u_n_c_s_t_r_u_c_t_a175d20292e70fd1fb89e40d6d128653d}\label{struct_f_u_n_c_s_t_r_u_c_t_a175d20292e70fd1fb89e40d6d128653d}} +\index{FUNCSTRUCT@{FUNCSTRUCT}!str@{str}} +\index{str@{str}!FUNCSTRUCT@{FUNCSTRUCT}} +\doxysubsubsection{\texorpdfstring{str}{str}} +{\footnotesize\ttfamily void $\ast$ FUNCSTRUCT\+::str} + +String data if struct field\textquotesingle{}s value is string \mbox{\Hypertarget{struct_f_u_n_c_s_t_r_u_c_t_a03c3251e6292eeca88505406761e4fd7}\label{struct_f_u_n_c_s_t_r_u_c_t_a03c3251e6292eeca88505406761e4fd7}} +\index{FUNCSTRUCT@{FUNCSTRUCT}!type@{type}} +\index{type@{type}!FUNCSTRUCT@{FUNCSTRUCT}} +\doxysubsubsection{\texorpdfstring{type}{type}} +{\footnotesize\ttfamily \mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134}{FUNCTYPE}} FUNCSTRUCT\+::type} + +Type of value in struct\textquotesingle{}s field + +The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} +\item +src/\mbox{\hyperlink{src_2fun_8h}{fun.\+h}}\end{DoxyCompactItemize} diff --git a/doc/latex/thirdparty_2linux_2include_2fun_8h.tex b/doc/latex/thirdparty_2linux_2include_2fun_8h.tex index ea369bc..f2dcaf9 100644 --- a/doc/latex/thirdparty_2linux_2include_2fun_8h.tex +++ b/doc/latex/thirdparty_2linux_2include_2fun_8h.tex @@ -3,10 +3,12 @@ \doxysubsection*{Classes} \begin{DoxyCompactItemize} \item +struct \mbox{\hyperlink{struct_f_u_n_c_s_t_r_u_c_t}{FUNCSTRUCT}} +\begin{DoxyCompactList}\small\item\em Struct used to pass structs to Octave from the fun library. \end{DoxyCompactList}\item struct \mbox{\hyperlink{struct_f_u_n_c_a_r_g_s}{FUNCARGS}} -\item +\begin{DoxyCompactList}\small\item\em Struct used to send/receive Scilab data to/from the gateway to \mbox{\hyperlink{fun_8cpp}{fun.\+cpp}} API. \end{DoxyCompactList}\item struct \mbox{\hyperlink{struct_f_u_n_c_c_a_l_l}{FUNCCALL}} -\end{DoxyCompactItemize} +\begin{DoxyCompactList}\small\item\em Struct used to call and pass the data to \mbox{\hyperlink{fun_8cpp}{fun.\+cpp}} API. \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection*{Macros} \begin{DoxyCompactItemize} \item @@ -15,10 +17,16 @@ struct \mbox{\hyperlink{struct_f_u_n_c_c_a_l_l}{FUNCCALL}} \doxysubsection*{Enumerations} \begin{DoxyCompactItemize} \item -enum \mbox{\hyperlink{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134}{FUNCTYPE}} \{ \mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}{TYPE\+\_\+\+DOUBLE}} +enum \mbox{\hyperlink{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134}{FUNCTYPE}} \{ \newline +\mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}{TYPE\+\_\+\+DOUBLE}} +, \mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc}{TYPE\+\_\+\+COMPLEX}} , \mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a}{TYPE\+\_\+\+STRING}} -, \mbox{\hyperlink{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}{TYPE\+\_\+\+DOUBLE}} +, \mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c}{TYPE\+\_\+\+STRUCT}} +, \newline +\mbox{\hyperlink{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}{TYPE\+\_\+\+DOUBLE}} +, \mbox{\hyperlink{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc}{TYPE\+\_\+\+COMPLEX}} , \mbox{\hyperlink{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a}{TYPE\+\_\+\+STRING}} +, \mbox{\hyperlink{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c}{TYPE\+\_\+\+STRUCT}} \} \end{DoxyCompactItemize} \doxysubsection*{Functions} @@ -46,21 +54,37 @@ int \mbox{\hyperlink{thirdparty_2linux_2include_2fun_8h_adda0eaf7454844236de5349 \begin{DoxyEnumFields}{Enumerator} \raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_DOUBLE@{TYPE\_DOUBLE}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_DOUBLE@{TYPE\_DOUBLE}}}\mbox{\Hypertarget{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}\label{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}} -TYPE\+\_\+\+DOUBLE&\\ +TYPE\+\_\+\+DOUBLE&similar to scilab double \\ +\hline + +\raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_COMPLEX@{TYPE\_COMPLEX}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_COMPLEX@{TYPE\_COMPLEX}}}\mbox{\Hypertarget{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc}\label{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc}} +TYPE\+\_\+\+COMPLEX&similar to scilab complex \\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_STRING@{TYPE\_STRING}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_STRING@{TYPE\_STRING}}}\mbox{\Hypertarget{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a}\label{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a}} -TYPE\+\_\+\+STRING&\\ +TYPE\+\_\+\+STRING&similar to scilab string \\ +\hline + +\raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_STRUCT@{TYPE\_STRUCT}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_STRUCT@{TYPE\_STRUCT}}}\mbox{\Hypertarget{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c}\label{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c}} +TYPE\+\_\+\+STRUCT&similar to scilab struct \\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_DOUBLE@{TYPE\_DOUBLE}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_DOUBLE@{TYPE\_DOUBLE}}}\mbox{\Hypertarget{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}\label{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}} TYPE\+\_\+\+DOUBLE&\\ \hline +\raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_COMPLEX@{TYPE\_COMPLEX}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_COMPLEX@{TYPE\_COMPLEX}}}\mbox{\Hypertarget{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc}\label{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a93b716b9a66d34b56d36773e5337f3dc}} +TYPE\+\_\+\+COMPLEX&\\ +\hline + \raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_STRING@{TYPE\_STRING}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_STRING@{TYPE\_STRING}}}\mbox{\Hypertarget{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a}\label{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a}} TYPE\+\_\+\+STRING&\\ \hline +\raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_STRUCT@{TYPE\_STRUCT}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_STRUCT@{TYPE\_STRUCT}}}\mbox{\Hypertarget{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c}\label{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c}} +TYPE\+\_\+\+STRUCT&\\ +\hline + \end{DoxyEnumFields} @@ -75,4 +99,7 @@ TYPE\+\_\+\+STRING&\\ Function to Interact with Octave\textquotesingle{}s API. +API Function to call/receive and pass the data to fun API ~\newline + + This Function will be communicating with Octave to access it\textquotesingle{}s function. \ No newline at end of file diff --git a/src/fun.h b/src/fun.h index 673ad70..bbc0926 100644 --- a/src/fun.h +++ b/src/fun.h @@ -16,32 +16,31 @@ extern "C" { /** - * - * @brief Enumeration for the data types suported by the fun() + * @brief Enumeration for the data types suported * */ typedef enum { - TYPE_DOUBLE, /**similar to scilab double*/ - TYPE_COMPLEX, /**similar to scilab complex*/ - TYPE_STRING, /**similar to scilab string*/ - TYPE_STRUCT, /**similar to scilab struct*/ + TYPE_DOUBLE, /** , TYPE_STRUCT
    } + Enumeration for the data types suported. More...
     

    @@ -172,6 +173,8 @@ Functions

    + +

    Enumeration for the data types suported.

    diff --git a/doc/html/src_2fun_8h_source.html b/doc/html/src_2fun_8h_source.html index 3e00205..e10560c 100644 --- a/doc/html/src_2fun_8h_source.html +++ b/doc/html/src_2fun_8h_source.html @@ -114,91 +114,90 @@ $(document).ready(function(){initNavTree('src_2fun_8h_source.html',''); initResi
    15 extern "C"
    16 {
    17 
    -
    18 
    -
    19  typedef enum {
    - - - - -
    24  }FUNCTYPE;
    -
    25 
    -
    32  typedef struct {
    - -
    34  void* key;
    -
    35  int rows;
    -
    36  int cols;
    -
    37  void* dataReal;
    -
    38  void* dataImg;
    -
    39  void* str;
    -
    41  } FUNCSTRUCT;
    -
    42 
    -
    48  typedef struct {
    - -
    51  int n_in_rows;
    -
    52  int n_in_cols;
    - -
    54  int n_out_rows;
    -
    55  int n_out_cols;
    - - - - - -
    61  void* in_data_real;
    -
    62  void* in_data_img;
    -
    63  void* out_data_real;
    -
    64  void* out_data_img;
    - - -
    68  } FUNCARGS;
    -
    73  typedef struct {
    - - -
    77  int n_out_user;
    -
    78  char *err;
    -
    79  //char *package; //Name of octave package to be loaded*/
    - -
    82  } FUNCCALL;
    -
    91  int fun(FUNCARGS *arr, FUNCCALL *call);
    -
    92 }
    -
    FUNCTYPE
    Definition: fun.h:19
    -
    @ TYPE_DOUBLE
    Definition: fun.h:20
    -
    @ TYPE_STRUCT
    Definition: fun.h:23
    -
    @ TYPE_COMPLEX
    Definition: fun.h:21
    -
    @ TYPE_STRING
    Definition: fun.h:22
    +
    22  typedef enum {
    + + + + +
    27  }FUNCTYPE;
    +
    28 
    +
    35  typedef struct {
    + +
    37  void* key;
    +
    38  int rows;
    +
    39  int cols;
    +
    40  void* dataReal;
    +
    41  void* dataImg;
    +
    42  void* str;
    +
    44  } FUNCSTRUCT;
    +
    45 
    +
    51  typedef struct {
    + +
    54  int n_in_rows;
    +
    55  int n_in_cols;
    + +
    57  int n_out_rows;
    +
    58  int n_out_cols;
    + + + + + +
    64  void* in_data_real;
    +
    65  void* in_data_img;
    +
    66  void* out_data_real;
    +
    67  void* out_data_img;
    + + +
    71  } FUNCARGS;
    +
    76  typedef struct {
    + + +
    80  int n_out_user;
    +
    81  char *err;
    +
    82  //char *package; //Name of octave package to be loaded*/
    + +
    85  } FUNCCALL;
    +
    94  int fun(FUNCARGS *arr, FUNCCALL *call);
    +
    95 }
    +
    FUNCTYPE
    Enumeration for the data types suported.
    Definition: fun.h:22
    +
    @ TYPE_DOUBLE
    Definition: fun.h:23
    +
    @ TYPE_STRUCT
    Definition: fun.h:26
    +
    @ TYPE_COMPLEX
    Definition: fun.h:24
    +
    @ TYPE_STRING
    Definition: fun.h:25
    int fun(FUNCARGS *arr, FUNCCALL *call)
    API Function to call/receive and pass the data to fun API
    Definition: fun.cpp:30
    -
    Struct used to send/receive Scilab data to/from the gateway to fun.cpp API.
    Definition: fun.h:48
    -
    void * out_data_img
    Definition: fun.h:64
    -
    int n_out_cols
    Definition: fun.h:55
    -
    void * out_data_real
    Definition: fun.h:63
    -
    int is_out_struct
    Definition: fun.h:59
    -
    int is_out_cmplx
    Definition: fun.h:58
    -
    int n_in_struct_len
    Definition: fun.h:53
    -
    int n_out_struct_len
    Definition: fun.h:56
    -
    int n_in_rows
    Definition: fun.h:51
    -
    int n_in_cols
    Definition: fun.h:52
    -
    FUNCTYPE type
    Definition: fun.h:50
    -
    int is_out_string
    Definition: fun.h:60
    -
    int is_in_cmplx
    Definition: fun.h:57
    -
    FUNCSTRUCT * in_struct
    Definition: fun.h:65
    -
    FUNCSTRUCT * out_struct
    Definition: fun.h:66
    -
    int n_out_rows
    Definition: fun.h:54
    -
    void * in_data_img
    Definition: fun.h:62
    -
    void * in_data_real
    Definition: fun.h:61
    -
    Struct used to call and pass the data to fun.cpp API.
    Definition: fun.h:73
    -
    int n_in_arguments
    Definition: fun.h:75
    -
    int n_out_arguments
    Definition: fun.h:76
    -
    FUNCARGS * argument
    Definition: fun.h:80
    -
    int n_out_user
    Definition: fun.h:77
    -
    char * err
    Definition: fun.h:78
    -
    Struct used to pass structs to Octave from the fun library.
    Definition: fun.h:32
    -
    FUNCTYPE type
    Definition: fun.h:33
    -
    void * str
    Definition: fun.h:39
    -
    int rows
    Definition: fun.h:35
    -
    void * dataReal
    Definition: fun.h:37
    -
    int cols
    Definition: fun.h:36
    -
    void * key
    Definition: fun.h:34
    -
    void * dataImg
    Definition: fun.h:38
    +
    Struct used to send/receive Scilab data to/from the gateway to fun.cpp API.
    Definition: fun.h:51
    +
    void * out_data_img
    Definition: fun.h:67
    +
    int n_out_cols
    Definition: fun.h:58
    +
    void * out_data_real
    Definition: fun.h:66
    +
    int is_out_struct
    Definition: fun.h:62
    +
    int is_out_cmplx
    Definition: fun.h:61
    +
    int n_in_struct_len
    Definition: fun.h:56
    +
    int n_out_struct_len
    Definition: fun.h:59
    +
    int n_in_rows
    Definition: fun.h:54
    +
    int n_in_cols
    Definition: fun.h:55
    +
    FUNCTYPE type
    Definition: fun.h:53
    +
    int is_out_string
    Definition: fun.h:63
    +
    int is_in_cmplx
    Definition: fun.h:60
    +
    FUNCSTRUCT * in_struct
    Definition: fun.h:68
    +
    FUNCSTRUCT * out_struct
    Definition: fun.h:69
    +
    int n_out_rows
    Definition: fun.h:57
    +
    void * in_data_img
    Definition: fun.h:65
    +
    void * in_data_real
    Definition: fun.h:64
    +
    Struct used to call and pass the data to fun.cpp API.
    Definition: fun.h:76
    +
    int n_in_arguments
    Definition: fun.h:78
    +
    int n_out_arguments
    Definition: fun.h:79
    +
    FUNCARGS * argument
    Definition: fun.h:83
    +
    int n_out_user
    Definition: fun.h:80
    +
    char * err
    Definition: fun.h:81
    +
    Struct used to pass structs to Octave from the fun library.
    Definition: fun.h:35
    +
    FUNCTYPE type
    Definition: fun.h:36
    +
    void * str
    Definition: fun.h:42
    +
    int rows
    Definition: fun.h:38
    +
    void * dataReal
    Definition: fun.h:40
    +
    int cols
    Definition: fun.h:39
    +
    void * key
    Definition: fun.h:37
    +
    void * dataImg
    Definition: fun.h:41
    diff --git a/doc/html/struct_f_u_n_c_a_r_g_s.html b/doc/html/struct_f_u_n_c_a_r_g_s.html index 8e82bee..81cbfeb 100644 --- a/doc/html/struct_f_u_n_c_a_r_g_s.html +++ b/doc/html/struct_f_u_n_c_a_r_g_s.html @@ -307,7 +307,7 @@ Public Attributes
    Enumerator
    TYPE_DOUBLE 

    similar to scilab double

    -

    Output cold dimension of data

    +

    Output cols dimension of data

    diff --git a/doc/html/struct_f_u_n_c_c_a_l_l.html b/doc/html/struct_f_u_n_c_c_a_l_l.html index 32b9a9d..d53daa0 100644 --- a/doc/html/struct_f_u_n_c_c_a_l_l.html +++ b/doc/html/struct_f_u_n_c_c_a_l_l.html @@ -178,7 +178,7 @@ Public Attributes
    -

    Number of output arguments

    +

    Number of output arguements in Scilab

    @@ -193,7 +193,7 @@ Public Attributes
    -

    Number of output arguements expected to be returned

    +

    Number of output arguements expected to be returned from Octave

    diff --git a/doc/html/thirdparty_2linux_2include_2fun_8h_source.html b/doc/html/thirdparty_2linux_2include_2fun_8h_source.html index ab0fa9b..0c42ddc 100644 --- a/doc/html/thirdparty_2linux_2include_2fun_8h_source.html +++ b/doc/html/thirdparty_2linux_2include_2fun_8h_source.html @@ -162,15 +162,15 @@ $(document).ready(function(){initNavTree('thirdparty_2linux_2include_2fun_8h_sou
    63 
    64  int fun(FUNCARGS *arr, FUNCCALL *call);
    65 }
    -
    FUNCTYPE
    Definition: fun.h:19
    -
    @ TYPE_DOUBLE
    Definition: fun.h:20
    -
    @ TYPE_STRUCT
    Definition: fun.h:23
    -
    @ TYPE_COMPLEX
    Definition: fun.h:21
    -
    @ TYPE_STRING
    Definition: fun.h:22
    +
    FUNCTYPE
    Enumeration for the data types suported.
    Definition: fun.h:22
    +
    @ TYPE_DOUBLE
    Definition: fun.h:23
    +
    @ TYPE_STRUCT
    Definition: fun.h:26
    +
    @ TYPE_COMPLEX
    Definition: fun.h:24
    +
    @ TYPE_STRING
    Definition: fun.h:25
    int fun(FUNCARGS *arr, FUNCCALL *call)
    API Function to call/receive and pass the data to fun API
    Definition: fun.cpp:30
    -
    Struct used to send/receive Scilab data to/from the gateway to fun.cpp API.
    Definition: fun.h:48
    -
    Struct used to call and pass the data to fun.cpp API.
    Definition: fun.h:73
    -
    Struct used to pass structs to Octave from the fun library.
    Definition: fun.h:32
    +
    Struct used to send/receive Scilab data to/from the gateway to fun.cpp API.
    Definition: fun.h:51
    +
    Struct used to call and pass the data to fun.cpp API.
    Definition: fun.h:76
    +
    Struct used to pass structs to Octave from the fun library.
    Definition: fun.h:35
    diff --git a/doc/latex/src_2fun_8h.tex b/doc/latex/src_2fun_8h.tex index 1428746..af0ba56 100644 --- a/doc/latex/src_2fun_8h.tex +++ b/doc/latex/src_2fun_8h.tex @@ -28,7 +28,7 @@ enum \mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134}{FUNCTYPE}} , \mbox{\hyperlink{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134addb4be6b1cc25112defabef75f73427a}{TYPE\+\_\+\+STRING}} , \mbox{\hyperlink{thirdparty_2linux_2include_2fun_8h_a160793ea95e0b5106580229a2a5f1134a9001cd1bc103bb1d664228d46715f65c}{TYPE\+\_\+\+STRUCT}} \} -\end{DoxyCompactItemize} +\begin{DoxyCompactList}\small\item\em Enumeration for the data types suported. \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection*{Functions} \begin{DoxyCompactItemize} \item @@ -53,6 +53,10 @@ int \mbox{\hyperlink{src_2fun_8h_adda0eaf7454844236de53495b494cdd4}{fun}} (\mbox \doxysubsubsection{\texorpdfstring{FUNCTYPE}{FUNCTYPE}} {\footnotesize\ttfamily enum \mbox{\hyperlink{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134}{FUNCTYPE}}} + + +Enumeration for the data types suported. + \begin{DoxyEnumFields}{Enumerator} \raisebox{\heightof{T}}[0pt][0pt]{\index{TYPE\_DOUBLE@{TYPE\_DOUBLE}!fun.h@{fun.h}}\index{fun.h@{fun.h}!TYPE\_DOUBLE@{TYPE\_DOUBLE}}}\mbox{\Hypertarget{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}\label{src_2fun_8h_a160793ea95e0b5106580229a2a5f1134a019d94f7c571e36215cc1a41e825de0c}} TYPE\+\_\+\+DOUBLE&similar to scilab double \\ diff --git a/doc/latex/struct_f_u_n_c_a_r_g_s.tex b/doc/latex/struct_f_u_n_c_a_r_g_s.tex index 891d6a6..248f71a 100644 --- a/doc/latex/struct_f_u_n_c_a_r_g_s.tex +++ b/doc/latex/struct_f_u_n_c_a_r_g_s.tex @@ -118,7 +118,7 @@ input struct length \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_a07cd1a0775fad3da2 \doxysubsubsection{\texorpdfstring{n\_out\_cols}{n\_out\_cols}} {\footnotesize\ttfamily int FUNCARGS\+::n\+\_\+out\+\_\+cols} -Output cold dimension of data \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_accf1038c5390a90bd8465916452918cc}\label{struct_f_u_n_c_a_r_g_s_accf1038c5390a90bd8465916452918cc}} +Output cols dimension of data \mbox{\Hypertarget{struct_f_u_n_c_a_r_g_s_accf1038c5390a90bd8465916452918cc}\label{struct_f_u_n_c_a_r_g_s_accf1038c5390a90bd8465916452918cc}} \index{FUNCARGS@{FUNCARGS}!n\_out\_rows@{n\_out\_rows}} \index{n\_out\_rows@{n\_out\_rows}!FUNCARGS@{FUNCARGS}} \doxysubsubsection{\texorpdfstring{n\_out\_rows}{n\_out\_rows}} diff --git a/doc/latex/struct_f_u_n_c_c_a_l_l.tex b/doc/latex/struct_f_u_n_c_c_a_l_l.tex index 081134b..777013d 100644 --- a/doc/latex/struct_f_u_n_c_c_a_l_l.tex +++ b/doc/latex/struct_f_u_n_c_c_a_l_l.tex @@ -52,13 +52,13 @@ Number of input arguments \mbox{\Hypertarget{struct_f_u_n_c_c_a_l_l_a4c3ce57d438 \doxysubsubsection{\texorpdfstring{n\_out\_arguments}{n\_out\_arguments}} {\footnotesize\ttfamily int FUNCCALL\+::n\+\_\+out\+\_\+arguments} -Number of output arguments \mbox{\Hypertarget{struct_f_u_n_c_c_a_l_l_a964c4a02c04884e73bd261aa10180d4e}\label{struct_f_u_n_c_c_a_l_l_a964c4a02c04884e73bd261aa10180d4e}} +Number of output arguements in Scilab \mbox{\Hypertarget{struct_f_u_n_c_c_a_l_l_a964c4a02c04884e73bd261aa10180d4e}\label{struct_f_u_n_c_c_a_l_l_a964c4a02c04884e73bd261aa10180d4e}} \index{FUNCCALL@{FUNCCALL}!n\_out\_user@{n\_out\_user}} \index{n\_out\_user@{n\_out\_user}!FUNCCALL@{FUNCCALL}} \doxysubsubsection{\texorpdfstring{n\_out\_user}{n\_out\_user}} {\footnotesize\ttfamily int FUNCCALL\+::n\+\_\+out\+\_\+user} -Number of output arguements expected to be returned +Number of output arguements expected to be returned from Octave The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} \item diff --git a/src/fun.h b/src/fun.h index bbc0926..cbc8800 100644 --- a/src/fun.h +++ b/src/fun.h @@ -55,7 +55,7 @@ extern "C" int n_in_cols; /**< Input cols dimension of data*/ int n_in_struct_len; /**< input struct length*/ int n_out_rows; /**< Ouput rows dimension of data*/ - int n_out_cols; /**< Output cold dimension of data*/ + int n_out_cols; /**< Output cols dimension of data*/ int n_out_struct_len; /**< Output struct length*/ int is_in_cmplx; /**< Input is a Complex data type*/ int is_out_cmplx; /**< Output is a Complex data type*/ @@ -76,8 +76,8 @@ extern "C" typedef struct { /*@{*/ int n_in_arguments; /**< Number of input arguments*/ - int n_out_arguments; /**< Number of output arguments*/ - int n_out_user; /**< Number of output arguements expected to be returned */ + int n_out_arguments; /**< Number of output arguements in Scilab*/ + int n_out_user; /**< Number of output arguements expected to be returned from Octave */ char *err; /**< Return errors*/ //char *package; //Name of octave package to be loaded*/ FUNCARGS *argument; /**< Struct defining and containing the data*/ -- cgit From 41372dc603662616acc21e8bacff4771a9954655 Mon Sep 17 00:00:00 2001 From: detailer Date: Fri, 2 Jul 2021 21:39:38 +0530 Subject: added support for Windows --- README.md | 73 +++++++++++++++++++++--- sci_gateway/cpp/builder_gateway_cpp.sce | 24 ++++---- sci_gateway/cpp/sci_octave.cpp | 4 +- src/windows_compile.txt | 2 + thirdparty/windows/include/fun.h | 95 ++++++++++++++++++++++++++++++++ thirdparty/windows/lib/libfun.a | Bin 0 -> 102020 bytes thirdparty/windows/lib/libfun.dll | Bin 0 -> 18330032 bytes 7 files changed, 179 insertions(+), 19 deletions(-) create mode 100644 src/windows_compile.txt create mode 100644 thirdparty/windows/include/fun.h create mode 100644 thirdparty/windows/lib/libfun.a create mode 100644 thirdparty/windows/lib/libfun.dll diff --git a/README.md b/README.md index 9b352c0..335cee9 100644 --- a/README.md +++ b/README.md @@ -3,29 +3,54 @@ This is a scilab toolbox to call octave functions. It requires octave to be installed on the system. ## This toolbox has been built and tested using -1. `OS - Linux Debian 10, Ubuntu 18.10 and 19.10 (64-bit)` +1. `OS - Linux Debian 10, Ubuntu 18.10 and 19.10 (64-bit), Windows 10 (64-bit)` 2. `Octave - Version 4.4.1, 5.1.0` 3. `Scilab - Version 6.0.x` -## Software prerequisites: +--- + +## Software prerequisites +## Linux Run the following commands in the linux terminal 1. `sudo apt-get install build-essential (~117 MB download)` 2. `sudo apt-get install liboctave-dev (~103 MB download)` 3. `sudo apt-get install octave` 4. `sudo apt-get install scilab` -## Install the required octave packages using the below command in linux terminal -1. `sudo apt-get install octave-` -For example, to install signal package in octave, do -1. `sudo apt-get install octave-signal` +Install the required octave packages using the below command in linux terminal +1. `sudo apt-get install octave-` For example, to install signal package in octave, do `sudo apt-get install octave-signal` + + +## Windows +1. Download and Install Scilab 6.0.1 x64 from [Scilab.org](https://www.scilab.org/) +2. Download and Install Octave 4.4.1 x64. (If you use a custom installation path different from the default see troubleshooting section below.) +3. Install Mingw Tollbox for Scilab (https://atoms.scilab.org/toolboxes/mingw/0.10.5). +4. Create an user variable called `'OCTAVE_HOME'` with value equal to the installation directory of Octave (default being: `"C:\Octave\Octave-4.4.1\"`). + +--- + +## Running the Toolbox -## Launch Scilab and run the following commands inside the scilab console +## Linux +Launch Scilab and run the following commands inside the scilab console 1. `cd ` 2. `exec builder.sce` 3. `exec loader.sce` 4. `help octave_fun` (then execute the examples appearing on the help page to test the toolbox) +## Windows +Launch Scilab and run the following commands inside the scilab console +1. `cd ` +2. `exec builder.sce` (If you see erros executing this step, see troubleshooting section.) +3. Add "C:\Octave\Octave-4.4.1\bin" or wherever you installaed Octave to Environment PATH. (You need to follow this step only when you are building the toolbox for the first time). +4. `exec loader.sce` +5. `help octave_fun` (then execute the examples appearing on the help page to test the toolbox) + +--- + ## Building the source + +## Linux In case if executing the builder and loader files in scilab throw an error regarding .so files, you probably need to build the toolbox from source. Do the following on the linux terminal 1. Download the fossee-scilab-octave-toolbox source from [`atoms.scilab.org`](https://atoms.scilab.org) 2. Close scilab, if running @@ -34,4 +59,38 @@ In case if executing the builder and loader files in scilab throw an error regar 5. `make` 6. `make install` +## Windows +1. `cd ` +2. Run the commands in `src/window_compile.txt` in a cmd prompt. +3. Copy `fun.h` to `thirdparty/windows/include`. +4. Copy and Overwrite `libfun.a` & `libfun.dll` to `thirdparty/windows/lib` + +--- + +## Troubleshooting +## Windows +**1. Custom Octave install path** + +If you have a custom Octave installtion path then change the path in `tollbox_root/sci_gateway/cpp/builder_gateway_cpp.sce` for `octave_lib_dir` at Line 43. + +**2. library_name.a not found error on running "exec builder.sce".** + +This usually happens when you build the toolbox on Windows for the first time or from scratch. Simply comment the commands +> octave_lib_dir + "liboctave-6"; +> +> octave_lib_dir + "liboctinterp-6"; + +in `tollbox_root/sci_gateway/cpp/builder_gateway_cpp.sce`. Run `exec builder.sce` to get a sucessful build. Uncomment the commands you just commented and run the builder command once again. This time the toolbox will build sucessfully. + +**3. Mingw gcc file not found/ path errors when running "exec builder.sce".** + +This usually happens when you build the toolbox on Windows for the first time or from scratch and have the octave/bin folder in your PATH, causing conflicts with the gcc version required by Mingw Toolbox. + +Remove "C:\Octave\Octave-4.4.1\bin" (or your Octave installation equivalent) from Environment Variable PATH, build the toolbox and add octave/bin back to your PATH as it is required by loader.sce. + +**4. Some Octave Functions Not Found** + +You are missing the OCTAVE_HOME user variable. See Windows software prerequisites section. + + diff --git a/sci_gateway/cpp/builder_gateway_cpp.sce b/sci_gateway/cpp/builder_gateway_cpp.sce index b83ab7a..0b5f9cb 100644 --- a/sci_gateway/cpp/builder_gateway_cpp.sce +++ b/sci_gateway/cpp/builder_gateway_cpp.sce @@ -37,13 +37,17 @@ Version = opt(2); //Build_64Bits = %f; if getos()=="Windows" then - - third_dir = path_builder+filesep()+'..'+filesep()+'..'+filesep()+'thirdparty'; - lib_base_dir = third_dir + filesep() + 'windows' + filesep() + 'lib' + filesep() + Version + filesep(); - inc_base_dir = third_dir + filesep() + 'linux' + filesep() + 'include'; - threads_dir=third_dir + filesep() + 'linux' + filesep() + 'include' + filesep() + 'pthreads-win32'; - C_Flags=['-D__USE_DEPRECATED_STACK_FUNCTIONS__ -I -w '+path_builder+' '+ '-I '+inc_base_dir+' '+'-I '+threads_dir+' '] - Linker_Flag = [lib_base_dir+"liblibraryname.lib"] + third_dir = path_builder+filesep()+'..'+filesep()+'..'+filesep()+'thirdparty'; + lib_base_dir = third_dir + filesep() + 'windows' + filesep() + 'lib' + filesep(); + inc_base_dir = third_dir + filesep() + 'windows' + filesep() + 'include'+ filesep(); + octave_lib_dir = "C:\Octave\Octave-4.4.1\bin\"; + C_Flags=[' -D__USE_DEPRECATED_STACK_FUNCTIONS__ -I -w '+ path_builder + ' '+ ' -I ' + inc_base_dir + ' ']; + libs = [ + lib_base_dir + "libfun"; + octave_lib_dir + "liboctave-6"; + octave_lib_dir + "liboctinterp-6"; + ]; + Linker_Flag = ""; elseif getos()=="Darwin" then third_dir = path_builder+filesep()+'..'+filesep()+'..'+filesep()+'thirdparty'; @@ -51,7 +55,7 @@ elseif getos()=="Darwin" then inc_base_dir = third_dir + filesep() + 'linux' + filesep() + 'include'; C_Flags=["-D__USE_DEPRECATED_STACK_FUNCTIONS__ -w -fpermissive -I"+path_builder+" -I"+inc_base_dir+" -Wl,-rpath "+lib_base_dir+" "] Linker_Flag = ["-L"+lib_base_dir+"liblibraryname"]; - + libs = []; else//LINUX third_dir = path_builder+filesep()+'..'+filesep()+'..'+filesep()+'thirdparty'; @@ -61,12 +65,12 @@ else//LINUX C_Flags = ["-I"+inc_base_dir]; Linker_Flag = ["-L" + lib_base_dir + " -lfun -Wl,-rpath="+lib_base_dir+" -loctave -loctinterp"] - + libs = []; //disp(C_Flags); //disp(Linker_Flag); end -tbx_build_gateway(toolbox_title,Function_Names,Files,get_absolute_file_path("builder_gateway_cpp.sce"), [], Linker_Flag, C_Flags,[]); +tbx_build_gateway(toolbox_title,Function_Names,Files,get_absolute_file_path("builder_gateway_cpp.sce"), libs, Linker_Flag, C_Flags); clear toolbox_title Function_Names Files Linker_Flag C_Flags; diff --git a/sci_gateway/cpp/sci_octave.cpp b/sci_gateway/cpp/sci_octave.cpp index 156178b..391c932 100644 --- a/sci_gateway/cpp/sci_octave.cpp +++ b/sci_gateway/cpp/sci_octave.cpp @@ -193,7 +193,7 @@ extern "C" { // storing the key inStruct[j].key = malloc(sizeof(wchar_t) * (wcslen(keys[j]) + 1)); - wcpcpy((wchar_t*) inStruct[j].key, keys[j]); + wcscpy((wchar_t*) inStruct[j].key, keys[j]); struct_out = scilab_getStructMatrix2dData(env, in[i], keys[j], 0, 0); // Retrieving Curr Value @@ -266,7 +266,7 @@ extern "C" //printf("%S\n", in1); inStruct[j].str = malloc(sizeof(wchar_t) * (wcslen(in1) + 1)); - wcpcpy((wchar_t*) inStruct[j].str, in1); + wcscpy((wchar_t*) inStruct[j].str, in1); // printf("%s\n", str); } else diff --git a/src/windows_compile.txt b/src/windows_compile.txt new file mode 100644 index 0000000..afc3a87 --- /dev/null +++ b/src/windows_compile.txt @@ -0,0 +1,2 @@ +mkoctfile -c -fPIC fun.cpp +g++ -L C:\Octave\Octave-4.4.1\bin -loctave-6 -loctinterp-6 -shared -o libfun.dll fun.o -Wl,--out-implib,libfun.a \ No newline at end of file diff --git a/thirdparty/windows/include/fun.h b/thirdparty/windows/include/fun.h new file mode 100644 index 0000000..cbc8800 --- /dev/null +++ b/thirdparty/windows/include/fun.h @@ -0,0 +1,95 @@ +// Copyright (C) 2019 - 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: Rupak Rokade +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in + +#define fun_h__ +//extern "C" int fun (double* answ, double* in1, int in1_row, std::string name, std::string opt); + +extern "C" +{ + + /** + * @brief Enumeration for the data types suported + * + */ + typedef enum { + TYPE_DOUBLE, /**