diff options
author | Ankit Raj | 2017-06-21 11:00:07 +0530 |
---|---|---|
committer | Ankit Raj | 2017-06-21 11:00:07 +0530 |
commit | efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59 (patch) | |
tree | 65444449ab64db280008c59b08204ee775db26df /main.c | |
parent | b33afdb2311fbe8aad4c5c614c6098585fe2d279 (diff) | |
download | Scilab2C_fossee_old-efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59.tar.gz Scilab2C_fossee_old-efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59.tar.bz2 Scilab2C_fossee_old-efd4b2645e3fd3c3cdd7b65501a0e7ae26d03c59.zip |
Functions added - string related and signal processing
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 97 |
1 files changed, 97 insertions, 0 deletions
@@ -0,0 +1,97 @@ +/* +** ************************************************ +** This file has been generated using +** Scilab2C (Version 2.3) +** +** Please visit following links for more informations: +** Atoms Module: http://atoms.scilab.org/toolboxes/scilab2c +** Scilab2C Forge: http://forge.scilab.org/index.php/p/scilab2c/ +** Scilab2C ML: http://forge.scilab.org/index.php/p/scilab2c/ +** ************************************************ +*/ + + +/* +** ----------------- +** --- Includes. --- +** ----------------- +*/ +#include "main.h" +/* +** --------------------- +** --- End Includes. --- +** --------------------- +*/ + + + +/* +** ------------------------------------- +** --- Global Variables Declaration. --- +** ------------------------------------- +*/ + + +/* +** ----------------------------------------- +** --- End Global Variables Declaration. --- +** ----------------------------------------- +*/ + +/* + SCI2C: ------------------------------------------------------------------ + SCI2C: function lengthfinder() + SCI2C: ------------------------------------------------------------------ +*/ +int main() +{ +/* +** ----------------------------- +** --- Variable Declaration. --- +** ----------------------------- +*/ + + double x[1 * 5]; + int __xSize[2] = {1, 5};; + + double y; + + double ans1; + + + + +/* +** --------------------------------- +** --- End Variable Declaration. --- +** --------------------------------- +*/ +/* +** --------------- +** --- C code. --- +** --------------- +*/ + + d0d0OpColond2(1,5,x); + + y = d2lengthd0(x, __xSize); + + d0disp(y); + + + + /* + ** --------------------- + ** --- Free Section. --- + ** --------------------- + */ + /* + ** ------------------------- + ** --- End Free Section. --- + ** ------------------------- + */ + + return(0); + +} + |