From cb1d99232e521c34e9f0c271a6c4176cc7b9cbe4 Mon Sep 17 00:00:00 2001 From: Sandeep Gupta Date: Thu, 6 Jul 2017 15:16:16 +0530 Subject: Changes --- macros/ASTManagement/lib | Bin 1820 -> 1896 bytes macros/CCodeGeneration/lib | Bin 964 -> 1040 bytes macros/ErrorMessages/lib | Bin 476 -> 552 bytes macros/FunctionAnnotation/lib | Bin 2284 -> 2324 bytes macros/FunctionList/lib | Bin 544 -> 620 bytes macros/GeneralFunctions/lib | Bin 1088 -> 1164 bytes macros/Hardware/AVR/lib | Bin 928 -> 1004 bytes macros/Hardware/RasberryPi/lib | Bin 932 -> 1008 bytes macros/ImageProcessing/core/lib | Bin 480 -> 556 bytes macros/ImageProcessing/highgui/lib | Bin 540 -> 616 bytes macros/ImageProcessing/imgproc/lib | Bin 708 -> 784 bytes macros/Scilab-Arduino/lib | Bin 552 -> 628 bytes macros/SymbolTable/lib | Bin 720 -> 760 bytes .../ToolInitialization/INIT_FillSCI2LibCDirs.sci | 2 +- macros/ToolInitialization/lib | Bin 796 -> 836 bytes macros/findDeps/lib | Bin 588 -> 628 bytes macros/lib | Bin 492 -> 568 bytes src/c/linearAlgebra/hess/dhessa.c | 8 ++++-- src/c/linearAlgebra/projspec/dprojspeca.c | 3 -- src/c/linearAlgebra/sqroot/dsqroota.c | 4 +-- src/c/linearAlgebra/sva/dsvaa.c | 7 +++-- src/c/matrixOperations/Slash/dslasha.c | 32 +++++++++++++++++++++ 22 files changed, 44 insertions(+), 12 deletions(-) create mode 100644 src/c/matrixOperations/Slash/dslasha.c diff --git a/macros/ASTManagement/lib b/macros/ASTManagement/lib index 9c1210d..b3633d5 100644 Binary files a/macros/ASTManagement/lib and b/macros/ASTManagement/lib differ diff --git a/macros/CCodeGeneration/lib b/macros/CCodeGeneration/lib index 9a1b93c..2d5aef4 100644 Binary files a/macros/CCodeGeneration/lib and b/macros/CCodeGeneration/lib differ diff --git a/macros/ErrorMessages/lib b/macros/ErrorMessages/lib index 4c570fd..a99820c 100644 Binary files a/macros/ErrorMessages/lib and b/macros/ErrorMessages/lib differ diff --git a/macros/FunctionAnnotation/lib b/macros/FunctionAnnotation/lib index 8d5a37f..4f9081d 100644 Binary files a/macros/FunctionAnnotation/lib and b/macros/FunctionAnnotation/lib differ diff --git a/macros/FunctionList/lib b/macros/FunctionList/lib index 9b8cfc8..f59833d 100644 Binary files a/macros/FunctionList/lib and b/macros/FunctionList/lib differ diff --git a/macros/GeneralFunctions/lib b/macros/GeneralFunctions/lib index 54bea32..e151923 100644 Binary files a/macros/GeneralFunctions/lib and b/macros/GeneralFunctions/lib differ diff --git a/macros/Hardware/AVR/lib b/macros/Hardware/AVR/lib index 5f9662b..6206fdf 100644 Binary files a/macros/Hardware/AVR/lib and b/macros/Hardware/AVR/lib differ diff --git a/macros/Hardware/RasberryPi/lib b/macros/Hardware/RasberryPi/lib index 370158b..e2b0214 100644 Binary files a/macros/Hardware/RasberryPi/lib and b/macros/Hardware/RasberryPi/lib differ diff --git a/macros/ImageProcessing/core/lib b/macros/ImageProcessing/core/lib index 94cf463..55055e4 100644 Binary files a/macros/ImageProcessing/core/lib and b/macros/ImageProcessing/core/lib differ diff --git a/macros/ImageProcessing/highgui/lib b/macros/ImageProcessing/highgui/lib index 21e6ae8..64253e0 100644 Binary files a/macros/ImageProcessing/highgui/lib and b/macros/ImageProcessing/highgui/lib differ diff --git a/macros/ImageProcessing/imgproc/lib b/macros/ImageProcessing/imgproc/lib index 35c8cc5..3b80459 100644 Binary files a/macros/ImageProcessing/imgproc/lib and b/macros/ImageProcessing/imgproc/lib differ diff --git a/macros/Scilab-Arduino/lib b/macros/Scilab-Arduino/lib index cd911ee..371723f 100644 Binary files a/macros/Scilab-Arduino/lib and b/macros/Scilab-Arduino/lib differ diff --git a/macros/SymbolTable/lib b/macros/SymbolTable/lib index a978ec5..2e93305 100644 Binary files a/macros/SymbolTable/lib and b/macros/SymbolTable/lib differ diff --git a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci index ec41a69..6c4bb14 100644 --- a/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci +++ b/macros/ToolInitialization/INIT_FillSCI2LibCDirs.sci @@ -6929,7 +6929,7 @@ 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)= FA_SZ_FULLRF(IN(1))',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'); diff --git a/macros/ToolInitialization/lib b/macros/ToolInitialization/lib index 1b0f5bd..45853ea 100644 Binary files a/macros/ToolInitialization/lib and b/macros/ToolInitialization/lib differ diff --git a/macros/findDeps/lib b/macros/findDeps/lib index 28e8369..acee5b0 100644 Binary files a/macros/findDeps/lib and b/macros/findDeps/lib differ diff --git a/macros/lib b/macros/lib index 54b3557..1917c3f 100644 Binary files a/macros/lib and b/macros/lib differ diff --git a/src/c/linearAlgebra/hess/dhessa.c b/src/c/linearAlgebra/hess/dhessa.c index 57f81b3..e1f2e2d 100644 --- a/src/c/linearAlgebra/hess/dhessa.c +++ b/src/c/linearAlgebra/hess/dhessa.c @@ -20,11 +20,13 @@ #include "matrixTranspose.h" #include "matrixMultiplication.h" +/* Lapack subroutines - which are used*/ extern int dgehrd_(int *, int *,int *,double *,int *,double *,double *,int *,int *); extern int dorghr_(int *, int *,int *,double *,int *,double *,double *,int *,int *); - +/* All the vairbale names are given exactly the same name as scilab source code */ void dhessa(double *in1,int size,int nout,double *out1, double *out2){ +/* Variables names are done through, Lapack library. */ int i,j,k; int N = size; int ILO=1; @@ -41,11 +43,11 @@ void dhessa(double *in1,int size,int nout,double *out1, double *out2){ WORK = (double *)malloc((double)LWORK*sizeof(double)); dgehrd_(&N,&ILO,&IHI,A,&LDA,TAU,WORK,&N,&INFO); - for(i=0;i X = A/B */ + +#include +#include "string.h" +#include "stdlib.h" +#include "lapack.h" +#include "matrixTranspose.h" +#include "matrixMultiplication.h" + +void dslasha(double *A,int m1,int n1,double *B,int m2,int n2,double *out){ + if(m1 != n1 && m1 != m2 && m2 != n2){ + return; + } + + double AF; + AF = (double *)malloc(); + +} -- cgit