summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-07-10 22:08:27 +0530
committerAbhinav Dronamraju2017-07-10 22:08:27 +0530
commitd2c00f5343785085bcfefb62cbc041a5cffa8f31 (patch)
tree3d4fc371c30f2340af2def6dcabeb4fd4821eaf8 /macros
parentc7d123014c05daaa6c7ce32bc5e86e5f3e7e4692 (diff)
parent49d8281d2da2f4c6bf0e62d148a8a7328d3bf970 (diff)
downloadScilab2C_fossee_old-d2c00f5343785085bcfefb62cbc041a5cffa8f31.tar.gz
Scilab2C_fossee_old-d2c00f5343785085bcfefb62cbc041a5cffa8f31.tar.bz2
Scilab2C_fossee_old-d2c00f5343785085bcfefb62cbc041a5cffa8f31.zip
Pulled from upstream master
Diffstat (limited to 'macros')
-rw-r--r--macros/ASTManagement/%funcall_string.sci2
-rw-r--r--macros/ASTManagement/AST2Ccode.sci35
-rw-r--r--macros/ASTManagement/AST_HandleCC.sci14
-rw-r--r--macros/ASTManagement/AST_HandleEndGenFun.sci17
-rw-r--r--macros/ASTManagement/AST_HandleFunCC.sci81
-rw-r--r--macros/ASTManagement/AST_HandleFunRC.sci79
-rw-r--r--macros/ASTManagement/AST_HandleFuncArray.sci63
-rw-r--r--macros/ASTManagement/AST_HandleFuncArray2D.sci69
-rw-r--r--macros/ASTManagement/AST_HandleRC.sci52
-rw-r--r--macros/ASTManagement/AST_ParseIfExprStruct.sci2
-rw-r--r--macros/ASTManagement/AST_ParseOperStruct.sci1
-rw-r--r--macros/ASTManagement/_funcall_string.sci1
-rw-r--r--macros/ASTManagement/libbin1908 -> 0 bytes
-rw-r--r--macros/ASTManagement/names2
-rw-r--r--macros/CCodeGeneration/C_GenDeclarations_Dup.sci7
-rw-r--r--macros/CCodeGeneration/C_GenerateMakefile.sci2
-rw-r--r--macros/CCodeGeneration/C_GenerateMkfle_arduino.sci14
-rw-r--r--macros/CCodeGeneration/C_IfExpression.sci1
-rw-r--r--macros/CCodeGeneration/C_WhileExpression.sci1
-rw-r--r--macros/CCodeGeneration/GetClsFileName.sci1
-rw-r--r--macros/CCodeGeneration/libbin1004 -> 0 bytes
-rw-r--r--macros/ErrorMessages/libbin468 -> 0 bytes
-rw-r--r--macros/FunctionAnnotation/FA_GetOutArgInfo.sci15
-rw-r--r--macros/FunctionAnnotation/libbin2360 -> 0 bytes
-rw-r--r--macros/FunctionList/libbin536 -> 0 bytes
-rw-r--r--macros/GeneralFunctions/libbin1080 -> 0 bytes
-rw-r--r--macros/Hardware/AVR/libbin920 -> 0 bytes
-rw-r--r--macros/Hardware/RasberryPi/libbin924 -> 0 bytes
-rw-r--r--macros/ImageProcessing/core/libbin472 -> 0 bytes
-rw-r--r--macros/ImageProcessing/highgui/libbin532 -> 0 bytes
-rw-r--r--macros/ImageProcessing/imgproc/libbin700 -> 0 bytes
-rw-r--r--macros/Scilab-Arduino/GetArduinoFunctions.sci2
-rw-r--r--macros/Scilab-Arduino/GetArduinoSetupFunctions.sci2
-rw-r--r--macros/Scilab-Arduino/libbin664 -> 0 bytes
-rw-r--r--macros/SymbolTable/ST_GetInArgInfo.sci2
-rw-r--r--macros/SymbolTable/ST_InsOutArg_Dup.sci2
-rw-r--r--macros/SymbolTable/libbin700 -> 0 bytes
-rw-r--r--macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci434
-rw-r--r--macros/ToolInitialization/libbin752 -> 0 bytes
-rw-r--r--macros/cb_sci2c_gui.sci17
-rw-r--r--macros/findDeps/Scilab2CDeps.sci1133
-rw-r--r--macros/findDeps/getAllHeaders.sci17
-rw-r--r--macros/findDeps/getAllInterfaces.sci13
-rw-r--r--macros/findDeps/getAllSources.sci48
-rw-r--r--macros/findDeps/get_rquird_fnctns.sci143
-rw-r--r--macros/findDeps/libbin544 -> 0 bytes
-rw-r--r--macros/findDeps/names1
-rw-r--r--macros/libbin484 -> 0 bytes
-rw-r--r--macros/runsci2c.sci44
-rw-r--r--macros/sci2c_gui.sci4
-rw-r--r--macros/scilab2c.sci2
51 files changed, 2114 insertions, 209 deletions
diff --git a/macros/ASTManagement/%funcall_string.sci b/macros/ASTManagement/%funcall_string.sci
index 0ee9701..fc4b929 100644
--- a/macros/ASTManagement/%funcall_string.sci
+++ b/macros/ASTManagement/%funcall_string.sci
@@ -5,6 +5,8 @@ function txt=%funcall_string(F)
// rhs : a list
// name : string, the name of the function
// lhsnb: number, the number of function lhs
+// Modified By: Ukasha Noor
+
if F.name <> 'disp'
txt=['Funcall : '+F.name
diff --git a/macros/ASTManagement/AST2Ccode.sci b/macros/ASTManagement/AST2Ccode.sci
index 563f313..20aa999 100644
--- a/macros/ASTManagement/AST2Ccode.sci
+++ b/macros/ASTManagement/AST2Ccode.sci
@@ -11,6 +11,7 @@ function AST2Ccode(FileInfoDatFile)
//
// Status:
// 11-May-2007 -- Raffaele Nutricato: Author.
+// 15-June-2017 -- Ukasha Noor: Revised By
//
// Copyright 2007 Raffaele Nutricato.
// Contact: raffaele.nutricato@tiscali.it
@@ -42,6 +43,8 @@ load(FileInfo.SharedInfoDatFile,'SharedInfo');
nxtscifunname = SharedInfo.NextSCIFunName;
nxtscifunnumber = SharedInfo.NextSCIFunNumber;
ReportFileName = FileInfo.Funct(nxtscifunnumber).ReportFileName;
+SharedInfo.Function_list = [];
+SharedInfo.Function_list_index = 1;
// ---------------------------------
// --- Parameter Initialization. ---
@@ -64,6 +67,8 @@ STACKDEDUG = 0; // 1 -> Every Pop and Push operation on the stack, the stack con
global disp_isthere
disp_isthere = 0;
+
+FName = null
// -------------------------------------
// --- End parameter Initialization. ---
// -------------------------------------
@@ -144,9 +149,13 @@ while ~meof(fidAST)
case 'EndOperation' then
[disp_isthere,FileInfo,SharedInfo] = AST_HandleEndGenFun(disp_isthere,FileInfo,SharedInfo,'Operation');
case 'EndFuncall' then
+ if rc_count > 0 & cc_count == 0
+ [EqualInArgName,EqualInArgScope,EqualNInArg,FName] = AST_HandleFuncArray(FileInfo,SharedInfo);
+ elseif cc_count > 0
+ [EqualInArgName,EqualInArgScope,EqualNInArg,FName] = AST_HandleFuncArray2D(FileInfo,SharedInfo);
+ else
[disp_isthere,FileInfo,SharedInfo] = AST_HandleEndGenFun(disp_isthere,FileInfo,SharedInfo,'Funcall');
- disp(disp_isthere);
-
+ end
// --------------
// --- Equal. ---
// --------------
@@ -156,10 +165,10 @@ while ~meof(fidAST)
//NUT: ho miste ins e variabili, per esempio [c(1,1), a] = twooutfun();
//NUT: in questo caso solo una delle due equal va scartata.
if rc_count > 0 & cc_count == 0
- [FileInfo,SharedInfo] = AST_HandleFunRC(FileInfo,SharedInfo);
+ [FileInfo,SharedInfo] = AST_HandleFunRC(FName,FileInfo,SharedInfo);
rc_count = 0;
elseif cc_count > 0
- [FileInfo,SharedInfo] = AST_HandleFunCC(cc_count,FileInfo,SharedInfo);
+ [FileInfo,SharedInfo] = AST_HandleFunCC(FName,cc_count,FileInfo,SharedInfo);
rc_count = 0;
cc_count = 0;
else
@@ -169,12 +178,12 @@ while ~meof(fidAST)
end
end
disp_isthere = 0;
+ FName = null
case 'Equal' then
SharedInfo.Equal.Enabled = 1; // 1 means enabled -> we are inside an equal AST block.
AST_PushASTStack(treeline);
case 'Lhs :' then
- disp(disp_isthere);
if rc_count > 0 & cc_count == 0
SharedInfo.Equal.Lhs = 1;
[EqualInArgName,EqualInArgScope,EqualNInArg] = AST_HandleRC(FileInfo,SharedInfo);
@@ -292,6 +301,22 @@ while ~meof(fidAST)
AST_PushASTStack(treeline);
end
end
+// ------------------------------------
+// -----List of functions Used--------
+// -------------------------------------
+
+SharedInfo.Function_list_index = SharedInfo.Function_list_index - 2;
+SharedInfo.Function_list = SharedInfo.Function_list(1:SharedInfo.Function_list_index);
+//To remove function repeatedly used----------
+x = size(unique(SharedInfo.Function_list));
+SharedInfo.Function_list_index = x(1);
+SharedInfo.Function_list = unique(SharedInfo.Function_list);
+
+SharedInfo.Function_list = SharedInfo.Function_list(1:SharedInfo.Function_list_index);
+
+
+
+
// --------------------------------------
// --- End main loop to read the AST. ---
// --------------------------------------
diff --git a/macros/ASTManagement/AST_HandleCC.sci b/macros/ASTManagement/AST_HandleCC.sci
index cc41154..897a06f 100644
--- a/macros/ASTManagement/AST_HandleCC.sci
+++ b/macros/ASTManagement/AST_HandleCC.sci
@@ -8,7 +8,9 @@
// Author: Ukasha Noor
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
-
+// This function is used for 2D array declaration
+// This function extracts the input arguments in the array and check there Name and Scope.
+// Then repush everything back to stack
function [RhsNames,RhsScope,NRhs] = AST_HandleCC(FileInfo,SharedInfo)
SCI2CNInArgCheck(argn(2),2,2)
@@ -56,14 +58,6 @@ for cntpush = cntpop:-1:1
end
-//for counterinputargs = 1:NRhs
- //#RNU_RES_B
- //disp(counterinputargs);
- //PrintStringInfo('Input Argument Number '+string(counterinputargs)+': '+RhsNames(counterinputargs).Name,...
- // ReportFileName,'file','y');
- //PrintStringInfo(' Scope: '+RhsNames(counterinputargs).Scope,...
- // ReportFileName,'file','y');
- //#RNU_RES_E
-//end
+
endfunction
diff --git a/macros/ASTManagement/AST_HandleEndGenFun.sci b/macros/ASTManagement/AST_HandleEndGenFun.sci
index 96830aa..79ec976 100644
--- a/macros/ASTManagement/AST_HandleEndGenFun.sci
+++ b/macros/ASTManagement/AST_HandleEndGenFun.sci
@@ -1,4 +1,3 @@
-
function [disp_isthere,FileInfo,SharedInfo] = AST_HandleEndGenFun(disp_isthere,FileInfo,SharedInfo,ASTFunType)
// function [FileInfo,SharedInfo] = AST_HandleEndGenFun(FileInfo,SharedInfo,ASTFunType)
// -----------------------------------------------------------------
@@ -28,11 +27,13 @@ function [disp_isthere,FileInfo,SharedInfo] = AST_HandleEndGenFun(disp_isthere,F
//
// Status:
// 11-Apr-2007 -- Raffaele Nutricato: Author.
+// 15-June-2017 -- Ukasha Noor : Revised By
//
// Copyright 2007 Raffaele Nutricato.
// Contact: raffaele.nutricato@tiscali.it
// -----------------------------------------------------------------
+
// ------------------------------
// --- Check input arguments. ---
// ------------------------------
@@ -74,6 +75,10 @@ disp_isthere = 0;
//NUT: verifica se ASTFunType e' veramente importante
// #RNU_RES_E
[ASTFunName,InArg,NInArg,OutArg,NOutArg] = AST_GetFuncallPrm(FileInfo,SharedInfo,ASTFunType);
+if (ASTFunType=='Funcall')
+SharedInfo.Function_list(SharedInfo.Function_list_index) = ASTFunName;
+SharedInfo.Function_list_index = SharedInfo.Function_list_index + 1;
+end
NOutArg_mod = NOutArg
if ASTFunName == 'OpLogAnd'
AST_PushASTStack('&&');
@@ -127,8 +132,10 @@ NOutArg_mod = NOutArg
PrintStringInfo(' ',ReportFileName,'both','y');
error(9999, 'SCI2CERROR: Unexpected number of output arguments for global function.');
end
- elseif(ASTFunName == 'raspi' | ASTFunName == 'raspi_close')
- SharedInfo.SkipNextFun = 1;
+ //To skip the functions for Raspberry Pi connections
+ elseif(ASTFunName == 'raspi' | ASTFunName == 'raspi_close' | ASTFunName == 'i2cdetect')
+ disp_isthere=1; // Skips the corresponding Lhs argument declaration
+ return // Skips the function call
end
// #RNU_RES_B
@@ -142,8 +149,8 @@ NOutArg_mod = NOutArg
if ASTFunName == '%sn'
ASTFunName='modsn';
- end
-
+ end
+
if (ASTFunName == 'OpEqual')
FunTypeAnnot = '';
FunSizeAnnot = '';
diff --git a/macros/ASTManagement/AST_HandleFunCC.sci b/macros/ASTManagement/AST_HandleFunCC.sci
index 1942c74..8669ad1 100644
--- a/macros/ASTManagement/AST_HandleFunCC.sci
+++ b/macros/ASTManagement/AST_HandleFunCC.sci
@@ -8,11 +8,14 @@
// Author: Ukasha Noor
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
+// This function put the input elements of array in InArg and
+// output in OutArg from the stack.
+// Then finds the number of columns and rows in matrix and the type of matrix.
+// The call the function to generate the C code for declaration.
+function [FileInfo,SharedInfo] = AST_HandleFunCC(FName,NCol,FileInfo,SharedInfo)
-function [FileInfo,SharedInfo] = AST_HandleFunCC(NCol,FileInfo,SharedInfo)
-
-SCI2CNInArgCheck(argn(2),3,3)
+SCI2CNInArgCheck(argn(2),4,4)
// ------------------------------
// --- Check input arguments. ---
@@ -140,30 +143,56 @@ for i = 1:NInArg
end
-if com_type == 0
- PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y');
- OutArg(1).Type = InArg(1).Type;
- OutArg(1).Size(1) = string(NCol);
- OutArg(1).Size(2) = string(NRow);
- OutArg(1).Dimension = 2;
- OutArg(1).Value = InArg(1).Value;
- OutArg(1).FindLike = InArg(1).FindLike;
-elseif com_type == 1
- PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y');
- OutArg(1).Type = 'z';
- OutArg(1).Size(1) = string(NCol);
- OutArg(1).Size(2) = string(NRow);
- OutArg(1).Dimension = 2;
- OutArg(1).Value = InArg(1).Value;
- OutArg(1).FindLike = InArg(1).FindLike;
+if FName <> null
+ PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y');
+ if FName == 'float'
+ OutArg(1).Type = 's';
+ elseif FName == 'uint8'
+ OutArg(1).Type = 'u8';
+ elseif FName == 'int16'
+ OutArg(1).Type = 'i16';
+ elseif FName == 'uint16'
+ OutArg(1).Type = 'u16';
+ elseif FName == 'int8'
+ OutArg(1).Type = 'i8';
+ elseif FName == 'uint32'
+ OutArg(1).Type = 'u32';
+ elseif FName == 'int32'
+ OutArg(1).Type = 'i32';
+ else
+ OutArg(1).Type = 'd';
+ end
+ OutArg(1).Size(1) = string(NCol);
+ OutArg(1).Size(2) = string(NRow);
+ OutArg(1).Dimension = 2;
+ OutArg(1).Value = InArg(1).Value;
+ OutArg(1).FindLike = InArg(1).FindLike;
else
- PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y');
- OutArg(1).Type = 'c';
- OutArg(1).Size(1) = string(NCol);
- OutArg(1).Size(2) = string(NRow);
- OutArg(1).Dimension = 2;
- OutArg(1).Value = InArg(1).Value;
- OutArg(1).FindLike = InArg(1).FindLike;
+ if com_type == 0
+ PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y');
+ OutArg(1).Type = InArg(1).Type;
+ OutArg(1).Size(1) = string(NCol);
+ OutArg(1).Size(2) = string(NRow);
+ OutArg(1).Dimension = 2;
+ OutArg(1).Value = InArg(1).Value;
+ OutArg(1).FindLike = InArg(1).FindLike;
+ elseif com_type == 1
+ PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y');
+ OutArg(1).Type = 'z';
+ OutArg(1).Size(1) = string(NCol);
+ OutArg(1).Size(2) = string(NRow);
+ OutArg(1).Dimension = 2;
+ OutArg(1).Value = InArg(1).Value;
+ OutArg(1).FindLike = InArg(1).FindLike;
+ else
+ PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y');
+ OutArg(1).Type = 'c';
+ OutArg(1).Size(1) = string(NCol);
+ OutArg(1).Size(2) = string(NRow);
+ OutArg(1).Dimension = 2;
+ OutArg(1).Value = InArg(1).Value;
+ OutArg(1).FindLike = InArg(1).FindLike;
+ end
end
//--- Check for output Argument in symbol table ---//
diff --git a/macros/ASTManagement/AST_HandleFunRC.sci b/macros/ASTManagement/AST_HandleFunRC.sci
index d316924..a5885d5 100644
--- a/macros/ASTManagement/AST_HandleFunRC.sci
+++ b/macros/ASTManagement/AST_HandleFunRC.sci
@@ -8,10 +8,13 @@
// Author: Ukasha Noor
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
+// This function is used for 1D array declaration.
+// Checks the input and output argumnets and put them in respective variables.
+// Then calls the function to generate the C code for 1D array declaration.
-function [FileInfo,SharedInfo] = AST_HandleFunRC(FileInfo,SharedInfo)
+function [FileInfo,SharedInfo] = AST_HandleFunRC(FName,FileInfo,SharedInfo)
-SCI2CNInArgCheck(argn(2),2,2)
+SCI2CNInArgCheck(argn(2),3,3)
// ------------------------------
// --- Check input arguments. ---
@@ -142,30 +145,56 @@ for i = 1:NInArg
end
-if com_type == 0
- PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y');
- OutArg(1).Type = InArg(1).Type;
- OutArg(1).Size(1) = '1'
- OutArg(1).Size(2) = string(size_count);
- OutArg(1).Dimension = 2;
- OutArg(1).Value = InArg(1).Value;
- OutArg(1).FindLike = InArg(1).FindLike;
-elseif com_type == 1
- PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y');
- OutArg(1).Type = 'z';
- OutArg(1).Size(1) = '1'
- OutArg(1).Size(2) = string(size_count);
- OutArg(1).Dimension = 2;
- OutArg(1).Value = InArg(1).Value;
- OutArg(1).FindLike = InArg(1).FindLike;
+if FName <> null
+ PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y');
+ if FName == 'float'
+ OutArg(1).Type = 's';
+ elseif FName == 'uint8'
+ OutArg(1).Type = 'u8';
+ elseif FName == 'int16'
+ OutArg(1).Type = 'i16';
+ elseif FName == 'uint16'
+ OutArg(1).Type = 'u16';
+ elseif FName == 'int8'
+ OutArg(1).Type = 'i8';
+ elseif FName == 'uint32'
+ OutArg(1).Type = 'u32';
+ elseif FName == 'int32'
+ OutArg(1).Type = 'i32';
+ else
+ OutArg(1).Type = 'd';
+ end
+ OutArg(1).Size(1) = '1'
+ OutArg(1).Size(2) = string(size_count);
+ OutArg(1).Dimension = 2;
+ OutArg(1).Value = InArg(1).Value;
+ OutArg(1).FindLike = InArg(1).FindLike;
else
- PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y');
- OutArg(1).Type = 'c';
- OutArg(1).Size(1) = '1'
- OutArg(1).Size(2) = string(size_count);
- OutArg(1).Dimension = 2;
- OutArg(1).Value = InArg(1).Value;
- OutArg(1).FindLike = InArg(1).FindLike;
+ if com_type == 0
+ PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y');
+ OutArg(1).Type = InArg(1).Type;
+ OutArg(1).Size(1) = '1'
+ OutArg(1).Size(2) = string(size_count);
+ OutArg(1).Dimension = 2;
+ OutArg(1).Value = InArg(1).Value;
+ OutArg(1).FindLike = InArg(1).FindLike;
+ elseif com_type == 1
+ PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y');
+ OutArg(1).Type = 'z';
+ OutArg(1).Size(1) = '1'
+ OutArg(1).Size(2) = string(size_count);
+ OutArg(1).Dimension = 2;
+ OutArg(1).Value = InArg(1).Value;
+ OutArg(1).FindLike = InArg(1).FindLike;
+ else
+ PrintStringInfo(' Generating Out Arg names.',ReportFileName,'file','y');
+ OutArg(1).Type = 'c';
+ OutArg(1).Size(1) = '1'
+ OutArg(1).Size(2) = string(size_count);
+ OutArg(1).Dimension = 2;
+ OutArg(1).Value = InArg(1).Value;
+ OutArg(1).FindLike = InArg(1).FindLike;
+ end
end
//--- Check for output Argument in symbol table ---//
diff --git a/macros/ASTManagement/AST_HandleFuncArray.sci b/macros/ASTManagement/AST_HandleFuncArray.sci
new file mode 100644
index 0000000..364e305
--- /dev/null
+++ b/macros/ASTManagement/AST_HandleFuncArray.sci
@@ -0,0 +1,63 @@
+function [RhsNames,RhsScope,NRhs,FName] = AST_HandleFuncArray(FileInfo,SharedInfo)
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author: Ukasha Noor
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+// This function is used for 1D array declaration.
+
+SCI2CNInArgCheck(argn(2),2,2)
+
+ReportFileName = FileInfo.Funct(nxtscifunnumber).ReportFileName;
+
+// ------------------------------
+// --- Check input arguments. ---
+// ------------------------------
+
+
+global SCI2CSTACK
+global StackPosition;
+global STACKDEDUG
+// ---------------------------
+// --- End Initialization. ---
+// ---------------------------
+
+
+// ------------------------------
+// --- Read input parameters. ---
+// ------------------------------
+cntpop = 1;
+NRhs = 0;
+RhsField(cntpop) = AST_PopASTStack();
+RhsNames = [];
+while (RhsField(cntpop) ~= 'Rhs :')
+ NRhs = NRhs + 1;
+ if RhsField(cntpop) <> 'Operands:'
+ [RhsNames(NRhs),RhsScope(NRhs)] = AST_ExtractNameAndScope(RhsField(cntpop));
+ end
+ cntpop = cntpop + 1;
+ RhsField(cntpop) = AST_PopASTStack();
+end
+first = AST_PopASTStack();
+second = AST_PopASTStack();
+
+FName = stripblanks(part(second,12:length(second)));
+
+RhsNames = SCI2Cflipud(RhsNames);
+RhsScope = SCI2Cflipud(RhsScope);
+
+// --- Repush everything into the stack. ---
+for cntpush = cntpop:-1:1
+ if RhsField(cntpush) <> 'Operands:' & RhsField(cntpush) <> 'Rhs :'
+ AST_PushASTStack(RhsField(cntpush));
+ end
+end
+
+
+
+endfunction
diff --git a/macros/ASTManagement/AST_HandleFuncArray2D.sci b/macros/ASTManagement/AST_HandleFuncArray2D.sci
new file mode 100644
index 0000000..859c994
--- /dev/null
+++ b/macros/ASTManagement/AST_HandleFuncArray2D.sci
@@ -0,0 +1,69 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author: Ukasha Noor
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+// This function is used for 2D array declaration
+// This function extracts the input arguments in the array and check there Name and Scope.
+// Then repush everything back to stack
+function [RhsNames,RhsScope,NRhs,FName] = AST_HandleFuncArray2D(FileInfo,SharedInfo)
+
+SCI2CNInArgCheck(argn(2),2,2)
+
+ReportFileName = FileInfo.Funct(nxtscifunnumber).ReportFileName;
+
+// ------------------------------
+// --- Check input arguments. ---
+// ------------------------------
+
+
+global SCI2CSTACK
+global StackPosition;
+global STACKDEDUG
+// ---------------------------
+// --- End Initialization. ---
+// ---------------------------
+
+
+// ------------------------------
+// --- Read input parameters. ---
+// ------------------------------
+cntpop = 1;
+NRhs = 0;
+RhsField(cntpop) = AST_PopASTStack();
+RhsNames = [];
+while (RhsField(cntpop) ~= 'Rhs :')
+ if RhsField(cntpop) <> 'Operands:' & RhsField(cntpop) <> 'Begin:'
+ NRhs = NRhs + 1;
+
+ [RhsNames(NRhs),RhsScope(NRhs)] = AST_ExtractNameAndScope(RhsField(cntpop));
+ end
+ cntpop = cntpop + 1;
+ RhsField(cntpop) = AST_PopASTStack();
+end
+
+first = AST_PopASTStack();
+second = AST_PopASTStack();
+
+FName = stripblanks(part(second,12:length(second)));
+
+RhsNames = SCI2Cflipud(RhsNames);
+RhsScope = SCI2Cflipud(RhsScope);
+
+// --- Repush everything into the stack. ---
+for cntpush = cntpop:-1:1
+ if RhsField(cntpush) <> 'Operands:' & RhsField(cntpush) <> 'Begin:' & RhsField(cntpush) <> 'Rhs :'
+ PrintStringInfo(' ' + RhsField(cntpush),ReportFileName,'file','y');
+ AST_PushASTStack(RhsField(cntpush));
+ end
+end
+
+
+
+
+endfunction
diff --git a/macros/ASTManagement/AST_HandleRC.sci b/macros/ASTManagement/AST_HandleRC.sci
index 2a6cbc3..7056861 100644
--- a/macros/ASTManagement/AST_HandleRC.sci
+++ b/macros/ASTManagement/AST_HandleRC.sci
@@ -1,36 +1,15 @@
function [RhsNames,RhsScope,NRhs] = AST_HandleRC(FileInfo,SharedInfo)
-// function [FileInfo,SharedInfo] = AST_HandleEndGenFun(FileInfo,SharedInfo,ASTFunType)
-// -----------------------------------------------------------------
-// #RNU_RES_B
-// Handles the EndFuncall, EndOperation and EndEqual tags of the AST.
-// ASTFunType can be 'Funcall', 'Operation', 'Equal'
-// Structure of Funcall:
-// overloading function for "funcall" type tlist string function
-// this is a node of the AST
-// fields:
-// rhs : a list
-// name : string, the name of the function
-// lhsnb: number, the number of function lhs
-// txt=['Funcall : '+F.name
-// ' #lhs : '+string(F.lhsnb)
-// ' Rhs : '
-// ' '+objectlist2string(F.rhs)
-// 'EndFuncall'
-// ]
-// #RNU_RES_E
-//
-// Input data:
-// //NUT: add description here
-//
-// Output data:
-// //NUT: add description here
-//
-// Status:
-// 11-Apr-2007 -- Raffaele Nutricato: Author.
-//
-// Copyright 2007 Raffaele Nutricato.
-// Contact: raffaele.nutricato@tiscali.it
-// -----------------------------------------------------------------
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author: Ukasha Noor
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+// This function is used for 1D array declaration.
SCI2CNInArgCheck(argn(2),2,2)
@@ -75,14 +54,5 @@ for cntpush = cntpop:-1:1
end
-//for counterinputargs = 1:NRhs
- //#RNU_RES_B
- //disp(counterinputargs);
- // PrintStringInfo('Input Argument Number '+string(counterinputargs)+': '+RhsNames(counterinputargs).Name,...
- // ReportFileName,'file','y');
- //PrintStringInfo(' Scope: '+RhsNames(counterinputargs).Scope,...
- // ReportFileName,'file','y');
- //#RNU_RES_E
-//end
endfunction
diff --git a/macros/ASTManagement/AST_ParseIfExprStruct.sci b/macros/ASTManagement/AST_ParseIfExprStruct.sci
index 2bfb08d..88ba2e9 100644
--- a/macros/ASTManagement/AST_ParseIfExprStruct.sci
+++ b/macros/ASTManagement/AST_ParseIfExprStruct.sci
@@ -31,6 +31,8 @@ function [IfCondArg,NIfCondArg,Op,NOp] = AST_ParseIfExprStruct(FileInfo,SharedIn
//
// Status:
// 11-Apr-2007 -- Raffaele Nutricato: Author.
+// 25-June-2017 -- Ukasha Noor: Revised By
+// This function is counting the number of logical operators and there operands.
//
// Copyright 2007 Raffaele Nutricato.
// Contact: raffaele.nutricato@tiscali.it
diff --git a/macros/ASTManagement/AST_ParseOperStruct.sci b/macros/ASTManagement/AST_ParseOperStruct.sci
index 903f095..ce0bcc7 100644
--- a/macros/ASTManagement/AST_ParseOperStruct.sci
+++ b/macros/ASTManagement/AST_ParseOperStruct.sci
@@ -26,6 +26,7 @@ function [FunctionName,InArg,NInArg,NOutArg] = AST_ParseOperStruct(FileInfo,Shar
//
// Status:
// 11-Apr-2007 -- Raffaele Nutricato: Author.
+// 25-June-2017 -- Ukasha Noor: Revised By
//
// Copyright 2007 Raffaele Nutricato.
// Contact: raffaele.nutricato@tiscali.it
diff --git a/macros/ASTManagement/_funcall_string.sci b/macros/ASTManagement/_funcall_string.sci
index 0ee9701..7c0b0ab 100644
--- a/macros/ASTManagement/_funcall_string.sci
+++ b/macros/ASTManagement/_funcall_string.sci
@@ -5,6 +5,7 @@ function txt=%funcall_string(F)
// rhs : a list
// name : string, the name of the function
// lhsnb: number, the number of function lhs
+// Modified By: Ukasha Noor
if F.name <> 'disp'
txt=['Funcall : '+F.name
diff --git a/macros/ASTManagement/lib b/macros/ASTManagement/lib
deleted file mode 100644
index ee07d36..0000000
--- a/macros/ASTManagement/lib
+++ /dev/null
Binary files differ
diff --git a/macros/ASTManagement/names b/macros/ASTManagement/names
index 6deb883..9ba83f7 100644
--- a/macros/ASTManagement/names
+++ b/macros/ASTManagement/names
@@ -31,6 +31,8 @@ AST_HandleFor
AST_HandleForStatem
AST_HandleFunCC
AST_HandleFunRC
+AST_HandleFuncArray
+AST_HandleFuncArray2D
AST_HandleHeader
AST_HandleIfElse
AST_HandleRC
diff --git a/macros/CCodeGeneration/C_GenDeclarations_Dup.sci b/macros/CCodeGeneration/C_GenDeclarations_Dup.sci
index 475e2e0..bdaf9c0 100644
--- a/macros/CCodeGeneration/C_GenDeclarations_Dup.sci
+++ b/macros/CCodeGeneration/C_GenDeclarations_Dup.sci
@@ -11,6 +11,10 @@ function Cdeclaration = C_GenDeclarations_Dup(InArg,NInArg,com_type,ArgStruct,CD
//
// Status:
// 27-Oct-2007 -- Raffaele Nutricato: Author.
+//
+// 25-June-2017 -- Ukasha Noor: Modified it.
+// This function is called for array declaration in C.
+//
// 10-Jun-2008 -- Raffaele Nutricato: adapted to work with realloc function.
//
// Copyright 2007 Raffaele Nutricato.
@@ -84,6 +88,9 @@ if (ArgStruct.Dimension > 0)
computedSize = computedSize + ' * ' + ArgStruct.Size(sizeIterator);
computedSizeField = computedSizeField + ', ' + ArgStruct.Size(sizeIterator);
end
+// Modified Changes: row tells number of rows and col is number of columns in array.
+// col_type tells whether it is floatComplex or doubleComplex or real.
+// and accordingly it declares the array.
Cdeclaration(1) = Cdeclaration(1)+C_Type(ArgStruct.Type)+' '+ArgStruct.Name+'['+computedSize+']={';
row = eval(ArgStruct.Size(1))
col = eval(ArgStruct.Size(2))
diff --git a/macros/CCodeGeneration/C_GenerateMakefile.sci b/macros/CCodeGeneration/C_GenerateMakefile.sci
index 3b977bd..dbdae9d 100644
--- a/macros/CCodeGeneration/C_GenerateMakefile.sci
+++ b/macros/CCodeGeneration/C_GenerateMakefile.sci
@@ -70,7 +70,7 @@ else
PrintStringInfo('CXX = arm-linux-gnueabihf-g++ ',FileInfo.MakefileFilename,'file','y','y');
PrintStringInfo('CFLAGS = -Wall -pedantic -g -I $(HSRCDIR) -I $(ISRCDIR) -L $(LIBDIR)',FileInfo.MakefileFilename,'file','y','y');
PrintStringInfo('CXXFLAGS = -Wall -pedantic -g -I $(HSRCDIR) -I $(ISRCDIR) -L $(LIBDIR)',FileInfo.MakefileFilename,'file','y','y');
- PrintStringInfo('LDFLAGS = -llapack -lrefblas -lgfortran -lwiringPi -lwiringPiDev -lrt -lpthread',FileInfo.MakefileFilename,'file','y','y');
+ PrintStringInfo('LDFLAGS = -llapack -lrefblas -lgfortran -lwiringPi -lwiringPiDev -lrt -lpthread -lRPIwfi',FileInfo.MakefileFilename,'file','y','y');
else
PrintStringInfo('CC = gcc',FileInfo.MakefileFilename,'file','y','y');
PrintStringInfo('CXX = g++',FileInfo.MakefileFilename,'file','y','y');
diff --git a/macros/CCodeGeneration/C_GenerateMkfle_arduino.sci b/macros/CCodeGeneration/C_GenerateMkfle_arduino.sci
index b43eb44..8b890f9 100644
--- a/macros/CCodeGeneration/C_GenerateMkfle_arduino.sci
+++ b/macros/CCodeGeneration/C_GenerateMkfle_arduino.sci
@@ -1,3 +1,17 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author: Yash Pratap Singh Tomar
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+
+
function C_GenerateMkfle_arduino(FileInfo,SharedInfo)
PrintStringInfo('ARDUINO_DIR = /usr/share/arduino',FileInfo.MakefileFilename,'file','y','y');
diff --git a/macros/CCodeGeneration/C_IfExpression.sci b/macros/CCodeGeneration/C_IfExpression.sci
index 359b788..630134e 100644
--- a/macros/CCodeGeneration/C_IfExpression.sci
+++ b/macros/CCodeGeneration/C_IfExpression.sci
@@ -11,6 +11,7 @@ function SharedInfo = C_IfExpression(IfCondArg,NIfCondArg,Op,NOp,ASTIfExpType,Fi
//
// Status:
// 27-Oct-2007 -- Raffaele Nutricato: Author.
+// 28-June-2017 -- Ukasha Noor: Modified By
//
// Copyright 2007 Raffaele Nutricato.
// Contact: raffaele.nutricato@tiscali.it
diff --git a/macros/CCodeGeneration/C_WhileExpression.sci b/macros/CCodeGeneration/C_WhileExpression.sci
index 368ccff..36fcc4f 100644
--- a/macros/CCodeGeneration/C_WhileExpression.sci
+++ b/macros/CCodeGeneration/C_WhileExpression.sci
@@ -11,6 +11,7 @@ function SharedInfo = C_WhileExpression(IfCondArg,NIfCondArg,Op,NOp,FileInfo,Sha
//
// Status:
// 15-Nov-2007 -- Raffaele Nutricato: Author.
+// 27-June-2017 -- Ukasha Noor: Modified by
//
// Copyright 2007 Raffaele Nutricato.
// Contact: raffaele.nutricato@tiscali.it
diff --git a/macros/CCodeGeneration/GetClsFileName.sci b/macros/CCodeGeneration/GetClsFileName.sci
index d92a431..4220410 100644
--- a/macros/CCodeGeneration/GetClsFileName.sci
+++ b/macros/CCodeGeneration/GetClsFileName.sci
@@ -78,7 +78,6 @@ elseif (SCI2Cfileexist(FileInfo.SCI2CLibSCIAnnFun,tmpannfilename))
SCI2CClassName = FL_GetFunctionClass(AnnFileName,SCI2CClassSpecifier,ReportFileName);
SCI2CClassFileName = fullfile(FileInfo.SCI2CLibSCIAnnCls,SCI2CClassName+'.acls');
end
-
if (FlagFoundAnnFile == 0)
[FlagFoundAnnFile,fullpathscifilename] = SCI2CFindFile(FileInfo.UserSciFilesPaths,FunName+'.sci');
if (FlagFoundAnnFile == 0)
diff --git a/macros/CCodeGeneration/lib b/macros/CCodeGeneration/lib
deleted file mode 100644
index f2696fe..0000000
--- a/macros/CCodeGeneration/lib
+++ /dev/null
Binary files differ
diff --git a/macros/ErrorMessages/lib b/macros/ErrorMessages/lib
deleted file mode 100644
index 1500b1f..0000000
--- a/macros/ErrorMessages/lib
+++ /dev/null
Binary files differ
diff --git a/macros/FunctionAnnotation/FA_GetOutArgInfo.sci b/macros/FunctionAnnotation/FA_GetOutArgInfo.sci
index 99eaaa5..4d1113e 100644
--- a/macros/FunctionAnnotation/FA_GetOutArgInfo.sci
+++ b/macros/FunctionAnnotation/FA_GetOutArgInfo.sci
@@ -29,6 +29,7 @@ SCI2CNInArgCheck(argn(2),10,10);
// --- Initialization. ---
// -----------------------
+
UpdatedOutArg = OutArg;
for cntin = 1:NInArg
IN(cntin).TP = InArg(cntin).Type;
@@ -101,7 +102,19 @@ for counterout = 1:NOutArg
// This is a dynamic memory extension of a local variable and for the moment
// we issue an error according to SCI2C specifications
// #RNU_RES_E
- //disp(FunSizeAnnot)
+ //disp(FunSizeAnnot(2),FunSizeAnnot(1))
+ //Ukasha
+// if ASTFunName == svd
+// x=1;
+// for i=1:InArg(1).Size(1)
+// for j=1:InArg(1).Size(2)
+// A(i)(j)=InArg(1).Value(x);
+// end
+// end
+// [U,S,V]=svd(A,"e");
+
+
+
for iterOutputPosition=1:size(FunSizeAnnot, 'c')
tmpeval = eval(FunSizeAnnot(counterout, iterOutputPosition));
if (IsNanSize(tmpeval))
diff --git a/macros/FunctionAnnotation/lib b/macros/FunctionAnnotation/lib
deleted file mode 100644
index 5eb9bc2..0000000
--- a/macros/FunctionAnnotation/lib
+++ /dev/null
Binary files differ
diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib
deleted file mode 100644
index e101853..0000000
--- a/macros/FunctionList/lib
+++ /dev/null
Binary files differ
diff --git a/macros/GeneralFunctions/lib b/macros/GeneralFunctions/lib
deleted file mode 100644
index 846ca1b..0000000
--- a/macros/GeneralFunctions/lib
+++ /dev/null
Binary files differ
diff --git a/macros/Hardware/AVR/lib b/macros/Hardware/AVR/lib
deleted file mode 100644
index 53e5659..0000000
--- a/macros/Hardware/AVR/lib
+++ /dev/null
Binary files differ
diff --git a/macros/Hardware/RasberryPi/lib b/macros/Hardware/RasberryPi/lib
deleted file mode 100644
index dc759fe..0000000
--- a/macros/Hardware/RasberryPi/lib
+++ /dev/null
Binary files differ
diff --git a/macros/ImageProcessing/core/lib b/macros/ImageProcessing/core/lib
deleted file mode 100644
index 7f003c8..0000000
--- a/macros/ImageProcessing/core/lib
+++ /dev/null
Binary files differ
diff --git a/macros/ImageProcessing/highgui/lib b/macros/ImageProcessing/highgui/lib
deleted file mode 100644
index 787c25f..0000000
--- a/macros/ImageProcessing/highgui/lib
+++ /dev/null
Binary files differ
diff --git a/macros/ImageProcessing/imgproc/lib b/macros/ImageProcessing/imgproc/lib
deleted file mode 100644
index 93c8390..0000000
--- a/macros/ImageProcessing/imgproc/lib
+++ /dev/null
Binary files differ
diff --git a/macros/Scilab-Arduino/GetArduinoFunctions.sci b/macros/Scilab-Arduino/GetArduinoFunctions.sci
index eff61fe..69c4ab3 100644
--- a/macros/Scilab-Arduino/GetArduinoFunctions.sci
+++ b/macros/Scilab-Arduino/GetArduinoFunctions.sci
@@ -31,6 +31,6 @@ ArduinoFunctions = [
"cmd_servo_attach"
"cmd_servo_detach"
"cmd_servo_move"
- "i2c_dev"];
+ "cmd_i2c_dev"];
endfunction
diff --git a/macros/Scilab-Arduino/GetArduinoSetupFunctions.sci b/macros/Scilab-Arduino/GetArduinoSetupFunctions.sci
index d310648..78bda03 100644
--- a/macros/Scilab-Arduino/GetArduinoSetupFunctions.sci
+++ b/macros/Scilab-Arduino/GetArduinoSetupFunctions.sci
@@ -25,7 +25,7 @@ ArduinoSetupFunctions = [
"cmd_dcmotor_setup"
"cmd_servo_attach"
"cmd_servo_detach"
- "i2c_dev"];
+ "cmd_i2c_dev"];
endfunction
diff --git a/macros/Scilab-Arduino/lib b/macros/Scilab-Arduino/lib
deleted file mode 100644
index 5b7beab..0000000
--- a/macros/Scilab-Arduino/lib
+++ /dev/null
Binary files differ
diff --git a/macros/SymbolTable/ST_GetInArgInfo.sci b/macros/SymbolTable/ST_GetInArgInfo.sci
index 4c85408..69885dd 100644
--- a/macros/SymbolTable/ST_GetInArgInfo.sci
+++ b/macros/SymbolTable/ST_GetInArgInfo.sci
@@ -210,7 +210,7 @@ for cntinarg = 1:NInArg
PrintStringInfo(' Type: '+UpdatedInArg(cntinarg).Type,FileInfo.Funct(nxtscifunnumber).ReportFileName,'file');
PrintStringInfo(' Size(1): '+string(UpdatedInArg(cntinarg).Size(1)),FileInfo.Funct(nxtscifunnumber).ReportFileName,'file');
PrintStringInfo(' Size(2): '+string(UpdatedInArg(cntinarg).Size(2)),FileInfo.Funct(nxtscifunnumber).ReportFileName,'file');
- PrintStringInfo(' Value: '+string(UpdatedInArg(cntinarg).Value),FileInfo.Funct(nxtscifunnumber).ReportFileName,'file');
+ //PrintStringInfo(' Value: '+string(UpdatedInArg(cntinarg).Value),FileInfo.Funct(nxtscifunnumber).ReportFileName,'file');
PrintStringInfo(' FindLike: '+string(UpdatedInArg(cntinarg).FindLike),FileInfo.Funct(nxtscifunnumber).ReportFileName,'file');
PrintStringInfo(' Dimension: '+string(UpdatedInArg(cntinarg).Dimension),FileInfo.Funct(nxtscifunnumber).ReportFileName,'file');
PrintStringInfo(' Scope: '+UpdatedInArg(cntinarg).Scope,FileInfo.Funct(nxtscifunnumber).ReportFileName,'file');
diff --git a/macros/SymbolTable/ST_InsOutArg_Dup.sci b/macros/SymbolTable/ST_InsOutArg_Dup.sci
index bca6623..67554bd 100644
--- a/macros/SymbolTable/ST_InsOutArg_Dup.sci
+++ b/macros/SymbolTable/ST_InsOutArg_Dup.sci
@@ -175,7 +175,7 @@ for counteroutput = 1:NOutArg
ST_Set(OutArg(counteroutput).Name,...
OutArg(counteroutput).Type,...
TmpOutArgSize,...
- OutArg(counteroutput).Value,...
+ InArg,...
OutArg(counteroutput).FindLike,...
OutArg(counteroutput).Dimension,...
SymbTableFileName);
diff --git a/macros/SymbolTable/lib b/macros/SymbolTable/lib
deleted file mode 100644
index c42cf1a..0000000
--- a/macros/SymbolTable/lib
+++ /dev/null
Binary files differ
diff --git a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci
index 77d51f1..ea84c6a 100644
--- a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci
+++ b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci
@@ -302,6 +302,7 @@ PrintStringInfo('i80'+ArgSeparator+'s0',ClassFileName,'file','y');
PrintStringInfo('u160'+ArgSeparator+'s0',ClassFileName,'file','y');
PrintStringInfo('i160'+ArgSeparator+'s0',ClassFileName,'file','y');
PrintStringInfo('s2'+ArgSeparator+'s2',ClassFileName,'file','y');
+PrintStringInfo('z0'+ArgSeparator+'c0',ClassFileName,'file','y');
PrintStringInfo('d2'+ArgSeparator+'s2',ClassFileName,'file','y');
PrintStringInfo('u82'+ArgSeparator+'s2',ClassFileName,'file','y');
@@ -317,7 +318,6 @@ PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file',
INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
-
// ---------------------
// --- Class Int8. ---
// ---------------------
@@ -4752,6 +4752,57 @@ PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file',
INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+
+//------------------------------------
+//---- Class TOEPLITZ ----------------
+//------------------------------------
+ClassName = 'toeplitz';
+
+// --- Class Annotation. ---
+PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y');
+ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls);
+
+PrintStringInfo('NIN= 2',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 1',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(2)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= IN(2).SZ(2)',ClassFileName,'file','y');
+
+PrintStringInfo('NIN= 1',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 1',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(2)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+
+
+
+ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
+PrintStringInfo('d2d2'+ArgSeparator+'d2',ClassFileName,'file','y');
+PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y');
+PrintStringInfo('u82u82'+ArgSeparator+'u82',ClassFileName,'file','y');
+PrintStringInfo('u82'+ArgSeparator+'u82',ClassFileName,'file','y');
+PrintStringInfo('u162u162'+ArgSeparator+'u162',ClassFileName,'file','y');
+PrintStringInfo('u162'+ArgSeparator+'u162',ClassFileName,'file','y');
+PrintStringInfo('g2g2'+ArgSeparator+'g2',ClassFileName,'file','y');
+PrintStringInfo('g2'+ArgSeparator+'g2',ClassFileName,'file','y');
+PrintStringInfo('z2z2'+ArgSeparator+'z2',ClassFileName,'file','y');
+PrintStringInfo('z2'+ArgSeparator+'z2',ClassFileName,'file','y');
+PrintStringInfo('s2s2'+ArgSeparator+'s2',ClassFileName,'file','y');
+PrintStringInfo('s2'+ArgSeparator+'s2',ClassFileName,'file','y');
+PrintStringInfo('c2c2'+ArgSeparator+'c2',ClassFileName,'file','y');
+PrintStringInfo('c2'+ArgSeparator+'c2',ClassFileName,'file','y');
+PrintStringInfo('i82i82'+ArgSeparator+'i82',ClassFileName,'file','y');
+PrintStringInfo('i82'+ArgSeparator+'i82',ClassFileName,'file','y');
+PrintStringInfo('i162i162'+ArgSeparator+'i162',ClassFileName,'file','y');
+PrintStringInfo('i162'+ArgSeparator+'i162',ClassFileName,'file','y');
+
+// --- Annotation Function And Function List Function. ---
+FunctionName = 'toeplitz';
+PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y');
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+
+
// -------------------
// --- Class Spec. ---
// -------------------
@@ -6044,6 +6095,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_digitalWriteByte';
@@ -6096,6 +6148,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_pwmClock';
@@ -6120,6 +6173,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u320'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_pwmRange';
@@ -6176,6 +6230,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80'+ArgSeparator+'i80',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'i80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_I2CSetup';
@@ -6208,6 +6263,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160'+ArgSeparator+'i80',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'i80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_I2CRead';
@@ -6264,6 +6320,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80'+ArgSeparator+'u80',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'u80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_getAlt';
@@ -6300,6 +6357,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160'+ArgSeparator+'u160',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'u160',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_gertboardAnalogRead';
@@ -6324,6 +6382,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80'+ArgSeparator+'g2',ClassFileName,'file','y');
+PrintStringInfo('d0'+ArgSeparator+'g2',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_serialGetchar';
@@ -6345,6 +6404,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u80'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_pinModeAlt';
@@ -6409,6 +6469,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u160'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_pwmWrite';
@@ -6441,6 +6502,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160u160'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_gertboardAnalogWrite';
@@ -6465,6 +6527,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80g2'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0g2'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_pinMode';
@@ -6509,6 +6572,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u320'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_softToneWrite';
@@ -6533,6 +6597,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80i160'+ArgSeparator+'i80',ClassFileName,'file','y');
+PrintStringInfo('d0d0'+ArgSeparator+'i80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_waitForInterrupt';
@@ -6557,6 +6622,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160u160'+ArgSeparator+'i80',ClassFileName,'file','y');
+PrintStringInfo('d0d0'+ArgSeparator+'i80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_I2CWrite';
@@ -6589,6 +6655,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('g2u320'+ArgSeparator+'i80',ClassFileName,'file','y');
+PrintStringInfo('g2d0'+ArgSeparator+'i80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_serialOpen';
@@ -6613,6 +6680,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160u80'+ArgSeparator+'u80',ClassFileName,'file','y');
+PrintStringInfo('d0d0'+ArgSeparator+'u80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_pcf8574Setup';
@@ -6650,6 +6718,7 @@ PrintStringInfo('NOUT= 1',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u80u80'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_lcdPosition';
@@ -6675,6 +6744,7 @@ PrintStringInfo('NOUT= 1',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160u160u160'+ArgSeparator+'i80',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0'+ArgSeparator+'i80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_I2CWriteReg8';
@@ -6700,6 +6770,7 @@ PrintStringInfo('NOUT= 1',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u80u80'+ArgSeparator+'u80',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0'+ArgSeparator+'u80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_shiftIn';
@@ -6724,6 +6795,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u160u160'+ArgSeparator+'u80',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0'+ArgSeparator+'u80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_softPwmCreate';
@@ -6748,6 +6820,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160u160u160'+ArgSeparator+'u80',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0'+ArgSeparator+'u80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_mcp23s08Setup';
@@ -6776,6 +6849,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u80u80u80'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_shiftOut';
@@ -6800,6 +6874,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u160u80u80u80u80'+ArgSeparator+'i80',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0d0d0'+ArgSeparator+'i80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_sr595Setup';
@@ -6824,6 +6899,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u80u80u80u80u80u80u80u80u80'+ArgSeparator+'',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0d0d0d0d0d0d0d0'+ArgSeparator+'',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_lcdCharDef';
@@ -6848,6 +6924,7 @@ PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
// --- Function List Class. ---
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('u80u80u80u80u80u80u80u80u80u80u80u80u80'+ArgSeparator+'u80',ClassFileName,'file','y');
+PrintStringInfo('d0d0d0d0d0d0d0d0d0d0d0d0d0'+ArgSeparator+'u80',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'RPI_lcdInit';
@@ -8028,6 +8105,315 @@ PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file',
INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+
+
+//------------------------------------
+//---- Class SQROOT ---------------------
+//------------------------------------
+ClassName = 'SQROOT';
+
+// --- Class Annotation. ---
+PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y');
+ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls);
+
+PrintStringInfo('NIN= 1',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 1',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+
+ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
+PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y');
+
+// --- Annotation Function And Function List Function. ---
+FunctionName = 'sqroot';
+PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y');
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+
+
+
+//------------------------------------
+//---- Class GIVENS ---------------------
+//------------------------------------
+ClassName = 'GIVENS';
+
+// --- Class Annotation. ---
+PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y');
+ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls);
+
+PrintStringInfo('NIN= 1',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 1',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= ''2''',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= ''2''',ClassFileName,'file','y');
+
+PrintStringInfo('NIN= 1',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 2',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= ''2''',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= ''2''',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= ''2''',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= ''1''',ClassFileName,'file','y');
+
+
+PrintStringInfo('NIN= 2',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 1',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= ''2''',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= ''2''',ClassFileName,'file','y');
+
+PrintStringInfo('NIN= 2',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 2',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= ''2''',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= ''2''',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= ''2''',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= ''1''',ClassFileName,'file','y');
+
+
+ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
+PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y');
+PrintStringInfo('d2'+ArgSeparator+'d2d2',ClassFileName,'file','y');
+PrintStringInfo('d0d0'+ArgSeparator+'d2',ClassFileName,'file','y');
+PrintStringInfo('d0d0'+ArgSeparator+'d2d2',ClassFileName,'file','y');
+
+// --- Annotation Function And Function List Function. ---
+FunctionName = 'givens';
+PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y');
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+
+
+
+//------------------------------------
+//---- Class HOUSEHOLDER---------------------
+//------------------------------------
+ClassName = 'HOUSEHOLDER';
+
+// --- Class Annotation. ---
+PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y');
+ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls);
+
+PrintStringInfo('NIN= 1',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 1',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
+
+PrintStringInfo('NIN= 2',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 1',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= ''1''',ClassFileName,'file','y');
+
+ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
+PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y');
+PrintStringInfo('d2d2'+ArgSeparator+'d2',ClassFileName,'file','y');
+
+// --- Annotation Function And Function List Function. ---
+FunctionName = 'householder';
+PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y');
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+
+
+//------------------------------------
+//---- Class FULLRF---------------------
+//------------------------------------
+ClassName = 'FULLRF';
+
+// --- Class Annotation. ---
+PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y');
+ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls);
+
+PrintStringInfo('NIN= 1',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 3',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).SZ(1)= ''1''',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).SZ(2)= ''1''',ClassFileName,'file','y');
+
+
+PrintStringInfo('NIN= 2',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 3',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+
+
+ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
+PrintStringInfo('d2'+ArgSeparator+'d2d2d0',ClassFileName,'file','y');
+PrintStringInfo('d2d0'+ArgSeparator+'d2d2d0',ClassFileName,'file','y');
+
+// --- Annotation Function And Function List Function. ---
+FunctionName = 'fullrf';
+PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y');
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+
+
+//------------------------------------
+//---- Class ROWCOMP ---------------------
+//------------------------------------
+ClassName = 'ROWCOMP';
+
+// --- Class Annotation. ---
+PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y');
+ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls);
+
+PrintStringInfo('NIN= 1',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 2',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= ''1''',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= ''1''',ClassFileName,'file','y');
+
+PrintStringInfo('NIN= 2',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 2',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= ''1''',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= ''1''',ClassFileName,'file','y');
+
+PrintStringInfo('NIN= 3',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 2',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= ''1''',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= ''1''',ClassFileName,'file','y');
+
+ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
+PrintStringInfo('d2'+ArgSeparator+'d2d0',ClassFileName,'file','y');
+PrintStringInfo('d2g2'+ArgSeparator+'d2d0',ClassFileName,'file','y');
+PrintStringInfo('d2g2d0'+ArgSeparator+'d2d0',ClassFileName,'file','y');
+
+// --- Annotation Function And Function List Function. ---
+FunctionName = 'rowcomp';
+PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y');
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+
+
+//------------------------------------
+//---- Class QR---------------------
+//------------------------------------
+ClassName = 'QR';
+
+// --- Class Annotation. ---
+PrintStringInfo(' Adding Class: '+ClassName+'.',GeneralReport,'file','y');
+ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls);
+
+PrintStringInfo('NIN= 1',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 2',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+
+PrintStringInfo('NIN= 1',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 3',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).SZ(1)= IN(1).SZ(2)',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+
+PrintStringInfo('NIN= 2',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 2',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= FA_MIN(IN(1).SZ(1),IN(1).SZ(2))',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= FA_MIN(IN(1).SZ(1),IN(1).SZ(2))',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+
+PrintStringInfo('NIN= 2',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 3',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= FA_MIN(IN(1).SZ(1),IN(1).SZ(2))',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= FA_MIN(IN(1).SZ(1),IN(1).SZ(2))',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');;
+PrintStringInfo('OUT(3).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).SZ(1)= IN(1).SZ(2)',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+
+PrintStringInfo('NIN= 2',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 4',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= FA_MIN(IN(1).SZ(1),IN(1).SZ(2))',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= FA_MIN(IN(1).SZ(1),IN(1).SZ(2))',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');;
+PrintStringInfo('OUT(3).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).SZ(1)= ''1''',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).SZ(2)= ''1''',ClassFileName,'file','y');
+PrintStringInfo('OUT(4).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(4).SZ(1)= IN(1).SZ(2)',ClassFileName,'file','y');
+PrintStringInfo('OUT(4).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+
+PrintStringInfo('NIN= 1',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 4',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= FA_MIN(IN(1).SZ(1),IN(1).SZ(2))',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= FA_MIN(IN(1).SZ(1),IN(1).SZ(2))',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');;
+PrintStringInfo('OUT(3).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).SZ(1)= ''1''',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).SZ(2)= ''1''',ClassFileName,'file','y');
+PrintStringInfo('OUT(4).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(4).SZ(1)= IN(1).SZ(2)',ClassFileName,'file','y');
+PrintStringInfo('OUT(4).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+
+
+ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
+PrintStringInfo('d2'+ArgSeparator+'d2d2',ClassFileName,'file','y');
+PrintStringInfo('d2'+ArgSeparator+'d2d2d2',ClassFileName,'file','y');
+PrintStringInfo('d2g2'+ArgSeparator+'d2d2',ClassFileName,'file','y');
+PrintStringInfo('d2g2'+ArgSeparator+'d2d2d2',ClassFileName,'file','y');
+PrintStringInfo('d2d0'+ArgSeparator+'d2d2d0d2',ClassFileName,'file','y');
+PrintStringInfo('d2'+ArgSeparator+'d2d2d0d2',ClassFileName,'file','y');
+
+
+
+// --- Annotation Function And Function List Function. ---
+FunctionName = 'qr';
+PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file','y');
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
+INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+
+
+
//------------------------------------
//---- Class svd ---------------------
//------------------------------------
@@ -8061,8 +8447,8 @@ PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(1)',ClassFileName,'file','y');
PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
-PrintStringInfo('OUT(2).SZ(1)= FA_MIN(IN(1).SZ(1),IN(1).SZ(2))',ClassFileName,'file','y');
-PrintStringInfo('OUT(2).SZ(2)= FA_MIN(IN(1).SZ(1),IN(1).SZ(2))',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
PrintStringInfo('OUT(3).TP= IN(1).TP',ClassFileName,'file','y');
PrintStringInfo('OUT(3).SZ(1)= IN(1).SZ(2)',ClassFileName,'file','y');
PrintStringInfo('OUT(3).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
@@ -8091,11 +8477,41 @@ PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(1)',ClassFileName,'file','y');
PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
-PrintStringInfo('OUT(2).SZ(1)= FA_MIN(IN(1).SZ(1),IN(1).SZ(2))',ClassFileName,'file','y');
-PrintStringInfo('OUT(2).SZ(2)= FA_MIN(IN(1).SZ(1),IN(1).SZ(2))',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).SZ(1)= IN(1).SZ(2)',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+
+PrintStringInfo('NIN= 1',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 4',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).SZ(1)= IN(1).SZ(2)',ClassFileName,'file','y');
+PrintStringInfo('OUT(3).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+PrintStringInfo('OUT(4).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(4).SZ(1)= ''1''',ClassFileName,'file','y');
+PrintStringInfo('OUT(4).SZ(2)= ''1''',ClassFileName,'file','y');
+
+PrintStringInfo('NIN= 2',ClassFileName,'file','y');
+PrintStringInfo('NOUT= 4',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
+PrintStringInfo('OUT(2).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
PrintStringInfo('OUT(3).TP= IN(1).TP',ClassFileName,'file','y');
PrintStringInfo('OUT(3).SZ(1)= IN(1).SZ(2)',ClassFileName,'file','y');
PrintStringInfo('OUT(3).SZ(2)= IN(1).SZ(2)',ClassFileName,'file','y');
+PrintStringInfo('OUT(4).TP= ''d''',ClassFileName,'file','y');
+PrintStringInfo('OUT(4).SZ(1)= ''1''',ClassFileName,'file','y');
+PrintStringInfo('OUT(4).SZ(2)= ''1''',ClassFileName,'file','y');
ClassFileName = fullfile(SCI2CLibCFLClsDir,ClassName+ExtensionCFuncListCls);
PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y');
@@ -8104,6 +8520,8 @@ PrintStringInfo('d2'+ArgSeparator+'d2d2d2',ClassFileName,'file','y');
PrintStringInfo('z2'+ArgSeparator+'z2',ClassFileName,'file','y');
PrintStringInfo('z2g2'+ArgSeparator+'z2z2z2',ClassFileName,'file','y');
PrintStringInfo('z2'+ArgSeparator+'z2z2z2',ClassFileName,'file','y');
+PrintStringInfo('d2'+ArgSeparator+'d2d2d2d0',ClassFileName,'file','y');
+PrintStringInfo('d2d0'+ArgSeparator+'d2d2d2d0',ClassFileName,'file','y');
// --- Annotation Function And Function List Function. ---
FunctionName = 'svd';
@@ -8147,7 +8565,6 @@ INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,E
INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
-
//------------------------------------
//---- Class SVA ---------------------
//------------------------------------
@@ -8173,7 +8590,7 @@ PrintStringInfo('NIN= 2',ClassFileName,'file','y');
PrintStringInfo('NOUT= 3',ClassFileName,'file','y');
PrintStringInfo('OUT(1).TP= IN(1).TP',ClassFileName,'file','y');
PrintStringInfo('OUT(1).SZ(1)= IN(1).SZ(1)',ClassFileName,'file','y');
-PrintStringInfo('OUT(1).SZ(2)= FA_SZ_U_SVA(IN(1),IN(2).VAL)',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).SZ(2)= FA_MIN(IN(1).SZ(1),IN(1).SZ(2))',ClassFileName,'file','y');
PrintStringInfo('OUT(2).TP= IN(1).TP',ClassFileName,'file','y');
PrintStringInfo('OUT(2).SZ(1)= FA_MIN(IN(1).SZ(1),IN(1).SZ(2))',ClassFileName,'file','y');
PrintStringInfo('OUT(2).SZ(2)= FA_MIN(IN(1).SZ(1),IN(1).SZ(2))',ClassFileName,'file','y');
@@ -8191,6 +8608,7 @@ PrintStringInfo(' Adding Function: '+FunctionName+'.',GeneralReport,'file',
INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCAnnFunDir,ClassName,GeneralReport,ExtensionCAnnFun);
INIT_GenAnnFLFunctions(FunctionName,SCI2CLibCFLFunDir,ClassName,GeneralReport,ExtensionCFuncListFun);
+
//------------------------------------
//---- Class balanc ------------------
//------------------------------------
@@ -9987,7 +10405,7 @@ ClassFileName = fullfile(SCI2CLibCAnnClsDir,ClassName+ExtensionCAnnCls);
PrintStringInfo('NIN= 3',ClassFileName,'file','y');
PrintStringInfo('NOUT= 1',ClassFileName,'file','y');
-PrintStringInfo('OUT(1).TP= IN(3).TP',ClassFileName,'file','y');
+PrintStringInfo('OUT(1).TP= ''d''',ClassFileName,'file','y');
PrintStringInfo('OUT(1).SZ(1)= IN(3).SZ(1)',ClassFileName,'file','y');
PrintStringInfo('OUT(1).SZ(2)= IN(3).SZ(2)',ClassFileName,'file','y');
diff --git a/macros/ToolInitialization/lib b/macros/ToolInitialization/lib
deleted file mode 100644
index 267c9c9..0000000
--- a/macros/ToolInitialization/lib
+++ /dev/null
Binary files differ
diff --git a/macros/cb_sci2c_gui.sci b/macros/cb_sci2c_gui.sci
index 2267c6c..bf77c25 100644
--- a/macros/cb_sci2c_gui.sci
+++ b/macros/cb_sci2c_gui.sci
@@ -200,12 +200,17 @@ elseif get(gcbo, "tag")=="convertbtn" then
// -*- DEBUG ONLY -*-
- //mprintf("UserScilabMainFile = {%s}\n", UserScilabMainFile);
- //mprintf("UserSciFilesPaths = {%s}\n", UserSciFilesPaths);
- //mprintf("UserSciCodeMainDir = {%s}\n", UserSciCodeMainDir);
- //mprintf("RunMode = {%s}\n", RunMode);
- //mprintf("CopySciCodeIntoCCode = {%d}\n", bool2s(CopySciCodeIntoCCode));
- //mprintf("NativeBuild = {%s}\n", NativeBuild);
+ mprintf("UserScilabMainFile = {%s}\n", UserScilabMainFile);
+ mprintf("UserSciFilesPaths = {%s}\n", UserSciFilesPaths);
+ mprintf("UserSciCodeMainDir = {%s}\n", UserSciCodeMainDir);
+ mprintf("RunMode = {%s}\n", RunMode);
+ mprintf("CopySciCodeIntoCCode = {%d}\n", bool2s(CopySciCodeIntoCCode));
+ mprintf("NativeBuild = {%s}\n", NativeBuild);
+ mprintf("Target = {%s}\n", Target);
+ mprintf("Board Name = {%s}\n", Board_name);
+// disp("Variable Names:")
+// disp(UserScilabMainFile, UserSciCodeMainDir, UserSciFilesPaths, RunMode, NativeBuild,Target,Board_name)
+// disp("Done")
scilab2c(UserScilabMainFile, UserSciCodeMainDir, UserSciFilesPaths, RunMode, NativeBuild,Target,Board_name);
//
// --- sci2c help ---
diff --git a/macros/findDeps/Scilab2CDeps.sci b/macros/findDeps/Scilab2CDeps.sci
index 8044e27..b1b75c7 100644
--- a/macros/findDeps/Scilab2CDeps.sci
+++ b/macros/findDeps/Scilab2CDeps.sci
@@ -7,16 +7,15 @@
// 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
+// Edited by: Yash Pratap Singh Tomar
-
-function scilab2ccode = initDependecies()
+function scilab2ccode = Scilab2CDeps()
/////////////////////////////////
////// AUXILIARY FUNCTIONS //////
/////////////////////////////////
-
//abs
scilab2ccode.deps.cabss=["ssqrts","sabss","creals","cimags"]
scilab2ccode.deps.cabsa=["cabss"]
@@ -26,8 +25,14 @@ scilab2ccode.deps.sabss=[]
scilab2ccode.deps.sabsa=["sabss"]
scilab2ccode.deps.zabss=["dsqrts","dabss","zreals","zimags"]
scilab2ccode.deps.zabsa=["zabss"]
-
-
+scilab2ccode.deps.u8absa=["u8abss"]
+scilab2ccode.deps.u8abss=[]
+scilab2ccode.deps.i8absa=["i8abss"]
+scilab2ccode.deps.i8abss=[]
+scilab2ccode.deps.u16absa=["u16abss"]
+scilab2ccode.deps.u16abss=[]
+scilab2ccode.deps.i16absa=["i16abss"]
+scilab2ccode.deps.i16abss=[]
//conj
scilab2ccode.deps.cconjs=["FloatComplex","creals","cimags"]
scilab2ccode.deps.cconja=["cconjs"]
@@ -39,7 +44,24 @@ scilab2ccode.deps.cfinda=["creals","cimags"]
scilab2ccode.deps.dfinda=[]
scilab2ccode.deps.sfinda=[]
scilab2ccode.deps.zfinda=["zreals","zimags"]
-
+scilab2ccode.deps.i8finda=[]
+scilab2ccode.deps.i16finda=[]
+scilab2ccode.deps.u8finda=[]
+scilab2ccode.deps.u16finda=[]
+
+//float
+scilab2ccode.deps.dfloats=[]
+scilab2ccode.deps.dfloata=[]
+scilab2ccode.deps.i8floats=[]
+scilab2ccode.deps.i8floata=[]
+scilab2ccode.deps.i16floats=[]
+scilab2ccode.deps.i16floata=[]
+scilab2ccode.deps.sfloats=[]
+scilab2ccode.deps.sfloata=[]
+scilab2ccode.deps.u8floats=[]
+scilab2ccode.deps.u8floata=[]
+scilab2ccode.deps.u16floats=[]
+scilab2ccode.deps.u16floata=[]
//find2d
scilab2ccode.deps.cfind2da=["creals","cimags"]
@@ -78,9 +100,25 @@ scilab2ccode.deps.zisnana=["zisnans"]
scilab2ccode.deps.cpythags=["csqrts","cadds","cmuls"]
scilab2ccode.deps.dpythags=["dsqrts"]
scilab2ccode.deps.spythags=["ssqrts"]
-scilab2ccode.deps.cpythags=["zsqrts","zadds","zmuls"]
+scilab2ccode.deps.zpythags=["zsqrts","zadds","zmuls"]
//rand
+scilab2ccode.deps.cranda=["crands"]
+scilab2ccode.deps.crands=["FloatComplex"]
+scilab2ccode.deps.dranda=["drands"]
+scilab2ccode.deps.drands=[]
+scilab2ccode.deps.i8randa=["i8rands"]
+scilab2ccode.deps.i8rands=[]
+scilab2ccode.deps.i16randa=["i16rands"]
+scilab2ccode.deps.i16rands=[]
+scilab2ccode.deps.sranda=["srands"]
+scilab2ccode.deps.srands=[]
+scilab2ccode.deps.u8randa=["u8rands"]
+scilab2ccode.deps.u8rands=[]
+scilab2ccode.deps.u16randa=["u16rands"]
+scilab2ccode.deps.u16rands=[]
+scilab2ccode.deps.zranda=["drands","DoubleComplex","zreals",]
+scilab2ccode.deps.zrands=["drands","DoubleComplex"]
//sign
scilab2ccode.deps.csigns=["FloatComplex","cabss","creals","cimags"]
@@ -91,11 +129,54 @@ scilab2ccode.deps.dsigns=[]
scilab2ccode.deps.dsigna=["ssigns"]
scilab2ccode.deps.zsigns=["DoubleComplex","zabss","zreals","zimags"]
scilab2ccode.deps.zsigna=["zsigns"]
+scilab2ccode.deps.i8signa=["i8signs"]
+scilab2ccode.deps.i8signs=[]
+scilab2ccode.deps.i16signa=["i16signs"]
+scilab2ccode.deps.i16signs=[]
+scilab2ccode.deps.u8signa=["u8signs"]
+scilab2ccode.deps.u8signs=[]
+scilab2ccode.deps.u16signa=["u16signs"]
+scilab2ccode.deps.u16signs=[]
//size
+scilab2ccode.deps.dallsizea=[]
//type
+/////////////////////////////////
+///// CACSD /////////////
+////////////////////////////////
+
+//lqe
+scilab2ccode.deps.dlqea=["dtransposea","dlqra"]
+
+//lqr
+scilab2ccode.deps.dlqra=["dtransposea","dmulma","dinverma","ddiffa","dschura","drdivma","dadda","deyea","dgschura"]
+
+//obscont
+scilab2ccode.deps.dobsconta=["dmulma","dadda"]
+
+//syslin
+scilab2ccode.deps.dsyslina=[]
+
+/////////////////////////////////
+///////DIFFERENTIAL CALCULUS/////
+/////////////////////////////////
+
+//diff
+scilab2ccode.deps.ddiffca=[]
+scilab2ccode.deps.i8diffca=[]
+scilab2ccode.deps.i16diffca=[]
+scilab2ccode.deps.sdiffca=[]
+scilab2ccode.deps.u8diffca=[]
+scilab2ccode.deps.u16diffca=[]
+
+//ode
+scilab2ccode.deps.dodea=[]
+scilab2ccode.deps.dodes=[]
+
+
+
//////////////////////////////////
////// ELEMENTARY FUNCTIONS //////
@@ -111,6 +192,11 @@ scilab2ccode.deps.sacosa=["sacoss"]
scilab2ccode.deps.zacoss=["DoubleComplex","dsqrts","dabss","dacoss","datans","dlogs","dlog1ps","zreals","zimags"]
scilab2ccode.deps.zacosa=["zacoss"]
+//acosd
+scilab2ccode.deps.dacosda=["dacosds"]
+scilab2ccode.deps.dacosds=[]
+scilab2ccode.deps.sacosda=["sacosds"]
+scilab2ccode.deps.sacosds=[]
//acosh
scilab2ccode.deps.cacoshs=["FloatComplex","cacoss","creals","cimags"]
@@ -122,6 +208,76 @@ scilab2ccode.deps.sacosha=["sacoshs"]
scilab2ccode.deps.zacoshs=["DoubleComplex","zacoss","zreals","zimags"]
scilab2ccode.deps.zacosha=["zacoshs"]
+//acot
+scilab2ccode.deps.cacota=["cacots"]
+scilab2ccode.deps.cacots=["FloatComplex","crdivs","catans"]
+scilab2ccode.deps.dacota=["dacots"]
+scilab2ccode.deps.dacots=[]
+scilab2ccode.deps.sacota=["sacots"]
+scilab2ccode.deps.sacots=[]
+scilab2ccode.deps.zacota=["zacots"]
+scilab2ccode.deps.zacots=["DoubleComplex","zrdivs","zatans"]
+
+//acotd
+scilab2ccode.deps.dacotda=["dacotds"]
+scilab2ccode.deps.dacotds=[]
+scilab2ccode.deps.sacotda=["sacotds"]
+scilab2ccode.deps.sacotds=[]
+
+//acoth
+scilab2ccode.deps.cacotha=["cacoths"]
+scilab2ccode.deps.cacoths=["FloatComplex","crdivs","catanhs"]
+scilab2ccode.deps.dacotha=["dacoths"]
+scilab2ccode.deps.dacoths=[]
+scilab2ccode.deps.sacotha=["sacoths"]
+scilab2ccode.deps.sacoths=[]
+scilab2ccode.deps.zacotha=["zacoths"]
+scilab2ccode.deps.zacoths=["DoubleComplex","zrdivs","zatanhs"]
+
+//acsc
+scilab2ccode.deps.cacsca=["cacscs"]
+scilab2ccode.deps.cacscs=["FloatComplex","crdivs","casins"]
+scilab2ccode.deps.dacsca=["dacscs"]
+scilab2ccode.deps.dacscs=[]
+scilab2ccode.deps.sacsca=["sacscs"]
+scilab2ccode.deps.sacscs=[]
+scilab2ccode.deps.zacsca=["zacscs"]
+scilab2ccode.deps.zacscs=["DoubleComplex","zrdivs","zasins"]
+
+//acscd
+scilab2ccode.deps.dacscda=["dacscds"]
+scilab2ccode.deps.dacscds=[]
+scilab2ccode.deps.sacscda=["sacscds"]
+scilab2ccode.deps.sacscds=[]
+
+//acsch
+scilab2ccode.deps.cacsca=["cacscs"]
+scilab2ccode.deps.cacscs=["FloatComplex","crdivs","cmuls"]
+scilab2ccode.deps.dacscha=["dacschs"]
+scilab2ccode.deps.dacschs=[]
+scilab2ccode.deps.sacscha=["sacschs"]
+scilab2ccode.deps.sacschs=[]
+scilab2ccode.deps.zacsca=["zacscs"]
+scilab2ccode.deps.zacscs=["zrdivs","DoubleComplex","zasins"]
+
+//asec
+scilab2ccode.deps.daseca=["dasecs"]
+scilab2ccode.deps.dasecs=[]
+scilab2ccode.deps.saseca=["sasecs"]
+scilab2ccode.deps.sasecs=[]
+
+//asecd
+scilab2ccode.deps.dasecda=["dasecds"]
+scilab2ccode.deps.dasecds=[]
+scilab2ccode.deps.sasecda=["sasecds"]
+scilab2ccode.deps.sasecds=[]
+
+//asech
+scilab2ccode.deps.dasecha=["dasechs"]
+scilab2ccode.deps.dasechs=[]
+scilab2ccode.deps.sasecha=["sasechs"]
+scilab2ccode.deps.sasechs=[]
+
//asin
scilab2ccode.deps.casins=["FloatComplex","ssqrts","sabss","sasins","satans","slogs","slog1ps","dabss","creals","cimags"]
scilab2ccode.deps.casina=["casins"]
@@ -132,6 +288,13 @@ scilab2ccode.deps.sasina=["sasins"]
scilab2ccode.deps.zasins=["DoubleComplex","dsqrts","dabss","dasins","datans","dlog1ps","dlogs","zreals","zimags"]
scilab2ccode.deps.zasina=["zasins"]
+//asind
+scilab2ccode.deps.dasinda=["dasinds"]
+scilab2ccode.deps.dasinds=[]
+scilab2ccode.deps.sasinda=["sasinds"]
+scilab2ccode.deps.sasinds=[]
+
+
//asinh
scilab2ccode.deps.casinhs=["FloatComplex","casins","creals","cimags"]
scilab2ccode.deps.casinha=["casinhs"]
@@ -160,6 +323,11 @@ scilab2ccode.deps.datan2a=["datan2s"]
scilab2ccode.deps.satan2s=[]
scilab2ccode.deps.satan2a=["satan2s"]
+//atand
+scilab2ccode.deps.datanda=["datands"]
+scilab2ccode.deps.datands=[]
+scilab2ccode.deps.satanda=["satands"]
+scilab2ccode.deps.satands=[]
//atanh
scilab2ccode.deps.catanhs=["FloatComplex","creals","cimags","catans"]
@@ -171,6 +339,55 @@ scilab2ccode.deps.satanha=["satanhs"]
scilab2ccode.deps.zatanhs=["DoubleComplex","zreals","zimags","zatans"]
scilab2ccode.deps.zatanha=["zatanhs"]
+//bitand
+scilab2ccode.deps.u8bitanda=["u8bitands"]
+scilab2ccode.deps.u8bitands=[]
+scilab2ccode.deps.u16bitanda=["u16bitands"]
+scilab2ccode.deps.u16bitands=[]
+
+//bitcmp
+scilab2ccode.deps.u8bitcmps=["u8bitcmps"]
+scilab2ccode.deps.u8bitcmps=[]
+scilab2ccode.deps.u16bitcmpa=["u16bitcmps"]
+scilab2ccode.deps.u16bitcmps=[]
+
+//bitget
+scilab2ccode.deps.u8bitgets=[]
+scilab2ccode.deps.u16bitgets=[]
+
+//bitor
+scilab2ccode.deps.u8bitora=["u8bitors"]
+scilab2ccode.deps.u8bitors=[]
+scilab2ccode.deps.u16bitora=["u16bitors"]
+scilab2ccode.deps.u16bitors=[]
+
+//bitset
+scilab2ccode.deps.u8bitsets=[]
+scilab2ccode.deps.u16bitsets=[]
+
+//bitxor
+scilab2ccode.deps.u8bitxora=["u8bitxors"]
+scilab2ccode.deps.u8bitxors=[]
+scilab2ccode.deps.u16bitxora=["u16bitxors"]
+scilab2ccode.deps.u16bitxors=[]
+
+//ceil
+scilab2ccode.deps.cceila=["cceils"]
+scilab2ccode.deps.cceils=["creals","cimags","FloatComplex"]
+scilab2ccode.deps.dceila=["dceils"]
+scilab2ccode.deps.dceils=[]
+scilab2ccode.deps.i8ceila=["i8ceils"]
+scilab2ccode.deps.i8ceils=[]
+scilab2ccode.deps.i16ceila=["i16ceils"]
+scilab2ccode.deps.i16ceils=[]
+scilab2ccode.deps.sceila=["sceils"]
+scilab2ccode.deps.sceils=[]
+scilab2ccode.deps.u8ceila=["u8ceils"]
+scilab2ccode.deps.u8ceils=[]
+scilab2ccode.deps.u16ceila=["u16ceils"]
+scilab2ccode.deps.u16ceils=[]
+scilab2ccode.deps.zceila=["zceils"]
+scilab2ccode.deps.zceils=["zreals","zimags","DoubleComplex"]
//cos
scilab2ccode.deps.ccoss=["creals","cimags","FloatComplex","scoss","scoshs","ssins","ssinhs"]
@@ -181,7 +398,14 @@ scilab2ccode.deps.scoss=[]
scilab2ccode.deps.scosa=["scoss"]
scilab2ccode.deps.zcoss=["zreals","zimags","DoubleComplex","dcoss","dcoshs","dsins","dsinhs"]
scilab2ccode.deps.zcosa=["zcoss"]
-
+scilab2ccode.deps.i8cosa=["i8coss"]
+scilab2ccode.deps.i8coss=[]
+scilab2ccode.deps.i16cosa=["i16coss"]
+scilab2ccode.deps.i16coss=[]
+scilab2ccode.deps.u8cosa=["u8coss"]
+scilab2ccode.deps.u8coss=[]
+scilab2ccode.deps.u16cosa=["u16coss"]
+scilab2ccode.deps.u16coss=[]
//cosh
scilab2ccode.deps.ccoshs=["ccoss","FloatComplex","creals","cimags"]
@@ -192,6 +416,14 @@ scilab2ccode.deps.scoshs=["sexps","sabss"]
scilab2ccode.deps.scosha=["scoshs"]
scilab2ccode.deps.zcoshs=["zcoss","DoubleComplex","zreals","zimags"]
scilab2ccode.deps.zcosha=["zcoshs"]
+scilab2ccode.deps.i8cosha=["i8coshs"]
+scilab2ccode.deps.i8coshs=["i8abss","i8exps"]
+scilab2ccode.deps.i16cosha=["i16coshs"]
+scilab2ccode.deps.i16coshs=["i16abss","i16exps"]
+scilab2ccode.deps.u8cosha=["u8coshs"]
+scilab2ccode.deps.u8coshs=["u8abss","u8exps"]
+scilab2ccode.deps.u16cosha=["u16coshs"]
+scilab2ccode.deps.u16coshs=["u16abss","u16exps"]
//exp
@@ -203,7 +435,14 @@ scilab2ccode.deps.sexps=[]
scilab2ccode.deps.sexpa=["sexps"]
scilab2ccode.deps.zexps=["zreals","zimags","DoubleComplex","dexps","dcoss","dsins"]
scilab2ccode.deps.zexpa=["zexps"]
-
+scilab2ccode.deps.i8expa=["i8exps"]
+scilab2ccode.deps.i8exps=[]
+scilab2ccode.deps.i16expa=["i16exps"]
+scilab2ccode.deps.i16exps=[]
+scilab2ccode.deps.u8expa=["u8exps"]
+scilab2ccode.deps.u8exps=[]
+scilab2ccode.deps.u16expa=["u16exps"]
+scilab2ccode.deps.u16exps=[]
//exp10
scilab2ccode.deps.cexp10s=["cpows","FloatComplex"]
@@ -215,6 +454,80 @@ scilab2ccode.deps.sexp10a=["sexp10s"]
scilab2ccode.deps.zexp10s=["zpows","DoubleComplex"]
scilab2ccode.deps.zexp10a=["zexp10s"]
+//fix
+scilab2ccode.deps.cfixa=["cfixs"]
+scilab2ccode.deps.cfixs=["creals","cimags","FloatComplex"]
+scilab2ccode.deps.dfixa=["dfixs"]
+scilab2ccode.deps.dfixs=[]
+scilab2ccode.deps.i8fixa=["i8fixs"]
+scilab2ccode.deps.i8fixs=["i8floors","i8ceils"]
+scilab2ccode.deps.i16fixa=["i16fixs"]
+scilab2ccode.deps.i16fixs=["i16floors","i16ceils"]
+scilab2ccode.deps.sfixa=["sfixs"]
+scilab2ccode.deps.sfixs=[]
+scilab2ccode.deps.u8fixa=["u8fixs"]
+scilab2ccode.deps.u8fixs=["u8floors","u8ceils"]
+scilab2ccode.deps.u16fixa=["u16fixs"]
+scilab2ccode.deps.u16fixs=["u16floors","u16ceils"]
+scilab2ccode.deps.zfixa=["zfixs"]
+scilab2ccode.deps.zfixs=["zreals","zimags","DoubleComplex"]
+
+//floor
+scilab2ccode.deps.cfloora=["cfloors"]
+scilab2ccode.deps.cfloors=["creals","cimags","FloatComplex"]
+scilab2ccode.deps.dfloora=["dfloors"]
+scilab2ccode.deps.dfloors=[]
+scilab2ccode.deps.i8floora=["i8floors"]
+scilab2ccode.deps.i8floors=[]
+scilab2ccode.deps.i16floora=["i16floors"]
+scilab2ccode.deps.i16floors=[]
+scilab2ccode.deps.sfloora=["sfloors"]
+scilab2ccode.deps.sfloors=[]
+scilab2ccode.deps.u8floora=["u8floors"]
+scilab2ccode.deps.u8floors=[]
+scilab2ccode.deps.u16floora=["u16floors"]
+scilab2ccode.deps.u16floors=[]
+scilab2ccode.deps.zfloors=["zfloors"]
+scilab2ccode.deps.zfloors=["zreals","zimags","DoubleComplex"]
+
+//int
+scilab2ccode.deps.cinta=["cfixa"]
+scilab2ccode.deps.cints=["cfixs"]
+scilab2ccode.deps.dinta=["dfixa"]
+scilab2ccode.deps.dints=["dfixs"]
+scilab2ccode.deps.sinta=["sfixa"]
+scilab2ccode.deps.sints=["sfixs"]
+scilab2ccode.deps.zinta=["zfixa"]
+scilab2ccode.deps.zints=["zfixs"]
+
+//int8
+scilab2ccode.deps.dint8a=["dint8s"]
+scilab2ccode.deps.dint8s=[]
+scilab2ccode.deps.i16int8a=["i16int8s"]
+scilab2ccode.deps.i16int8s=[]
+scilab2ccode.deps.sint8a=["sint8s"]
+scilab2ccode.deps.sint8s=[]
+scilab2ccode.deps.u8int8a=["u8int8s"]
+scilab2ccode.deps.u8int8s=[]
+scilab2ccode.deps.u16int8a=["u16int8s"]
+scilab2ccode.deps.u16int8s=[]
+
+//int16
+scilab2ccode.deps.dint16a=["dint16s"]
+scilab2ccode.deps.dint16s=[]
+scilab2ccode.deps.i8int16a=["i8int16s"]
+scilab2ccode.deps.i8int16s=[]
+scilab2ccode.deps.sint16a=["sint16s"]
+scilab2ccode.deps.sint16s=[]
+scilab2ccode.deps.u8int16a=["u8int16s"]
+scilab2ccode.deps.u8int16s=[]
+scilab2ccode.deps.u16int16a=["u16int16s"]
+scilab2ccode.deps.u16int16s=[]
+
+//linspace
+scilab2ccode.deps.dlinspacea=[]
+scilab2ccode.deps.dlinspaces=[]
+
//lnp1m1
scilab2ccode.deps.dlnp1m1s=["dabss"]
@@ -253,6 +566,9 @@ scilab2ccode.deps.slog10a=["slog10s"]
scilab2ccode.deps.zlog10s=["zlogs","DoubleComplex","zreals","zimags","dlogs"]
scilab2ccode.deps.zlog10a=["zlog10s"]
+//logspace
+scilab2ccode.deps.dlogspacea=[]
+scilab2ccode.deps.dlogspaces=[]
//pow
scilab2ccode.deps.cpows=["cexps","cmuls","clogs"]
@@ -263,7 +579,32 @@ scilab2ccode.deps.spows=[]
scilab2ccode.deps.spowa=["spows"]
scilab2ccode.deps.zpows=["zexps","zmuls","zlogs"]
scilab2ccode.deps.zpowa=["zpows"]
-
+scilab2ccode.deps.i8powa=["i8pows"]
+scilab2ccode.deps.i8pows=[]
+scilab2ccode.deps.i16powa=["i16pows"]
+scilab2ccode.deps.i16pows=[]
+scilab2ccode.deps.u8powa=["u8pows"]
+scilab2ccode.deps.u8pows=[]
+scilab2ccode.deps.u16powa=["u16pows"]
+scilab2ccode.deps.u16pows=[]
+
+//round
+scilab2ccode.deps.crounda=["crounds"]
+scilab2ccode.deps.crounds=["creals","cimags","FloatComplex"]
+scilab2ccode.deps.drounda=["drounds"]
+scilab2ccode.deps.drounds=[]
+scilab2ccode.deps.i8rounda=["i8rounds"]
+scilab2ccode.deps.i8rounds=[]
+scilab2ccode.deps.i16rounda=["i16rounds"]
+scilab2ccode.deps.i16rounds=[]
+scilab2ccode.deps.srounda=["srounds"]
+scilab2ccode.deps.srounds=[]
+scilab2ccode.deps.u8rounda=["u8rounds"]
+scilab2ccode.deps.u8rounds=[]
+scilab2ccode.deps.u16rounda=["u16rounds"]
+scilab2ccode.deps.u16rounds=[]
+scilab2ccode.deps.zrounda=["zrounds"]
+scilab2ccode.deps.zrounds=["zreals","zimags","DoubleComplex"]
//sin
scilab2ccode.deps.csins=["creals","cimags","FloatComplex","ssins","scoshs","scoss","ssinhs"]
@@ -274,6 +615,14 @@ scilab2ccode.deps.ssins=[]
scilab2ccode.deps.ssina=["ssins"]
scilab2ccode.deps.zsins=["zreals","zimags","DoubleComplex","dsins","dcoshs","dcoss","dsinhs"]
scilab2ccode.deps.zsina=["zsins"]
+scilab2ccode.deps.i8sina=["i8sins"]
+scilab2ccode.deps.i8sins=[]
+scilab2ccode.deps.i16sina=["i16sins"]
+scilab2ccode.deps.i16sins=[]
+scilab2ccode.deps.u8sina=["u8sins"]
+scilab2ccode.deps.u8sins=[]
+scilab2ccode.deps.u16sina=["u16sins"]
+scilab2ccode.deps.u16sins=[]
//sinh
@@ -285,6 +634,14 @@ scilab2ccode.deps.ssinhs=[]
scilab2ccode.deps.ssinha=["ssinhs"]
scilab2ccode.deps.zsinhs=["zreals","zimags","zsins","DoubleComplex"]
scilab2ccode.deps.zsinha=["zsinhs"]
+scilab2ccode.deps.i8sinha=["i8sinhs"]
+scilab2ccode.deps.i8sinhs=[]
+scilab2ccode.deps.i16sinha=["i16sinhs"]
+scilab2ccode.deps.i16sinhs=[]
+scilab2ccode.deps.u8sinha=["u8sinhs"]
+scilab2ccode.deps.u8sinhs=[]
+scilab2ccode.deps.u16sinha=["u16sinhs"]
+scilab2ccode.deps.u16sinhs=[]
//sqrt
@@ -307,6 +664,14 @@ scilab2ccode.deps.stans=[]
scilab2ccode.deps.stana=["stans"]
scilab2ccode.deps.ztans=["dlogs","dsqrts","zreals","zimags","dcoss","dsinhs","dsins","dabss","DoubleComplex"]
scilab2ccode.deps.ztana=["ztans"]
+scilab2ccode.deps.i8tana=["i8tans"]
+scilab2ccode.deps.i8tans=[]
+scilab2ccode.deps.i16tana=["i16tans"]
+scilab2ccode.deps.i16tans=[]
+scilab2ccode.deps.u8tana=["u8tans"]
+scilab2ccode.deps.u8tans=[]
+scilab2ccode.deps.u16tana=["u16tans"]
+scilab2ccode.deps.u16tans=[]
//tanh
@@ -318,13 +683,285 @@ scilab2ccode.deps.stanhs=[]
scilab2ccode.deps.stanha=["stanhs"]
scilab2ccode.deps.ztanhs=["zreals","zimags","ztans","DoubleComplex"]
scilab2ccode.deps.ztanha=["ztanhs"]
+scilab2ccode.deps.i8tanha=["i8tanhs"]
+scilab2ccode.deps.i8tanhs=[]
+scilab2ccode.deps.i16tanha=["i16tanhs"]
+scilab2ccode.deps.i16tanhs=[]
+scilab2ccode.deps.u8tanha=["u8tanhs"]
+scilab2ccode.deps.u8tanhs=[]
+scilab2ccode.deps.u16tanha=["u16tanhs"]
+scilab2ccode.deps.u16tanhs=[]
+
+//uint8
+scilab2ccode.deps.duint8a=["duint8s"]
+scilab2ccode.deps.duint8s=[]
+scilab2ccode.deps.i8uint8a=["i8uint8s"]
+scilab2ccode.deps.i8uint8s=[]
+scilab2ccode.deps.i16uint8a=["i16uint8s"]
+scilab2ccode.deps.i16uint8s=[]
+scilab2ccode.deps.suint8a=["suint8s"]
+scilab2ccode.deps.suint8s=[]
+scilab2ccode.deps.u16uint8a=["u16uint8s"]
+scilab2ccode.deps.u16uint8s=[]
+
+//uint16
+scilab2ccode.deps.duint16a=["duint16s"]
+scilab2ccode.deps.duint16s=[]
+scilab2ccode.deps.i8uint16a=["i8uint16s"]
+scilab2ccode.deps.i8uint16s=[]
+scilab2ccode.deps.i16uint16a=["i16uint16s"]
+scilab2ccode.deps.i16uint16s=[]
+scilab2ccode.deps.suint16a=["suint16s"]
+scilab2ccode.deps.suint16s=[]
+scilab2ccode.deps.u8uint16a=["u8uint16s"]
+scilab2ccode.deps.u8uint16s=[]
+
+//////DISCRETE_MATHEMATICS/////////
+
+//factor
+scilab2ccode.deps.dfactors=[]
+scilab2ccode.deps.sfactors=[]
+
+//factorial
+scilab2ccode.deps.dfactoriala=["dfactorials"]
+scilab2ccode.deps.dfactorials=[]
+scilab2ccode.deps.sfactoriala=["dfactorials"]
+scilab2ccode.deps.sfactorials=[]
+
+//primes
+scilab2ccode.deps.dprimess=[]
+scilab2ccode.deps.sprimess=[]
+
+
+////////RADIX_CONVERSION////////
+
+//base2dec
+scilab2ccode.deps.dbase2decs=[]
+scilab2ccode.deps.gbase2decs=[]
+
+//bin2dec
+scilab2ccode.deps.dbin2deca=["dbin2decs"]
+scilab2ccode.deps.dbin2decs=[]
+scilab2ccode.deps.i8bin2deca=["i8bin2decs"]
+scilab2ccode.deps.i8bin2decs=[]
+scilab2ccode.deps.i16bin2deca=["i16bin2decs"]
+scilab2ccode.deps.i16bin2decs=[]
+scilab2ccode.deps.u8bin2deca=["u8bin2decs"]
+scilab2ccode.deps.u8bin2decs=[]
+scilab2ccode.deps.u16bin2deca=["u16bin2decs"]
+scilab2ccode.deps.u16bin2decs=[]
+
+//dec2base
+scilab2ccode.deps.ddec2basea=["ddec2bases"]
+scilab2ccode.deps.ddec2bases=[]
+scilab2ccode.deps.sdec2basea=["sdec2bases"]
+scilab2ccode.deps.sdec2bases=[]
+
+//dec2bin
+scilab2ccode.deps.ddec2bina=["ddec2bins"]
+scilab2ccode.deps.ddec2bins=[]
+scilab2ccode.deps.i8dec2bina=["i8dec2bins"]
+scilab2ccode.deps.i8dec2bins=[]
+scilab2ccode.deps.i16dec2bina=["i16dec2bins"]
+scilab2ccode.deps.i16dec2bins=[]
+scilab2ccode.deps.u8dec2bina=["u8dec2bins"]
+scilab2ccode.deps.u8dec2bins=[]
+scilab2ccode.deps.u16dec2bina=["u16dec2bins"]
+scilab2ccode.deps.u16dec2bins=[]
+
+//dec2hex
+scilab2ccode.deps.ddec2hexa=["ddec2hexs"]
+scilab2ccode.deps.ddec2hexs=[]
+scilab2ccode.deps.i8dec2hexa=["i8dec2hexs"]
+scilab2ccode.deps.i8dec2hexs=[]
+scilab2ccode.deps.i16dec2hexa=["i16dec2hexs"]
+scilab2ccode.deps.i16dec2hexs=[]
+scilab2ccode.deps.u8dec2hexa=["u8dec2hexs"]
+scilab2ccode.deps.u8dec2hexs=[]
+scilab2ccode.deps.u16dec2hexa=["u16dec2hexs"]
+scilab2ccode.deps.u16dec2hexs=[]
+
+//dec2oct
+scilab2ccode.deps.ddec2octa=["ddec2octs"]
+scilab2ccode.deps.ddec2octs=[]
+scilab2ccode.deps.i8dec2octa=["i8dec2octs"]
+scilab2ccode.deps.i8dec2octs=[]
+scilab2ccode.deps.i16dec2octa=["i16dec2octs"]
+scilab2ccode.deps.i16dec2octs=[]
+scilab2ccode.deps.u8dec2octa=["u8dec2octs"]
+scilab2ccode.deps.u8dec2octs=[]
+scilab2ccode.deps.u16dec2octs=["u16dec2octs"]
+scilab2ccode.deps.u16dec2octs=[]
+
+//hex2dec
+scilab2ccode.deps.dhex2decs=[]
+scilab2ccode.deps.ghex2decs=[]
+
+//oct2dec
+scilab2ccode.deps.doct2deca=["doct2decs"]
+scilab2ccode.deps.doct2decs=[]
+scilab2ccode.deps.i8oct2deca=["i8oct2decs"]
+scilab2ccode.deps.i8oct2decs=[]
+scilab2ccode.deps.i16oct2deca=["i16oct2decs"]
+scilab2ccode.deps.i16oct2decs=[]
+scilab2ccode.deps.u8oct2deca=["u8oct2decs"]
+scilab2ccode.deps.u8oct2decs=[]
+scilab2ccode.deps.u16oct2deca=["u16oct2decs"]
+scilab2ccode.deps.u16oct2decs=[]
+
+//////////Trigonometry/////////
+
+//cosd
+scilab2ccode.deps.dcosda=["dcosds"]
+scilab2ccode.deps.dcosds=[]
+scilab2ccode.deps.scosda=["scosds"]
+scilab2ccode.deps.scosds=[]
+
+//cotd
+scilab2ccode.deps.dcotda=["dcotds"]
+scilab2ccode.deps.dcotds=[]
+scilab2ccode.deps.scotda=["scotds"]
+scilab2ccode.deps.scotds=[]
+
+//coth
+scilab2ccode.deps.ccotha=["ccoths"]
+scilab2ccode.deps.ccoths=["ctanhs","FloatComplex","crdivs"]
+scilab2ccode.deps.dcotha=[]
+scilab2ccode.deps.dcoths=[]
+scilab2ccode.deps.scotha=[]
+scilab2ccode.deps.scoths=[]
+scilab2ccode.deps.zcotha=["zcoths"]
+scilab2ccode.deps.zcoths=["zrdivs","DoubleComplex","ztanhs"]
+
+//csc
+scilab2ccode.deps.ccsca=["ccscs"]
+scilab2ccode.deps.ccscs=["csins","FloatComplex","crdivs"]
+scilab2ccode.deps.dcsca=["dcscs"]
+scilab2ccode.deps.dcscs=[]
+scilab2ccode.deps.scsca=["scscs"]
+scilab2ccode.deps.scscs=[]
+scilab2ccode.deps.zcsca=["zcscs"]
+scilab2ccode.deps.zcscs=["DoubleComplex","zrdivs","dsins","dcoshs","dcoss","dsinhs","zreals","zimags"]
+
+//cscd
+scilab2ccode.deps.ccscda=["ccscds"]
+scilab2ccode.deps.ccscds=["csins","FloatComplex","crdivs"]
+scilab2ccode.deps.dcscda=["dcscds"]
+scilab2ccode.deps.dcscds=[]
+scilab2ccode.deps.scscda=["scscds"]
+scilab2ccode.deps.scscds=[]
+scilab2ccode.deps.zcscda=["zcscds"]
+scilab2ccode.deps.zcscds=["zrdivs","DoubleComplex","zsins"]
+
+//csch
+scilab2ccode.deps.ccscha=["ccschs"]
+scilab2ccode.deps.ccschs=["csinhs","FloatComplex","crdivs"]
+scilab2ccode.deps.dcscha=["dcschs"]
+scilab2ccode.deps.dcschs=[]
+scilab2ccode.deps.scscha=["scschs"]
+scilab2ccode.deps.scschs=[]
+scilab2ccode.deps.zcscha=["zcschs"]
+scilab2ccode.deps.zcschs=["zrdivs","DoubleComplex","zsinhs"]
+
+//sec
+scilab2ccode.deps.cseca=["csecs"]
+scilab2ccode.deps.csecs=["ccoss","FloatComplex","crdivs"]
+scilab2ccode.deps.dseca=[]
+scilab2ccode.deps.dsecs=[]
+scilab2ccode.deps.sseca=["ssecs"]
+scilab2ccode.deps.ssecs=[]
+scilab2ccode.deps.zseca=["zsecs"]
+scilab2ccode.deps.zsecs=["zrdivs","DoubleComplex","zcoss"]
+
+//secd
+scilab2ccode.deps.dsecda=["dsecds"]
+scilab2ccode.deps.dsecds=[]
+scilab2ccode.deps.ssecda=["ssecds"]
+scilab2ccode.deps.ssecds=[]
+
+//sech
+scilab2ccode.deps.csecha=["csechs"]
+scilab2ccode.deps.ccoths=["ccoshs","FloatComplex","crdivs"]
+scilab2ccode.deps.dsecha=["dsechs"]
+scilab2ccode.deps.dsechs=[]
+scilab2ccode.deps.ssecha=["ssechs"]
+scilab2ccode.deps.ssechs=[]
+scilab2ccode.deps.zsecha=["zsechs"]
+scilab2ccode.deps.zsechs=["zrdivs","DoubleComplex","zcoshs"]
+
+///////////////////////////////
+////// FILES //////
+///////////////////////////////
+
+
+//mclose
+scilab2ccode.deps.mclose=[]
+
+
+//mopen
+scilab2ccode.deps.mopen=[]
+
+
+//mput
+scilab2ccode.deps.dmputa=[]
+scilab2ccode.deps.dmputs=[]
+scilab2ccode.deps.i8mputa=[]
+scilab2ccode.deps.i8mputs=[]
+scilab2ccode.deps.i16mputa=[]
+scilab2ccode.deps.i16mputs=[]
+scilab2ccode.deps.smputa=[]
+scilab2ccode.deps.smputs=[]
+scilab2ccode.deps.u8mputa=[]
+scilab2ccode.deps.u8mputs=[]
+scilab2ccode.deps.u16mputa=[]
+scilab2ccode.deps.u16mputs=[]
///////////////////////////////
+////// IMPLICITLIST //////
+///////////////////////////////
+
+scilab2ccode.deps.cimplicitLists=["simplicitLists"]
+scilab2ccode.deps.dimplicitLists=[]
+scilab2ccode.deps.simplicitLists=[]
+scilab2ccode.deps.zimplicitLists=["dimplicitLists"]
+
+///////////////////////////////
+/////// LINEARALGEBRA ///////
+///////////////////////////////
+
+//balanc
+scilab2ccode.deps.dbalanca=["deyea"]
+
+//rcond
+scilab2ccode.deps.drconda=[]
+
+//schur
+scilab2ccode.deps.dgschura=[]
+scilab2ccode.deps.dschura=[]
+
+///////////////////////////////
////// MATRIX OPERATIONS //////
///////////////////////////////
+//cat
+scilab2ccode.deps.ccata=[]
+scilab2ccode.deps.ccats=[]
+scilab2ccode.deps.dcata=[]
+scilab2ccode.deps.dcatS=[]
+scilab2ccode.deps.scata=[]
+scilab2ccode.deps.scats=[]
+scilab2ccode.deps.zcata=[]
+scilab2ccode.deps.zcats=[]
+scilab2ccode.deps.i8cata=[]
+scilab2ccode.deps.i8cats=[]
+scilab2ccode.deps.i16cata=[]
+scilab2ccode.deps.i16catS=[]
+scilab2ccode.deps.u8cata=[]
+scilab2ccode.deps.u8cats=[]
+scilab2ccode.deps.u16cata=[]
+scilab2ccode.deps.u16cats=[]
//OpRc
scilab2ccode.deps.crowcats=[]
@@ -355,14 +992,87 @@ scilab2ccode.deps.dchola=[]
scilab2ccode.deps.schols=["ssqrts"]
scilab2ccode.deps.schola=["ssqrts"]
scilab2ccode.deps.zchola=["DoubleComplex","zreals","zimags","zdiffs","zmuls","zrdivs","zsqrts"]
-
+//cumprod
+scilab2ccode.deps.dcolumncumproda=[]
+scilab2ccode.deps.dcumproda=[]
+scilab2ccode.deps.drowcumproda=[]
+scilab2ccode.deps.i8columncumproda=[]
+scilab2ccode.deps.i8cumproda=[]
+scilab2ccode.deps.i8rowcumproda=[]
+scilab2ccode.deps.i16columncumproda=[]
+scilab2ccode.deps.i16cumproda=[]
+scilab2ccode.deps.i16rowcumproda=[]
+scilab2ccode.deps.scolumncumproda=[]
+scilab2ccode.deps.scumproda=[]
+scilab2ccode.deps.srowcumproda=[]
+scilab2ccode.deps.u8columncumproda=[]
+scilab2ccode.deps.u8cumproda=[]
+scilab2ccode.deps.u8rowcumproda=[]
+scilab2ccode.deps.u16columncumproda=[]
+scilab2ccode.deps.u16cumproda=[]
+scilab2ccode.deps.u16rowcumproda=[]
+
+//cumcum
+scilab2ccode.deps.dcolumncumsuma=[]
+scilab2ccode.deps.dcumsuma=[]
+scilab2ccode.deps.drowcumsuma=[]
+scilab2ccode.deps.i8columncumsuma=[]
+scilab2ccode.deps.i8cumsuma=[]
+scilab2ccode.deps.i8rowcumsuma=[]
+scilab2ccode.deps.i16columncumsuma=[]
+scilab2ccode.deps.i16cumsuma=[]
+scilab2ccode.deps.i16rowcumsuma=[]
+scilab2ccode.deps.scolumncumsuma=[]
+scilab2ccode.deps.scumsuma=[]
+scilab2ccode.deps.srowcumsuma=[]
+scilab2ccode.deps.u8columncumsuma=[]
+scilab2ccode.deps.u8cumsuma=[]
+scilab2ccode.deps.u8rowcumsuma=[]
+scilab2ccode.deps.u16columncumsuma=[]
+scilab2ccode.deps.u16cumsuma=[]
+scilab2ccode.deps.u16rowcumsuma=[]
//determ
scilab2ccode.deps.cdeterma=["cdiffs","FloatComplex","cmuls","cadds","DoubleComplex","creals","cimags","zreals","zimags","zmuls","crdivs"]
scilab2ccode.deps.ddeterma=[]
scilab2ccode.deps.sdeterma=[]
scilab2ccode.deps.zdeterma=["zdiffs","zmuls","DoubleComplex","zadds","zreals","zimags","zrdivs"]
-
+scilab2ccode.deps.i8determa=[]
+scilab2ccode.deps.i16determa=[]
+scilab2ccode.deps.u8determa=[]
+scilab2ccode.deps.u16determa=[]
+
+//diag
+scilab2ccode.deps.ddiaga=[]
+scilab2ccode.deps.ddiagexa=[]
+scilab2ccode.deps.ddiagexs=[]
+scilab2ccode.deps.ddiagina=[]
+scilab2ccode.deps.ddiagins=[]
+scilab2ccode.deps.ddiags=[]
+scilab2ccode.deps.i8diags=[]
+scilab2ccode.deps.i8diagexa=[]
+scilab2ccode.deps.i8diagexs=[]
+scilab2ccode.deps.i8diagina=[]
+scilab2ccode.deps.i8diagins=[]
+scilab2ccode.deps.i8diags=[]
+scilab2ccode.deps.i16diaga=[]
+scilab2ccode.deps.i16diags=[]
+scilab2ccode.deps.i16diagexa=[]
+scilab2ccode.deps.i16diagexs=[]
+scilab2ccode.deps.i16diagina=[]
+scilab2ccode.deps.i16diagins=[]
+scilab2ccode.deps.u8diaga=[]
+scilab2ccode.deps.u8diags=[]
+scilab2ccode.deps.u8diagexa=[]
+scilab2ccode.deps.u8diagexs=[]
+scilab2ccode.deps.u8diagina=[]
+scilab2ccode.deps.u8diagins=[]
+scilab2ccode.deps.u16diaga=[]
+scilab2ccode.deps.u16diags=[]
+scilab2ccode.deps.u16diagexa=[]
+scilab2ccode.deps.u16diagexs=[]
+scilab2ccode.deps.u16diagina=[]
+scilab2ccode.deps.u16diagins=[]
//dist
scilab2ccode.deps.cdists=["spows","creals","cimags","ssqrts"]
@@ -374,6 +1084,28 @@ scilab2ccode.deps.sdista=["spows","ssqrts"]
scilab2ccode.deps.zdists=["dpows","zreals","zimags","dsqrts"]
scilab2ccode.deps.zdista=["dpows","zreals","zimags","dsqrts"]
+//division
+scilab2ccode.deps.crdivcsv=["crdivv"]
+scilab2ccode.deps.crdivscv=["crdivv"]
+scilab2ccode.deps.crdivv=["crdivma","FloatComplex"]
+scilab2ccode.deps.drdivv=["drdivma"]
+scilab2ccode.deps.i8rdivma=["dtransposea"]
+scilab2ccode.deps.i8ldivma=[]
+scilab2ccode.deps.i8rdivv=["i8rdivma"]
+scilab2ccode.deps.i16ldivma=[]
+scilab2ccode.deps.i16rdivma=["dtransposea"]
+scilab2ccode.deps.i16rdivv=["i16rdivma"]
+scilab2ccode.deps.srdivv=["srdivma"]
+scilab2ccode.deps.u8rdivma=["dtransposea"]
+scilab2ccode.deps.u8ldivma=[]
+scilab2ccode.deps.u8rdivv=["u8rdivma"]
+scilab2ccode.deps.u16ldivma=[]
+scilab2ccode.deps.u16rdivma=["dtransposea"]
+scilab2ccode.deps.u16rdivv=["u16rdivma"]
+scilab2ccode.deps.zrdivdzv=["dzerosa","zrdivv"]
+scilab2ccode.deps.zrdivv=["zrdivma","DoubleComplex"]
+scilab2ccode.deps.zrdivzdv=["dzerosa","zrdivv"]
+
//OpSlash
scilab2ccode.deps.crdivma=["DoubleComplex","creals","cimags","zrdivma","FloatComplex","zreals","zimags"]
@@ -401,7 +1133,10 @@ scilab2ccode.deps.ceyea= ["FloatComplex"]
scilab2ccode.deps.deyea= []
scilab2ccode.deps.seyea= []
scilab2ccode.deps.zeyea= ["DoubleComplex"]
-
+scilab2ccode.deps.i8eyea= []
+scilab2ccode.deps.i16eyea= []
+scilab2ccode.deps.u8eyea= []
+scilab2ccode.deps.u16eyea= []
//fill
scilab2ccode.deps.cfilla=["conesa","cmuls"]
@@ -409,10 +1144,18 @@ scilab2ccode.deps.dfilla=["donesa"]
scilab2ccode.deps.sfilla=["sonesa"]
scilab2ccode.deps.zfilla=["zonesa","zmuls"]
+//flipdim
+scilab2ccode.deps.dflipdima=[]
+scilab2ccode.deps.i8flipdima=[]
+scilab2ccode.deps.i16flipdima=[]
+scilab2ccode.deps.sflipdima=[]
+scilab2ccode.deps.u8flipdima=[]
+scilab2ccode.deps.u16flipdima=[]
+
+//hilb
+scilab2ccode.deps.dhilba=[]
+scilab2ccode.deps.shilba=[]
-//hilbert
-scilab2ccode.deps.dhilberta=[]
-scilab2ccode.deps.shilberta=[]
//infinite norm
scilab2ccode.deps.cinfnorma=["spythags","creals","cimags"]
@@ -426,10 +1169,19 @@ scilab2ccode.deps.cinverma=["DoubleComplex","creals","cimags","zinverma","FloatC
scilab2ccode.deps.dinverma=[]
scilab2ccode.deps.sinverma=["dinverma"]
scilab2ccode.deps.zinverma=[]
+scilab2ccode.deps.i8inverma=[]
+scilab2ccode.deps.i16inverma=[]
+scilab2ccode.deps.u8inverma=[]
+scilab2ccode.deps.u16inverma=[]
//jmat
+scilab2ccode.deps.djmata=[]
+scilab2ccode.deps.sjmata=[]
+//kron
+scilab2ccode.deps.dkrona=[]
+scilab2ccode.deps.skrona=[]
//logm
scilab2ccode.deps.clogma=["DoubleComplex","creals","cimags","zlogma","FloatComplex","zreals","zimags"]
@@ -447,21 +1199,58 @@ scilab2ccode.deps.smagns=[]
scilab2ccode.deps.smagna=["smagns"]
scilab2ccode.deps.zmagns=["zreals","zimags","dsqrts"]
scilab2ccode.deps.zmagna=["zmagns"]
-
+scilab2ccode.deps.i8magna=[]
+scilab2ccode.deps.i8magns=["i8abss"]
+scilab2ccode.deps.i16magna=["dmagns"]
+scilab2ccode.deps.i16magns=["i16abss"]
+scilab2ccode.deps.u8magna=["dmagns"]
+scilab2ccode.deps.u8magns=["u8abss"]
+scilab2ccode.deps.u16magna=["dmagns"]
+scilab2ccode.deps.u16magns=["u16abss"]
//OpStar
scilab2ccode.deps.cmulma=["FloatComplex","cadds","cmuls"]
scilab2ccode.deps.dmulma=[]
scilab2ccode.deps.smulma=[]
scilab2ccode.deps.zmulma=["zreala","zimaga","DoubleComplex","zadds","zmuls"]
+scilab2ccode.deps.i8mulma=[]
+scilab2ccode.deps.i16mulma=[]
+scilab2ccode.deps.u8mulma=[]
+scilab2ccode.deps.u16mulma=[]
+//norm
+scilab2ccode.deps.dnorma=[]
+scilab2ccode.deps.dnormv=[]
+scilab2ccode.deps.snorma=[]
+scilab2ccode.deps.snormv=[]
//ones
scilab2ccode.deps.conesa=["FloatComplex"]
scilab2ccode.deps.donesa=[]
scilab2ccode.deps.sonesa=[]
scilab2ccode.deps.zonesa=["DoubleComplex"]
-
+scilab2ccode.deps.i8onesa=[]
+scilab2ccode.deps.i16onesa=[]
+scilab2ccode.deps.u8onesa=[]
+scilab2ccode.deps.u16onesa=[]
+
+//powm
+scilab2ccode.deps.cpowma=["creals","cimags","cspec2a","cpows","cmulma","ctransposea","cconja","cinverma"]
+scilab2ccode.deps.dpowma=["dzerosa","zspec2a","zpows","zmulma","ztransposea","zconja","zinverma","zreals","DoubleComplex"]
+scilab2ccode.deps.spowma=["szerosa","cspec2a","cpows","FloatComplex","cmulma","ctransposea","cconja","cinverma","creals"]
+scilab2ccode.deps.zpowma=["zreals","zimags","zspec2a","zpows","zmulma","ztransposea","zconja","zinverma"]
+
+//spec
+scilab2ccode.deps.cspeca=["DoubleComplex","creals","cimags","zspeca","FloatComplex","zreals","zimags"]
+scilab2ccode.deps.dspeca=[]
+scilab2ccode.deps.sspeca=["dspeca"]
+scilab2ccode.deps.zspeca=["DoubleComplex","zreals","zimags","zconjs","dzerosa"]
+
+//spec2
+scilab2ccode.deps.cspec2a=["DoubleComplex","creals","cimags","zspec2a","FloatComplex","zreals","zimags"]
+scilab2ccode.deps.dspec2a=["dzerosa"]
+scilab2ccode.deps.sspec2a=["dspec2a"]
+scilab2ccode.deps.zspec2a=["DoubleComplex","zreals","zimags","dzerosa"]
//Squared Magnitude
scilab2ccode.deps.csquMagns=["creals","cimags"]
@@ -479,6 +1268,10 @@ scilab2ccode.deps.ctracea=["creals","cimags","FloatComplex"]
scilab2ccode.deps.dtracea=[]
scilab2ccode.deps.stracea=[]
scilab2ccode.deps.ztracea=["zreals","zimags","DoubleComplex"]
+scilab2ccode.deps.i8tracea=[]
+scilab2ccode.deps.i16tracea=[]
+scilab2ccode.deps.u8tracea=[]
+scilab2ccode.deps.u16tracea=[]
//transpose
@@ -486,16 +1279,44 @@ scilab2ccode.deps.ctransposea=["creals","cimags","FloatComplex"]
scilab2ccode.deps.dtransposea=[]
scilab2ccode.deps.stransposea=[]
scilab2ccode.deps.ztransposea=["zreals","zimags","DoubleComplex"]
-
-
-
+scilab2ccode.deps.i8transposea=[]
+scilab2ccode.deps.i16transposea=[]
+scilab2ccode.deps.u8transposea=[]
+scilab2ccode.deps.u16transposea=[]
+
+//tril
+scilab2ccode.deps.dtrila=[]
+scilab2ccode.deps.i8trila=[]
+scilab2ccode.deps.i16trila=[]
+scilab2ccode.deps.strila=[]
+scilab2ccode.deps.u8trila=[]
+scilab2ccode.deps.u16trila=[]
+
+//triu
+scilab2ccode.deps.dtriua=[]
+scilab2ccode.deps.i8triua=[]
+scilab2ccode.deps.i16triua=[]
+scilab2ccode.deps.striua=[]
+scilab2ccode.deps.u8triua=[]
+scilab2ccode.deps.u16triua=[]
+
+//zeros
+scilab2ccode.deps.czerosa=["FloatComplex"]
+scilab2ccode.deps.dzerosa=[]
+scilab2ccode.deps.dzerosh=[]
+scilab2ccode.deps.i8zerosa=[]
+scilab2ccode.deps.i16zerosa=[]
+scilab2ccode.deps.szerosa=[]
+scilab2ccode.deps.u8zerosa=[]
+scilab2ccode.deps.u16zerosa=[]
+scilab2ccode.deps.zzerosa=["DoubleComplex"]
////////////////////////
////// OPERATIONS //////
////////////////////////
-//OpPlus
+//addition
scilab2ccode.deps.cadds=["creals","cimags","FloatComplex"]
scilab2ccode.deps.cadda=["cadds"]
scilab2ccode.deps.dadds=[]
@@ -504,9 +1325,17 @@ scilab2ccode.deps.sadds=[]
scilab2ccode.deps.sadda=["sadds"]
scilab2ccode.deps.zadds=["zreals","zimags","DoubleComplex"]
scilab2ccode.deps.zadda=["zadds"]
+scilab2ccode.deps.i8adda=["i8adds"]
+scilab2ccode.deps.i8adds=[]
+scilab2ccode.deps.i16adda=["i16adds"]
+scilab2ccode.deps.i16adds=[]
+scilab2ccode.deps.u8adda=["u8adds"]
+scilab2ccode.deps.u8adds=[]
+scilab2ccode.deps.u16adda=["u16adds"]
+scilab2ccode.deps.u16adds=[]
-//OpDotSlash/OpSlash
+//division
scilab2ccode.deps.crdivs=["FloatComplex"]
scilab2ccode.deps.crdiva=["crdivs"]
scilab2ccode.deps.drdivs=[]
@@ -515,9 +1344,6 @@ scilab2ccode.deps.srdivs=[]
scilab2ccode.deps.srdiva=["srdivs"]
scilab2ccode.deps.zrdivs=["DoubleComplex"]
scilab2ccode.deps.zrdiva=["zrdivs"]
-
-
-//OpBackSlash
scilab2ccode.deps.cldivs=["cmuls","cconjs","creals","cimags","FloatComplex","crdivs"]
scilab2ccode.deps.cldiva=["cldivs"]
scilab2ccode.deps.dldivs=[]
@@ -526,9 +1352,24 @@ scilab2ccode.deps.sldivs=[]
scilab2ccode.deps.sldiva=["scldivs"]
scilab2ccode.deps.zldivs=["zmuls","zconjs","zreals","zimags","DoubleComplex","zrdivs"]
scilab2ccode.deps.zldiva=["zldivs"]
-
-
-//OpStar/OpDotStar
+scilab2ccode.deps.i8ldiva=["i8ldivs"]
+scilab2ccode.deps.i8ldivs=[]
+scilab2ccode.deps.i8rdiva=["i8rdivs"]
+scilab2ccode.deps.i8rdivs=[]
+scilab2ccode.deps.i16ldiva=["i16ldivs"]
+scilab2ccode.deps.i16ldivs=[]
+scilab2ccode.deps.i16rdiva=["i16rdivs"]
+scilab2ccode.deps.i16rdivs=[]
+scilab2ccode.deps.u8ldiva=["u8ldivs"]
+scilab2ccode.deps.u8ldivs=[]
+scilab2ccode.deps.u8rdiva=["u8rdivs"]
+scilab2ccode.deps.u8rdivs=[]
+scilab2ccode.deps.u16ldiva=["u16ldivs"]
+scilab2ccode.deps.u16ldivs=[]
+scilab2ccode.deps.u16rdiva=["u16rdivs"]
+scilab2ccode.deps.u16rdivs=[]
+
+//multiplication
scilab2ccode.deps.cmuls=["FloatComplex"]
scilab2ccode.deps.cmula=["cmuls"]
scilab2ccode.deps.dmuls=[]
@@ -537,9 +1378,28 @@ scilab2ccode.deps.smuls=[]
scilab2ccode.deps.smula=["smuls"]
scilab2ccode.deps.zmuls=["DoubleComplex"]
scilab2ccode.deps.zmula=["zmuls"]
-
-
-//OpMinus
+scilab2ccode.deps.cmulcsv=["cmulv"]
+scilab2ccode.deps.cmulscv=["cmulv"]
+scilab2ccode.deps.cmulv=["cadds"]
+scilab2ccode.deps.dmulv=["dmuls"]
+scilab2ccode.deps.i8muls=[]
+scilab2ccode.deps.i8mula=["i8muls"]
+scilab2ccode.deps.i8mulv=["i8muls"]
+scilab2ccode.deps.i16muls=[]
+scilab2ccode.deps.i16mula=["i16muls"]
+scilab2ccode.deps.i16mulv=["i16muls"]
+scilab2ccode.deps.smulv=["smuls"]
+scilab2ccode.deps.u8muls=[]
+scilab2ccode.deps.u8mula=["u8muls"]
+scilab2ccode.deps.u8mulv=["u8muls"]
+scilab2ccode.deps.u16muls=[]
+scilab2ccode.deps.u16mula=["u16muls"]
+scilab2ccode.deps.u16mulv=["u16muls"]
+scilab2ccode.deps.zmuldzv=["dzerosa","zmulv"]
+scilab2ccode.deps.zmulzdv=["dzerosa","zmulv"]
+scilab2ccode.deps.zmulv=["zadds"]
+
+//subtraction
scilab2ccode.deps.cdiffs=["creals","cimags","FloatComplex"]
scilab2ccode.deps.cdiffa=["cdiffs"]
scilab2ccode.deps.ddiffs=[]
@@ -548,6 +1408,14 @@ scilab2ccode.deps.sdiffs=[]
scilab2ccode.deps.sdiffa=["sdiffs"]
scilab2ccode.deps.zdiffs=["zreals","zimags","DoubleComplex"]
scilab2ccode.deps.zdiffa=["zdiffs"]
+scilab2ccode.deps.i8diffs=[]
+scilab2ccode.deps.i8diffa=["i8diffs"]
+scilab2ccode.deps.i16diffa=["i16diffs"]
+scilab2ccode.deps.i16diffs=[]
+scilab2ccode.deps.u8diffa=["u8diffs"]
+scilab2ccode.deps.u8diffs=[]
+scilab2ccode.deps.u16diffa=["u16diffs"]
+scilab2ccode.deps.u16diffs=[]
///////////////////////////////
@@ -581,12 +1449,13 @@ scilab2ccode.deps.cfftma=["DoubleComplex","creals","cimags","zfftma","FloatCompl
scilab2ccode.deps.dfft2=["dfftbi"]
scilab2ccode.deps.dfftbi=["dfftmx"]
scilab2ccode.deps.dfftmx=[]
+scilab2ccode.deps.dfftma=["dzerosa","zfftma","zreala"]
scilab2ccode.deps.fft842=["r2tx","r4tx","r8tx","DoubleComplex","zreals","zimags"]
scilab2ccode.deps.r2tx=["zadds","zdiffs","DoubleComplex","zreals","zimags"]
scilab2ccode.deps.r4tx=["zadds","zdiffs","DoubleComplex","zreals","zimags"]
scilab2ccode.deps.r8tx=["zadds","zdiffs","DoubleComplex","zreals","zimags"]
scilab2ccode.deps.zfftma=["zreala","zimaga","fft842","dfft2","DoubleComplexMatrix"]
-
+scilab2ccode.deps.sfftma=["szerosa","cfftma","creala"]
//hilbert
scilab2ccode.deps.dhilberts=[]
@@ -594,6 +1463,20 @@ scilab2ccode.deps.dhilberta=["DoubleComplex","zfftma","zmuls","zifftma"]
scilab2ccode.deps.shilberts=[]
scilab2ccode.deps.shilberta=["FloatComplex","cfftma","cmuls","cifftma"]
+//fftshift
+scilab2ccode.deps.ccolumnfftshifta=[]
+scilab2ccode.deps.cfftshifta=["crowfftshifta","ccolumnfftshifta"]
+scilab2ccode.deps.crowfftshifta=[]
+scilab2ccode.deps.dcolumnfftshifta=[]
+scilab2ccode.deps.dfftshifta=["drowfftshifta","dcolumnfftshifta"]
+scilab2ccode.deps.drowfftshifta=[]
+scilab2ccode.deps.scolumnfftshifta=[]
+scilab2ccode.deps.sfftshifta=["srowfftshifta","scolumnfftshifta"]
+scilab2ccode.deps.srowfftshifta=[]
+scilab2ccode.deps.zcolumnfftshifta=[]
+scilab2ccode.deps.zfftshifta=["zrowfftshifta","zcolumnfftshifta"]
+scilab2ccode.deps.zrowfftshifta=[]
+
//ifft
scilab2ccode.deps.cifftma=["DoubleComplex","creals","cimags","zifftma","FloatComplex","zreals","zimags"]
@@ -605,6 +1488,19 @@ scilab2ccode.deps.ir2tx=["zadds","zdiffs","DoubleComplex","zreals","zimags"]
scilab2ccode.deps.ir4tx=["zadds","zdiffs","DoubleComplex","zreals","zimags"]
scilab2ccode.deps.ir8tx=["zadds","zdiffs","DoubleComplex","zreals","zimags"]
scilab2ccode.deps.zifftma=["zreala","zimaga","ifft842","difft2","DoubleComplexMatrix"]
+scilab2ccode.deps.diffbi_lavraie=[]
+scilab2ccode.deps.difftma=["dzerosa","zifftma","zreala"]
+scilab2ccode.deps.sifftma=["szerosa","cifftma","creala"]
+
+//lev
+scilab2ccode.deps.cleva=["crdivs","FloatComplex","creals","cimags","cmuls","cconjs","cdiffs","cadds"]
+scilab2ccode.deps.cleva2=["crdivs","FloatComplex","creals","cimags","cmuls","cconjs","cdiffs","cadds"]
+scilab2ccode.deps.dleva=[]
+scilab2ccode.deps.dleva2=[]
+scilab2ccode.deps.sleva=[]
+scilab2ccode.deps.sleva2=[]
+scilab2ccode.deps.zleva=["zrdivs","DoubleComplex","zreals","zimags","zmuls","zdiffs","zconjs","zadds"]
+scilab2ccode.deps.zleva2=["zrdivs","DoubleComplex","zreals","zimags","zmuls","zdiffs","zconjs","zadds"]
//levin
@@ -630,7 +1526,7 @@ scilab2ccode.deps.slevinmul2=[]
scilab2ccode.deps.sdecalage=[]
scilab2ccode.deps.slevinsub=[]
scilab2ccode.deps.slevinsig=[]
-
+scilab2ccode.deps.levinUtils=[]
//lpc2cep
scilab2ccode.deps.clpc2cepa=["cfftma","clogma","cifftma"]
@@ -643,6 +1539,25 @@ scilab2ccode.deps.zlpc2cepa=["zfftma","zlogma","zifftma"]
////// STATISTIC FUNCTIONS //////
/////////////////////////////////
+//max
+scilab2ccode.deps.dcolumnmaxa=[]
+scilab2ccode.deps.dmaxa=[]
+scilab2ccode.deps.drowmaxa=[]
+scilab2ccode.deps.i8columnmaxa=[]
+scilab2ccode.deps.i8maxa=[]
+scilab2ccode.deps.i8rowmaxa=[]
+scilab2ccode.deps.i16columnmaxa=[]
+scilab2ccode.deps.i16maxa=[]
+scilab2ccode.deps.i16rowmaxa=[]
+scilab2ccode.deps.scolumnmaxa=[]
+scilab2ccode.deps.smaxa=[]
+scilab2ccode.deps.srowmaxa=[]
+scilab2ccode.deps.u8columnmaxa=[]
+scilab2ccode.deps.u8maxa=[]
+scilab2ccode.deps.u8rowmaxa=[]
+scilab2ccode.deps.u16columnmaxa=[]
+scilab2ccode.deps.u16maxa=[]
+scilab2ccode.deps.u16rowmaxa=[]
//mean
scilab2ccode.deps.cmeana=["FloatComplex","cadds","creals","cimags"]
@@ -658,7 +1573,43 @@ scilab2ccode.deps.drowmeana=["drowsuma"]
scilab2ccode.deps.srowmeana=["srowsuma"]
scilab2ccode.deps.zrowmeana=["zrowsuma","zrdivs","DoubleComplex"]
-
+//meanf
+scilab2ccode.deps.cmeanfa=["FloatComplex","cadds","crdivs"]
+scilab2ccode.deps.dmeanfa=[]
+scilab2ccode.deps.smeanfa=[]
+scilab2ccode.deps.zmeanfa=["DoubleComplex","zadds","zmuls","zrdivs"]
+scilab2ccode.deps.ccolumnmeanfa=["cadds","cmuls","FloatComplex","crdivs"]
+scilab2ccode.deps.dcolumnmeanfa=[]
+scilab2ccode.deps.scolumnmeanfa=[]
+scilab2ccode.deps.zcolumnmeanfa=["zmuls","zrdivs","DoubleComplex","zadds"]
+scilab2ccode.deps.crowmeanfa=["cmuls","crdivs","FloatComplex","cadds"]
+scilab2ccode.deps.drowmeanfa=["drowsuma"]
+scilab2ccode.deps.srowmeanfa=[]
+scilab2ccode.deps.zrowmeanfa=["zmuls","zrdivs","DoubleComplex","zadds"]
+scilab2ccode.deps.cmeanfcs=["szerosa","cmeanfa"]
+scilab2ccode.deps.cmeanfsc=["szerosa","cmeanfa"]
+scilab2ccode.deps.zmeanfdz=["dzerosa","zmeanfa"]
+scilab2ccode.deps.zmeanfzd=["dzerosa","zmeanfa"]
+
+//min
+scilab2ccode.deps.dcolumnmina=[]
+scilab2ccode.deps.dmina=[]
+scilab2ccode.deps.drowmina=[]
+scilab2ccode.deps.i8columnmina=[]
+scilab2ccode.deps.i8mina=[]
+scilab2ccode.deps.i8rowmina=[]
+scilab2ccode.deps.i16columnmina=[]
+scilab2ccode.deps.i16mina=[]
+scilab2ccode.deps.i16rowmina=[]
+scilab2ccode.deps.scolumnmina=[]
+scilab2ccode.deps.smina=[]
+scilab2ccode.deps.srowmina=[]
+scilab2ccode.deps.u8columnmina=[]
+scilab2ccode.deps.u8mina=[]
+scilab2ccode.deps.u8rowmina=[]
+scilab2ccode.deps.u16columnmina=[]
+scilab2ccode.deps.u16mina=[]
+scilab2ccode.deps.u16rowmina=[]
//prod
scilab2ccode.deps.cproda=["cmuls"]
scilab2ccode.deps.dproda=[]
@@ -673,6 +1624,30 @@ scilab2ccode.deps.drowproda=[]
scilab2ccode.deps.srowproda=[]
scilab2ccode.deps.zrowproda=["zmuls"]
+//stdevf
+scilab2ccode.deps.ccolumnstdevfa=["FloatComplex","cpows","cdiffs","cmuls","cadds","sabss","creals","cimags","crdivs","csqrts"]
+scilab2ccode.deps.cstdevfa=["FloatComplex","cmeanfa","cpows","cmuls","cadds","crdivs","csqrts","cdiffs"]
+scilab2ccode.deps.crowstdevfa=["FloatComplex","crowmeanfa","cpows","cdiffs","cmuls","cadds""sabss","creals","cimags","crdivs","csqrts"]
+scilab2ccode.deps.cstdevfcs=["FloatComplex","cmeanfcs","cpows","cdiffs","cmuls","cadds","creals","cimags","csqrts"]
+scilab2ccode.deps.cstdevfsc=["szerosa","cstdevfa"]
+scilab2ccode.deps.dcolumnstdevfa=["dcolumnmeanfa","dpows","dsqrts"]
+scilab2ccode.deps.dstdevfa=[]
+scilab2ccode.deps.drowstdevfa=[]
+scilab2ccode.deps.i8columnmina=[]
+scilab2ccode.deps.i8mina=[]
+scilab2ccode.deps.i8rowmina=[]
+scilab2ccode.deps.i16columnmina=[]
+scilab2ccode.deps.i16mina=[]
+scilab2ccode.deps.i16rowmina=[]
+scilab2ccode.deps.scolumnmina=[]
+scilab2ccode.deps.smina=[]
+scilab2ccode.deps.srowmina=[]
+scilab2ccode.deps.u8columnmina=[]
+scilab2ccode.deps.u8mina=[]
+scilab2ccode.deps.u8rowmina=[]
+scilab2ccode.deps.u16columnmina=[]
+scilab2ccode.deps.u16mina=[]
+scilab2ccode.deps.u16rowmina=[]
//sum
scilab2ccode.deps.csuma=["cadds"]
@@ -687,7 +1662,18 @@ scilab2ccode.deps.crowsuma=["cadds"]
scilab2ccode.deps.drowsuma=[]
scilab2ccode.deps.srowsuma=[]
scilab2ccode.deps.zrowsuma=["zadds"]
-
+scilab2ccode.deps.i8suma=["i8adds"]
+scilab2ccode.deps.i8columnsuma=["i8adds"]
+scilab2ccode.deps.i8rowsuma=["i8adds"]
+scilab2ccode.deps.i16suma=["i16adds"]
+scilab2ccode.deps.i16columnsuma=["i16adds"]
+scilab2ccode.deps.i16rowsuma=["i16adds"]
+scilab2ccode.deps.u8suma=["u8adds"]
+scilab2ccode.deps.U8columnsuma=["u8adds"]
+scilab2ccode.deps.u8rowsuma=["u8adds"]
+scilab2ccode.deps.u16suma=["u16adds"]
+scilab2ccode.deps.u16columnsuma=["u16adds"]
+scilab2ccode.deps.u16rowsuma=["u16adds"]
//variance
scilab2ccode.deps.cvariancea=["FloatComplex","cmeana","cdiffs","cadds","cpows","creals","cimags","crdivs"]
@@ -703,11 +1689,27 @@ scilab2ccode.deps.drowvariancea=["dtransposea","dvariancea"]
scilab2ccode.deps.srowvariancea=["stransposea","svariancea"]
scilab2ccode.deps.zrowvariancea=["ztransposea","DoubleComplex","zreals","zimags","zvariancea"]
+//variancef
+scilab2ccode.deps.cvariancefa=["FloatComplex","cmeanfa","cdiffs","cadds","cpows","cmuls","crdivs"]
+scilab2ccode.deps.dvariancefa=["dmeanfa","dpows"]
+scilab2ccode.deps.svariancefa=["smeanfa","spows"]
+scilab2ccode.deps.zvariancefa=["DoubleComplex","zmeanfa","zdiffs","zadds","zpows","zrdivs"]
+scilab2ccode.deps.ccolumnvariancefa=["cvariancefa","ctransposea"]
+scilab2ccode.deps.dcolumnvariancefa=["dvariancefa","dtransposea"]
+scilab2ccode.deps.scolumnvariancefa=["scolumnmeanfa","spows"]
+scilab2ccode.deps.zcolumnvariancefa=["zvariancefa","ztransposea"]
+scilab2ccode.deps.crowvariancefa=["cvariancefa"]
+scilab2ccode.deps.drowvariancefa=["dvariancefa"]
+scilab2ccode.deps.srowvariancefa=["svariancefa"]
+scilab2ccode.deps.zrowvariancefa=["zvariancefa"]
+
////////////////////
////// STRING //////
////////////////////
+//convstr
+scilab2ccode.deps.gconvstrs=[]
//disp
scilab2ccode.deps.cdisps=["creals","cimags"]
@@ -718,12 +1720,49 @@ scilab2ccode.deps.sdisps=[]
scilab2ccode.deps.sdispa=[]
scilab2ccode.deps.zdisps=["zreals","zimags"]
scilab2ccode.deps.zdispa=["zreals","zimags"]
-
+scilab2ccode.deps.ddisph=[]
+scilab2ccode.deps.i8disps=[]
+scilab2ccode.deps.i8dispa=[]
+scilab2ccode.deps.i16disps=[]
+scilab2ccode.deps.i16dispa=[]
+scilab2ccode.deps.u8disps=[]
+scilab2ccode.deps.u8dispa=[]
+scilab2ccode.deps.u16disps=[]
+scilab2ccode.deps.u16dispa=[]
+
+//string
+scilab2ccode.deps.cstringa=["cstrings"]
+scilab2ccode.deps.cstrings=["creals","cimags"]
+scilab2ccode.deps.dstringa=["dstrings"]
+scilab2ccode.deps.dstrings=[]
+scilab2ccode.deps.i8stringa=["i8strings"]
+scilab2ccode.deps.i8strings=[]
+scilab2ccode.deps.i16stringa=["i16strings"]
+scilab2ccode.deps.i16strings=[]
+scilab2ccode.deps.sstringa=["sstrings"]
+scilab2ccode.deps.sstrings=[]
+scilab2ccode.deps.u8stringa=["u8strings"]
+scilab2ccode.deps.u8strings=[]
+scilab2ccode.deps.u16stringa=["u16strings"]
+scilab2ccode.deps.u16strings=[]
+scilab2ccode.deps.zstringa=["zstrings"]
+scilab2ccode.deps.zstrings=[]
+
+//strrchr
+scilab2ccode.deps.gstrrchra=[]
+
+//strrev
+scilab2ccode.deps.gstrreva=[]
+
+//strsubst
+scilab2ccode.deps.gstrsubsta=[]
///////////////////
////// TYPES //////
///////////////////
+scilab2ccode.deps.floatComplex=["creals","cimags","FloatComplex","cisreals","cisimags"]
+scilab2ccode.deps.doubleComplex=["zreals","zimags","DoubleComplex","zisreals","zisimags"]
//floatComplex
scilab2ccode.deps.creals=[]
@@ -746,4 +1785,24 @@ scilab2ccode.deps.DoubleComplexMatrix=["DoubleComplex"]
scilab2ccode.deps.zisreals=["zimags"]
scilab2ccode.deps.zisimags=["zreals"]
+//Arduino Functions
+scilab2ccode.deps.u8cmd_analog_ins=["duint16a","duint16s","i8uint16a","i8uint16s","i16uint16a","i16uint16s","suint16a","suint16s","u8uint16a","u8uint16s"]
+scilab2ccode.deps.u8cmd_analog_in_volts=["dfloats","dfloata","i8floats","i8floata","i16floats","i16floata","sfloats","sfloata","u8floats","u8floata","u16floats","u16floata"]
+scilab2ccode.deps.u8cmd_analog_outs=[]
+scilab2ccode.deps.u8cmd_analog_out_volts=[]
+scilab2ccode.deps.u8cmd_dcmotor_releases=[]
+scilab2ccode.deps.u8cmd_dcmotor_runs=[]
+scilab2ccode.deps.u8cmd_dcmotor_setups=[]
+scilab2ccode.deps.u8cmd_digital_ins=["duint8a","duint8s","i8uint8a","i8uint8s","i16uint8a","i16uint8s","suint8a","suint8s","u16uint8a","u16uint8s"]
+scilab2ccode.deps.u8cmd_digital_outs=[]
+scilab2ccode.deps.u8cmd_i2c_devs=["duint8a","duint8s","i8uint8a","i8uint8s","i16uint8a","i16uint8s","suint8a","suint8s","u16uint8a","u16uint8s"]
+scilab2ccode.deps.u8cmd_i2c_reads=[]
+scilab2ccode.deps.u8cmd_i2c_read_registers=[]
+scilab2ccode.deps.u8cmd_i2c_writes=[]
+scilab2ccode.deps.u8cmd_i2c_write_registers=[]
+scilab2ccode.deps.u8cmd_servo_attach=[]
+scilab2ccode.deps.u8cmd_servo_move=[]
+scilab2ccode.deps.u8cmd_servo_detach=[]
+scilab2ccode.deps.u16sleeps=[]
+
endfunction
diff --git a/macros/findDeps/getAllHeaders.sci b/macros/findDeps/getAllHeaders.sci
index 6e9a3b6..38f84f5 100644
--- a/macros/findDeps/getAllHeaders.sci
+++ b/macros/findDeps/getAllHeaders.sci
@@ -60,7 +60,6 @@ function allHeaders = getAllHeaders(SharedInfo)
"src/c/matrixOperations/includes/logm.h"
"src/c/matrixOperations/includes/ones.h"
"src/c/matrixOperations/includes/matrixSquaredMagnitude.h"
- "src/c/linearAlgebra/includes/spec.h"
"src/c/matrixOperations/includes/matrixTranspose.h"
"src/c/matrixOperations/includes/determ.h"
"src/c/matrixOperations/includes/matrixMultiplication.h"
@@ -73,6 +72,7 @@ function allHeaders = getAllHeaders(SharedInfo)
"src/c/matrixOperations/includes/kron.h"
"src/c/matrixOperations/includes/flipdim.h"
"src/c/matrixOperations/includes/norm.h"
+ "src/c/matrixOperations/includes/toeplitz.h"
"src/c/interpolation/includes/interp1.h"
"src/c/elementaryFunctions/includes/nextpow2.h"
"src/c/elementaryFunctions/includes/gcd.h"
@@ -227,14 +227,19 @@ function allHeaders = getAllHeaders(SharedInfo)
"src/c/CACSD/includes/lqr.h"
"src/c/CACSD/includes/lqe.h"
"src/c/CACSD/includes/obscont.h"
- "src/c/linearAlgebra/includes/sva.h"
- "src/c/linearAlgebra/includes/svd.h"
"src/c/linearAlgebra/includes/schur.h"
"src/c/linearAlgebra/includes/balanc.h"
"src/c/linearAlgebra/includes/svd.h"
- "src/c/linearAlgebra/includes/hess.h"
- "src/c/linearAlgebra/includes/sva.h"
- "src/c/linearAlgebra/includes/rcond.h"];
+ "src/c/linearAlgebra/includes/hess.h"
+ "src/c/linearAlgebra/includes/sva.h"
+ "src/c/linearAlgebra/includes/sqroot.h"
+ "src/c/linearAlgebra/includes/givens.h"
+ "src/c/linearAlgebra/includes/householder.h"
+ "src/c/linearAlgebra/includes/fullrf.h"
+ "src/c/linearAlgebra/includes/rowcomp.h"
+ "src/c/linearAlgebra/includes/rcond.h"
+ "src/c/linearAlgebra/includes/qr.h"
+ "src/c/linearAlgebra/includes/spec.h"];
//Header files required for "Arduino" output
diff --git a/macros/findDeps/getAllInterfaces.sci b/macros/findDeps/getAllInterfaces.sci
index 91d117e..c7924a3 100644
--- a/macros/findDeps/getAllInterfaces.sci
+++ b/macros/findDeps/getAllInterfaces.sci
@@ -32,7 +32,6 @@ function allInterfaces = getAllInterfaces(SharedInfo)
"src/c/type/int_real.h"
"src/c/matrixOperations/interfaces/int_vmagn.h"
"src/c/matrixOperations/interfaces/int_ones.h"
- "src/c/linearAlgebra/interfaces/int_spec.h"
"src/c/matrixOperations/interfaces/int_cat.h"
"src/c/matrixOperations/interfaces/int_zeros.h"
"src/c/matrixOperations/interfaces/int_OpBackSlash.h"
@@ -62,6 +61,7 @@ function allInterfaces = getAllInterfaces(SharedInfo)
"src/c/matrixOperations/interfaces/int_flipdim.h"
"src/c/matrixOperations/interfaces/int_permute.h"
"src/c/matrixOperations/interfaces/int_norm.h"
+ "src/c/matrixOperations/interfaces/int_toeplitz.h"
"src/c/interpolation/interfaces/int_interp1.h"
"src/c/elementaryFunctions/interfaces/int_nextpow2.h"
"src/c/elementaryFunctions/interfaces/int_gcd.h"
@@ -222,13 +222,18 @@ function allInterfaces = getAllInterfaces(SharedInfo)
"src/c/CACSD/interfaces/int_lqr.h"
"src/c/CACSD/interfaces/int_lqe.h"
"src/c/CACSD/interfaces/int_obscont.h"
- "src/c/linearAlgebra/interfaces/int_sva.h"
- "src/c/linearAlgebra/interfaces/int_svd.h"
+ "src/c/linearAlgebra/interfaces/int_spec.h"
"src/c/linearAlgebra/interfaces/int_schur.h"
"src/c/linearAlgebra/interfaces/int_balanc.h"
"src/c/linearAlgebra/interfaces/int_svd.h"
+ "src/c/linearAlgebra/interfaces/int_sqroot.h"
"src/c/linearAlgebra/interfaces/int_hess.h"
- "src/c/linearAlgebra/interfaces/int_sva.h"
+ "src/c/linearAlgebra/interfaces/int_sva.h"
+ "src/c/linearAlgebra/interfaces/int_givens.h"
+ "src/c/linearAlgebra/interfaces/int_householder.h"
+ "src/c/linearAlgebra/interfaces/int_fullrf.h"
+ "src/c/linearAlgebra/interfaces/int_rowcomp.h"
+ "src/c/linearAlgebra/interfaces/int_qr.h";
"src/c/linearAlgebra/interfaces/int_rcond.h"];
diff --git a/macros/findDeps/getAllSources.sci b/macros/findDeps/getAllSources.sci
index 8fb58b2..1525cca 100644
--- a/macros/findDeps/getAllSources.sci
+++ b/macros/findDeps/getAllSources.sci
@@ -10,7 +10,7 @@
//
//
-function allSources = getAllSources(SharedInfo)
+function allSources = getAllSources(SharedInfo,BuildTool)
Target = SharedInfo.Target;
//Files common to types of output format
@@ -155,18 +155,10 @@ function allSources = getAllSources(SharedInfo)
"src/c/matrixOperations/powm/spowma.c"
"src/c/matrixOperations/powm/zpowma.c"
"src/c/matrixOperations/powm/cpowma.c"
- "src/c/linearAlgebra/spec/cspeca.c"
- "src/c/linearAlgebra/spec/dspeca.c"
- "src/c/linearAlgebra/spec/sspeca.c"
- "src/c/linearAlgebra/spec/zspeca.c"
"src/c/matrixOperations/transpose/ztransposea.c"
"src/c/matrixOperations/transpose/stransposea.c"
"src/c/matrixOperations/transpose/ctransposea.c"
"src/c/matrixOperations/transpose/dtransposea.c"
- "src/c/linearAlgebra/spec2/zspec2a.c"
- "src/c/linearAlgebra/spec2/sspec2a.c"
- "src/c/linearAlgebra/spec2/dspec2a.c"
- "src/c/linearAlgebra/spec2/cspec2a.c"
"src/c/matrixOperations/trace/stracea.c"
"src/c/matrixOperations/trace/dtracea.c"
"src/c/matrixOperations/trace/ctracea.c"
@@ -338,6 +330,15 @@ function allSources = getAllSources(SharedInfo)
"src/c/matrixOperations/kron/skrona.c"
"src/c/matrixOperations/norm/dnormv.c"
"src/c/matrixOperations/norm/dnorma.c"
+ "src/c/matrixOperations/toeplitz/dtoeplitza.c"
+ "src/c/matrixOperations/toeplitz/u8toeplitza.c"
+ "src/c/matrixOperations/toeplitz/u16toeplitza.c"
+ "src/c/matrixOperations/toeplitz/gtoeplitza.c"
+ "src/c/matrixOperations/toeplitz/ztoeplitza.c"
+ "src/c/matrixOperations/toeplitz/stoeplitza.c"
+ "src/c/matrixOperations/toeplitz/ctoeplitza.c"
+ "src/c/matrixOperations/toeplitz/i8toeplitza.c"
+ "src/c/matrixOperations/toeplitz/i16toeplitza.c"
"src/c/elementaryFunctions/nextpow2/dnextpow2a.c"
"src/c/elementaryFunctions/isreal/sisreals.c"
"src/c/elementaryFunctions/isreal/disreals.c"
@@ -627,7 +628,6 @@ function allSources = getAllSources(SharedInfo)
"src/c/elementaryFunctions/round/i16rounds.c"
"src/c/elementaryFunctions/lnp1m1/slnp1m1s.c"
"src/c/elementaryFunctions/lnp1m1/dlnp1m1s.c"
-
"src/c/elementaryFunctions/float/dfloats.c"
"src/c/elementaryFunctions/float/dfloata.c"
"src/c/elementaryFunctions/float/sfloats.c"
@@ -640,7 +640,6 @@ function allSources = getAllSources(SharedInfo)
"src/c/elementaryFunctions/float/u16floata.c"
"src/c/elementaryFunctions/float/i16floats.c"
"src/c/elementaryFunctions/float/i16floata.c"
-
"src/c/elementaryFunctions/uint8/duint8s.c"
"src/c/elementaryFunctions/uint8/duint8a.c"
"src/c/elementaryFunctions/uint8/suint8s.c"
@@ -709,7 +708,6 @@ function allSources = getAllSources(SharedInfo)
"src/c/elementaryFunctions/int32/i16int32a.c"
"src/c/elementaryFunctions/int32/u32int32s.c"
"src/c/elementaryFunctions/int32/u32int32a.c"
-
"src/c/elementaryFunctions/bitand/u8bitands.c"
"src/c/elementaryFunctions/bitand/u8bitanda.c"
"src/c/elementaryFunctions/bitand/u16bitands.c"
@@ -1318,16 +1316,28 @@ function allSources = getAllSources(SharedInfo)
"src/c/CACSD/lqr/dlqra.c"
"src/c/CACSD/lqe/dlqea.c"
"src/c/CACSD/obscont/dobsconta.c"
- "src/c/linearAlgebra/sva/dsvaa.c"
- "src/c/linearAlgebra/svd/dsvda.c"
+ "src/c/linearAlgebra/spec2/zspec2a.c"
+ "src/c/linearAlgebra/spec2/sspec2a.c"
+ "src/c/linearAlgebra/spec2/dspec2a.c"
+ "src/c/linearAlgebra/spec2/cspec2a.c"
+ "src/c/linearAlgebra/spec/cspeca.c"
+ "src/c/linearAlgebra/spec/dspeca.c"
+ "src/c/linearAlgebra/spec/sspeca.c"
+ "src/c/linearAlgebra/spec/zspeca.c"
"src/c/linearAlgebra/schur/dschura.c"
"src/c/linearAlgebra/schur/dgschura.c"
"src/c/linearAlgebra/balanc/dbalanca.c"
"src/c/linearAlgebra/svd/dsvda.c"
"src/c/linearAlgebra/svd/zsvda.c"
+ "src/c/linearAlgebra/sqroot/dsqroota.c"
"src/c/linearAlgebra/hess/dhessa.c"
+ "src/c/linearAlgebra/givens/dgivensa.c"
+ "src/c/linearAlgebra/householder/dhouseholdera.c"
"src/c/linearAlgebra/sva/dsvaa.c"
"src/c/linearAlgebra/spec/dspec1a.c"
+ "src/c/linearAlgebra/fullrf/dfullrfa.c"
+ "src/c/linearAlgebra/rowcomp/drowcompa.c"
+ "src/c/linearAlgebra/qr/dqra.c"
"src/c/linearAlgebra/rcond/drconda.c"];
//Files to be inserted only if output format selected is 'Arduino'.
@@ -1490,10 +1500,18 @@ function allSources = getAllSources(SharedInfo)
"src/c/imageProcessing/cvimgproc/imcvCanny.cpp"
"src/c/imageProcessing/cvimgproc/imcvCornerHarris.cpp"];
+ if Target == "Arduino" & BuildTool == "nmake"
+ Required_addrs = get_rquird_fnctns(Standalone_files,Arduino_files,SharedInfo);
+ end
+
if Target == "StandAlone"
allSources = Standalone_files;
elseif Target == "Arduino"
- allSources = cat(1,Standalone_files, Arduino_files);
+ if BuildTool == "nmake"
+ allSources = Required_addrs;
+ else
+ allSources = cat(1,Standalone_files, Arduino_files);
+ end
elseif Target == "AVR"
allSources = cat(1,Standalone_files, AVR_files);
elseif Target == "RPi"
diff --git a/macros/findDeps/get_rquird_fnctns.sci b/macros/findDeps/get_rquird_fnctns.sci
new file mode 100644
index 0000000..8f3dbf8
--- /dev/null
+++ b/macros/findDeps/get_rquird_fnctns.sci
@@ -0,0 +1,143 @@
+// Copyright (C) 2017 - IIT Bombay - FOSSEE
+
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Author: Yash Pratap Singh Tomar
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+//This function creates and compares the list of functions used in scilab code to existing function list from getallSources
+function Required_addrs = get_rquird_fnctns(Standalone_files,Arduino_files,SharedInfo)
+ Required_stdalon_indx = 1;
+ Required_ardno_indx = 1;
+ x = 1;
+ y = 1;
+
+//Creating lists for stanalone C file and function
+//Some C files don't have their function name directory. So their address is being shifted to last of the list
+ Standalone_files_1 = Standalone_files;
+// Standalone_files_extras(1) = Standalone_files_1(76);
+// Standalone_files_extras(2) = Standalone_files_1(77);
+// Standalone_files_extras(3) = Standalone_files_1(1009);
+// Standalone_files_extras(4) = Standalone_files_1(1010);
+// Standalone_files_extras(5) = Standalone_files_1(1011);
+// Standalone_files_extras(6) = Standalone_files_1(1012);
+// Standalone_files_1(1012) = [];
+// Standalone_files_1(1011) = [];
+// Standalone_files_1(1010) = [];
+// Standalone_files_1(1009) = [];
+// Standalone_files_1(77) = [];
+// Standalone_files_1(76) = [];
+
+//calculating the total no. of standalone files
+ No_of_stdalon_files = size(Standalone_files_1);
+ No_of_stdalon_files = No_of_stdalon_files(1);
+
+//This for loop is to extract function name list from address list
+ for index=1:No_of_stdalon_files
+ K = strsplit(Standalone_files_1(index),"/");
+ soK = size(K);
+ soK = soK(1);
+ Standalone_files_folders(index) = K((soK-1));
+ Standalone_C_files(index) = K(soK);
+ Standalone_C_files(index) = strtok(Standalone_C_files(index),".");
+ end
+
+//Here, it adds the functions to the list which were earlier removed to shift to the end
+ //for index=1:6
+ // K = strsplit(Standalone_files_extras(index),"/");
+ // Standalone_files_folders(No_of_stdalon_files+index) = K(3);
+ // Standalone_C_files(No_of_stdalon_files+index) = K(4);
+ // Standalone_files_1(No_of_stdalon_files+index)= Standalone_files_extras(index);
+// Standalone_C_files(No_of_stdalon_files+index) = strtok(Standalone_C_files(No_of_stdalon_files+index),".");
+// end
+
+//Following similar procedure for Arduino
+ Arduino_files_1 = Arduino_files;
+ No_of_ardno_files = size(Arduino_files_1);
+ No_of_ardno_files = No_of_ardno_files(1);
+ for index=1:No_of_ardno_files
+ K = strsplit(Arduino_files_1(index),"/");
+ soK = size(K);
+ soK = soK(1);
+ Arduino_files_folders(index) = K((soK-1));
+ Arduino_C_files(index) = K(soK);
+ Arduino_C_files(index) = strtok(Arduino_C_files(index),".");
+ end
+
+//comparing
+//this compares the list of functions used in scilab file to the created standalone C files and function list
+ for index = 1:SharedInfo.Function_list_index
+ for k = 1:No_of_stdalon_files
+ if SharedInfo.Function_list(index) == Standalone_files_folders(k)
+ Required_fnctn_stdalon(Required_stdalon_indx) = k;
+ Required_fnctn_stdlon_f(x) = Standalone_C_files(k);
+ x = x+1;
+ Required_stdalon_indx = Required_stdalon_indx + 1;
+ end
+ end
+ end
+ if x == 1
+ Required_fnctn_stdlon_f = [];
+ end
+//this compares the list of functions used in scilab file to the created Arduino files and function list
+Required_stdalon_indx = Required_stdalon_indx - 1;
+
+ for index = 1:SharedInfo.Function_list_index
+ for k = 1:No_of_ardno_files
+ if SharedInfo.Function_list(index) == Arduino_files_folders(k);
+ Required_fnctn_ardno(Required_ardno_indx) = k;
+ Required_fnctn_ardno_f(y) = Arduino_C_files(k);
+ y = y+1;
+ Required_ardno_indx = Required_ardno_indx + 1;
+ end
+ end
+ end
+
+ Required_ardno_indx = Required_ardno_indx - 1;
+//Calling Scilab2CDeps structure
+ scilab2ccode = Scilab2CDeps();
+//Looking for the depencies of the C files used on other files
+ for index = 1:Required_stdalon_indx
+ call = "scilab2ccode.deps." + Standalone_C_files(Required_fnctn_stdalon(index));
+ call_val = eval(call);
+ Required_fnctn_stdlon_f = cat(1,Required_fnctn_stdlon_f,(call_val)');
+ end
+
+ Required_fnctn_stdlon_f = unique(Required_fnctn_stdlon_f);
+
+//Looking for the depencies of the Arduino files used on other C or Arduino files
+ for index = 1:Required_ardno_indx
+ call = "scilab2ccode.deps." + Arduino_C_files(Required_fnctn_ardno(index));
+ call_val = eval(call);
+ Required_fnctn_ardno_f = cat(1,Required_fnctn_ardno_f,(call_val)');
+ end
+ Required_fnctn_ardno_f = unique(Required_fnctn_ardno_f);
+
+//Adding Standalone and Arudino files lists
+ all_files_addrs = cat(1,Standalone_files_1,Arduino_files_1);
+
+//Adding Requied Standalone and Arudino files lists which are to be copied
+ required_files = cat(1,Required_fnctn_stdlon_f,Required_fnctn_ardno_f);
+ required_files = unique(required_files);
+ no_of_required_files = size(required_files);
+ no_of_required_files = no_of_required_files(1);
+ no_of_all_files = size(all_files_addrs);
+ no_of_all_files = no_of_all_files(1);
+
+ all_files = cat(1,Standalone_C_files,Arduino_C_files);
+ index = 1;
+//Creating final list which has address of files to be copied
+ for i=1:no_of_required_files
+ for k=1:no_of_all_files
+ if required_files(i) == all_files(k)
+ Required_addrs(index) = all_files_addrs(k);
+ index = index + 1;
+ end
+ end
+ end
+
+endfunction
diff --git a/macros/findDeps/lib b/macros/findDeps/lib
deleted file mode 100644
index 4cca2de..0000000
--- a/macros/findDeps/lib
+++ /dev/null
Binary files differ
diff --git a/macros/findDeps/names b/macros/findDeps/names
index 2b8c551..b1825b6 100644
--- a/macros/findDeps/names
+++ b/macros/findDeps/names
@@ -5,3 +5,4 @@ getAllInterfaces
getAllLibraries
getAllSources
getArduinoFiles
+get_rquird_fnctns
diff --git a/macros/lib b/macros/lib
deleted file mode 100644
index f759663..0000000
--- a/macros/lib
+++ /dev/null
Binary files differ
diff --git a/macros/runsci2c.sci b/macros/runsci2c.sci
index 957920a..7475f87 100644
--- a/macros/runsci2c.sci
+++ b/macros/runsci2c.sci
@@ -53,10 +53,10 @@ disp(RunSci2CMainDir);
[FileInfoDatFile,SharedInfoDatFile] = INIT_SCI2C(UserScilabMainFile, ...
UserSciFilesPaths, SCI2COutputPath, RunMode, Target,Board_name);
-
// -- Load FileInfo and SharedInfo
load(SharedInfoDatFile,'SharedInfo');
load(FileInfoDatFile,'FileInfo');
+
RunMode = SharedInfo.RunMode;
// --- Generation of the library structure. ---
@@ -91,7 +91,7 @@ load(SharedInfoDatFile,'SharedInfo');
// ---------------------------
global SCI2CHOME
-allSources = SCI2CHOME + "/" + getAllSources(SharedInfo);
+allSources = SCI2CHOME + "/" + getAllSources(SharedInfo, BuildTool);
allHeaders = SCI2CHOME + "/" +getAllHeaders(SharedInfo);
allInterfaces = SCI2CHOME + "/" + getAllInterfaces(SharedInfo);
if(~isempty(getAllLibraries(SharedInfo)))
@@ -100,7 +100,10 @@ else
allLibraries = ''
end
//allLibraries = SCI2CHOME + "/" + getAllLibraries(Target);
-
+if (Target == 'Arduino')
+ mkdir(SCI2COutputPath+"/arduino/");
+ mkdir(SCI2COutputPath+"/arduino/sci2c_arduino");
+end
mkdir(SCI2COutputPath+"/src/");
mkdir(SCI2COutputPath+"/src/c/");
mkdir(SCI2COutputPath+"/includes/");
@@ -112,16 +115,24 @@ PrintStepInfo('Copying sources', FileInfo.GeneralReport,'both');
for i = 1:size(allSources, "*")
// DEBUG only
- disp("Copying "+allSources(i)+" in "+SCI2COutputPath+"/src/c/");
+ //disp("Copying "+allSources(i)+" in "+SCI2COutputPath+"/src/c/");
//Copy ode related functions only if 'ode' function is used.
if(~isempty(strstr(allSources(i),'dode')))
if(size(SharedInfo.Includelist) <> 0)
if((mtlb_strcmp(part(SharedInfo.Includelist(1),1:5),'odefn') == %T))
- copyfile(allSources(i), SCI2COutputPath+"/src/c/");
+ if BuildTool == "nmake"
+ copyfile(allSources(i), SCI2COutputPath+"/arduino/sci2c_arduino/");
+ else
+ copyfile(allSources(i), SCI2COutputPath+"/src/c/");
+ end
end
end
else
- copyfile(allSources(i), SCI2COutputPath+"/src/c/");
+ if BuildTool == "nmake"
+ copyfile(allSources(i), SCI2COutputPath+"/arduino/sci2c_arduino/");
+ else
+ copyfile(allSources(i), SCI2COutputPath+"/src/c/");
+ end
end
end
@@ -130,7 +141,11 @@ PrintStepInfo('Copying headers', FileInfo.GeneralReport,'both');
for i = 1:size(allHeaders, "*")
// DEBUG only
//disp("Copying "+allHeaders(i)+" in "+SCI2COutputPath+"/includes/");
- copyfile(allHeaders(i), SCI2COutputPath+"/includes/");
+ if BuildTool == "nmake"
+ copyfile(allHeaders(i), SCI2COutputPath+"/arduino/sci2c_arduino/");
+ else
+ copyfile(allHeaders(i), SCI2COutputPath+"/includes/");
+ end
end
// -- Interfaces
@@ -138,8 +153,11 @@ PrintStepInfo('Copying interfaces', FileInfo.GeneralReport,'both');
for i = 1:size(allInterfaces, "*")
// DEBUG only
//disp("Copying "+allInterfaces(i)+" in "+SCI2COutputPath+"/interfaces/");
-
- copyfile(allInterfaces(i), SCI2COutputPath+"/interfaces/");
+ if BuildTool == "nmake"
+ copyfile(allInterfaces(i), SCI2COutputPath+"/arduino/sci2c_arduino/");
+ else
+ copyfile(allInterfaces(i), SCI2COutputPath+"/interfaces/");
+ end
end
// -- Libraries
@@ -166,8 +184,6 @@ end
if (Target == 'Arduino')
GenerateSetupFunction(FileInfo);
- mkdir(SCI2COutputPath+"/arduino/");
- mkdir(SCI2COutputPath+"/arduino/sci2c_arduino");
//Copy arduino makefile
arduinoFiles = SCI2CHOME + "/" + getArduinoFiles();
PrintStepInfo('Copying arduino files', FileInfo.GeneralReport,'both');
@@ -193,6 +209,12 @@ else
C_GenerateMakefile_msvc(FileInfo,SharedInfo);
end
end
+if BuildTool == "nmake" & Target == 'Arduino'
+ movefile(SCI2COutputPath +"/setup_arduino.h", SCI2COutputPath+"/arduino/sci2c_arduino/");
+ movefile(SCI2COutputPath +"/setup_arduino.cpp", SCI2COutputPath+"/arduino/sci2c_arduino/");
+ movefile(SCI2COutputPath +"/loop_arduino.cpp", SCI2COutputPath+"/arduino/sci2c_arduino/");
+ movefile(SCI2COutputPath +"/loop_arduino.h", SCI2COutputPath+"/arduino/sci2c_arduino/");
+end
diff --git a/macros/sci2c_gui.sci b/macros/sci2c_gui.sci
index bee6fe4..cad8b24 100644
--- a/macros/sci2c_gui.sci
+++ b/macros/sci2c_gui.sci
@@ -216,7 +216,7 @@ outformatlabel = uicontrol("parent", sci2cfig,...
outformatradiostalone = uicontrol("parent", sci2cfig,...
"style", "radiobutton",...
"string", gettext("Stand-alone"),...
- "position",[2*margin+widgetLabelWidth outformaty 2*radiow widgeth],...
+ "position",[2*margin+widgetLabelWidth outformaty 2*radiow-10 widgeth],...
"horizontalalignment", "left",...
"fontname", defaultfont,...
"fontunits", "points",...
@@ -309,7 +309,7 @@ runradiotranslate = uicontrol("parent", sci2cfig,...
runradiogenlib = uicontrol("parent", sci2cfig,...
"style", "radiobutton",...
"string", gettext("Generate library"),...
- "position",[2*margin+widgetLabelWidth+2*radiow runy 120 widgeth],...
+ "position",[2*margin+widgetLabelWidth+2*radiow+20 runy 150 widgeth],...
"horizontalalignment", "left",...
"fontname", defaultfont,...
"fontunits", "points",...
diff --git a/macros/scilab2c.sci b/macros/scilab2c.sci
index 197c88b..70290d0 100644
--- a/macros/scilab2c.sci
+++ b/macros/scilab2c.sci
@@ -57,7 +57,7 @@ function scilab2c(varargin)
RunMode = "All";
BuildTool = getNativeBuildTool();
Target = "StandAlone"
- //Board_name = "uno"
+ Board_name = "uno"
//
// scilab2c(UserScilabMainFile, CCodeOutputDir, UserSciFilesPaths, RunMode)
//