summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Scilab2C/Scilab2C/CCodeGeneration/SCI2CMakefileTemplate.rc2
-rw-r--r--src/Scilab2C/Scilab2C/CFiles/sci2cincludes/sci2clib.h4
l---------src/Scilab2C/Scilab2C/CFiles/sci2cinterfaces/int_OpApex.h1
l---------src/Scilab2C/Scilab2C/CFiles/sci2cinterfaces/int_OpDotApex.h1
-rw-r--r--src/matrixOperations/interfaces/int_OpApex.h34
-rw-r--r--src/matrixOperations/interfaces/int_OpDotApex.h34
6 files changed, 73 insertions, 3 deletions
diff --git a/src/Scilab2C/Scilab2C/CCodeGeneration/SCI2CMakefileTemplate.rc b/src/Scilab2C/Scilab2C/CCodeGeneration/SCI2CMakefileTemplate.rc
index 316a0429..8e1cd74a 100644
--- a/src/Scilab2C/Scilab2C/CCodeGeneration/SCI2CMakefileTemplate.rc
+++ b/src/Scilab2C/Scilab2C/CCodeGeneration/SCI2CMakefileTemplate.rc
@@ -24,8 +24,6 @@ SWSRCS = \
$(CSRCDIR)/doubleComplex.c \
$(CSRCDIR)/floatComplex.c \
$(CSRCDIR)/RealToComplex.c \
- $(CSRCDIR)/zeros.c \
- $(CSRCDIR)/OpApex.c \
$(CSRCDIR)/OpDotHat.c \
$(CSRCDIR)/OpEqual.c \
$(CSRCDIR)/OpIns.c \
diff --git a/src/Scilab2C/Scilab2C/CFiles/sci2cincludes/sci2clib.h b/src/Scilab2C/Scilab2C/CFiles/sci2cincludes/sci2clib.h
index 49647802..72881952 100644
--- a/src/Scilab2C/Scilab2C/CFiles/sci2cincludes/sci2clib.h
+++ b/src/Scilab2C/Scilab2C/CFiles/sci2cincludes/sci2clib.h
@@ -194,7 +194,9 @@
#include "matrixTrace.h"
#include "int_trace.h"
/* interfacing tranpose */
-#include "matrixTranspose.h" /* interfacing zeros */
+#include "matrixTranspose.h"
+#include "int_OpApex.h"
+#include "int_OpDotApex.h" /* interfacing zeros */
#include "zeros.h"
#include "int_zeros.h"
diff --git a/src/Scilab2C/Scilab2C/CFiles/sci2cinterfaces/int_OpApex.h b/src/Scilab2C/Scilab2C/CFiles/sci2cinterfaces/int_OpApex.h
new file mode 120000
index 00000000..d28683e9
--- /dev/null
+++ b/src/Scilab2C/Scilab2C/CFiles/sci2cinterfaces/int_OpApex.h
@@ -0,0 +1 @@
+../../../../matrixOperations/interfaces/int_OpApex.h \ No newline at end of file
diff --git a/src/Scilab2C/Scilab2C/CFiles/sci2cinterfaces/int_OpDotApex.h b/src/Scilab2C/Scilab2C/CFiles/sci2cinterfaces/int_OpDotApex.h
new file mode 120000
index 00000000..f34768f0
--- /dev/null
+++ b/src/Scilab2C/Scilab2C/CFiles/sci2cinterfaces/int_OpDotApex.h
@@ -0,0 +1 @@
+../../../../matrixOperations/interfaces/int_OpDotApex.h \ No newline at end of file
diff --git a/src/matrixOperations/interfaces/int_OpApex.h b/src/matrixOperations/interfaces/int_OpApex.h
new file mode 100644
index 00000000..4915e204
--- /dev/null
+++ b/src/matrixOperations/interfaces/int_OpApex.h
@@ -0,0 +1,34 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
+ *
+ * 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
+ *
+ */
+
+/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */
+
+#ifndef __INT_OPAPEX_H__
+#define __INT_OPAPEX_H__
+
+#define s0OpApexs0(in) in
+
+#define d0OpApexd0(in) in
+
+#define c0OpApexc0(in) cconjs(in)
+
+#define z0OpApexz0(in) zconjs(in)
+
+#define s2OpApexs2(in,size,out) stransposea(in,size[0],size[1],out);
+
+#define d2OpApexd2(in,size,out) dtransposea(in,size[0],size[1],out);
+
+#define c2OpApexc2(in,size,out) ctransposea(in,size[0],size[1],out);cconja(out,size[0]*size[1],out);
+
+#define z2OpApexz2(in,size,out) ztransposea(in,size[0],size[1],out);zconja(out,size[0]*size[1],out);
+
+#endif /* !__INT_OPAPEX_H__ */
diff --git a/src/matrixOperations/interfaces/int_OpDotApex.h b/src/matrixOperations/interfaces/int_OpDotApex.h
new file mode 100644
index 00000000..4978ca56
--- /dev/null
+++ b/src/matrixOperations/interfaces/int_OpDotApex.h
@@ -0,0 +1,34 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
+ *
+ * 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
+ *
+ */
+
+/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */
+
+#ifndef __INT_OPDOTAPEX_H__
+#define __INT_OPDOTAPEX_H__
+
+#define s0OpDotApexs0(in) in
+
+#define d0OpDotApexd0(in) in
+
+#define c0OpDotApexc0(in) in
+
+#define z0OpDotApexz0(in) in
+
+#define s2OpDotApexs2(in,size,out) stransposea(in,size[0],size[1],out);
+
+#define d2OpDotApexd2(in,size,out) dtransposea(in,size[0],size[1],out);
+
+#define c2OpDotApexc2(in,size,out) ctransposea(in,size[0],size[1],out);
+
+#define z2OpDotApexz2(in,size,out) ztransposea(in,size[0],size[1],out);
+
+#endif /* !__INT_OPDOTAPEX_H__ */