summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/matrixOperations/interfaces/int_OpMinus.h37
-rw-r--r--src/matrixOperations/interfaces/int_OpPlus.h41
-rw-r--r--src/matrixOperations/interfaces/int_OpSlash.h34
-rw-r--r--src/matrixOperations/interfaces/int_OpStar.h37
4 files changed, 149 insertions, 0 deletions
diff --git a/src/matrixOperations/interfaces/int_OpMinus.h b/src/matrixOperations/interfaces/int_OpMinus.h
new file mode 100644
index 00000000..b5697403
--- /dev/null
+++ b/src/matrixOperations/interfaces/int_OpMinus.h
@@ -0,0 +1,37 @@
+/*
+ * 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_OPMINUS_H__
+#define __INT_OPMINUS_H__
+
+/* Matrix-Matrix */
+
+#define s2s2OpMinuss2(in1,size1,in2,size2,out) sdiffma(in1, size1[0]*size1[1], in2, size2[0]*size2[1], out)
+
+#define d2d2OpMinusd2(in1,size1,in2,size2,out) ddiffma(in1, size1[0]*size1[1], in2, size2[0]*size2[1], out)
+
+#define c2c2OpMinusc2(in1,size1,in2,size2,out) cdiffma(in1, size1[0]*size1[1], in2, size2[0]*size2[1], out)
+
+#define c2s2OpMinusc2(in1,size1,in2,size2,out) cdiffma(in1, size1[0]*size1[1], FloatComplexMatrix(in2,0,size2[0]*size2[1]), size2[0]*size2[1], out)
+
+#define s2c2OpMinusc2(in1,size1,in2,size2,out) cdiffma(FloatComplexMatrix(in1,0,size1[0]*size1[1]), size1[0]*size1[1], in2, size2[0]*size2[1], out)
+
+#define z2z2OpMinusz2(in1,size1,in2,size2,out) zdiffma(in1, size1[0]*size1[1], in2, size2[0]*size2[1], out)
+
+#define z2d2OpMinusz2(in1,size1,in2,size2,out) zdiffma(in1, size1[0]*size1[1], DoubleComplexMatrix(in2,0,size2[0]*size2[1]), size2[0]*size2[1], out)
+
+#define d2z2OpMinusz2(in1,size1,in2,size2,out) zdiffma(DoubleComplexMatrix(in1,0,size1[0]*size1[1]), size1[0]*size1[1], in2, size2[0]*size2[1], out)
+
+
+#endif /* !__INT_OPMINUS_H__ */
diff --git a/src/matrixOperations/interfaces/int_OpPlus.h b/src/matrixOperations/interfaces/int_OpPlus.h
new file mode 100644
index 00000000..13917a89
--- /dev/null
+++ b/src/matrixOperations/interfaces/int_OpPlus.h
@@ -0,0 +1,41 @@
+/*
+ * 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_OPPLUS_H__
+#define __INT_OPPLUS_H__
+
+
+
+/* Matrix + Matrix */
+
+#define s2s2OpPluss2(in1,size,in2,size,out) saddma(in1, size[0]*size[1], in2, size[0]*size[1], out)
+
+#define d2d2OpPlusd2(in1,size,in2,size,out) daddma(in1, size[0]*size[1], in2, size[0]*size[1], out)
+
+#define c2c2OpPlusc2(in1,size,in2,size,out) caddma(in1, size[0]*size[1], in2, size[0]*size[1], out)
+
+#define s2c2OpPlusc2(in1,size,in2,size,out) caddma(FloatComplex(in1,0), size[0]*size[1], in2, size[0]*size[1], out)
+
+#define c2s2OpPlusc2(in1,size,in2,size,out) caddma(in1, size[0]*size[1], FloatComplex(in2,0), size[0]*size[1], out)
+
+#define z2z2OpPlusz2(in1,size,in2,size,out) zaddma(in1, size[0]*size[1], in2, size[0]*size[1], out)
+
+#define d2z2OpPlusz2(in1,size,in2,size,out) zaddma(DoubleComplex(in1,0), size[0]*size[1], in2, size[0]*size[1], out)
+
+#define z2d2OpPlusz2(in1,size,in2,size,out) zaddma(in1, size[0]*size[1], DoubleComplex(in2,0), size[0]*size[1], out)
+
+
+
+
+#endif /* !__INT_OPPLUS_H__ */
diff --git a/src/matrixOperations/interfaces/int_OpSlash.h b/src/matrixOperations/interfaces/int_OpSlash.h
new file mode 100644
index 00000000..bf6ba42f
--- /dev/null
+++ b/src/matrixOperations/interfaces/int_OpSlash.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_OPSLASH_H__
+#define __INT_OPSLASH_H__
+
+#define s0rdivms0(in) srdivms(in)
+
+#define d0rdivmd0(in) drdivms(in)
+
+#define c0rdivmc0(in) crdivms(in)
+
+#define z0rdivmz0(in) zrdivms(in)
+
+#define s2rdivms2(in,size,out) srdivma(in, size[0]*size[1], out)
+
+#define d2rdivmd2(in,size,out) drdivma(in, size[0]*size[1], out)
+
+#define c2rdivmc2(in,size,out) crdivma(in, size[0]*size[1], out)
+
+#define z2rdivmz2(in,size,out) zrdivma(in, size[0]*size[1], out)
+
+#endif /* !__INT_OPSLASH_H__ */
diff --git a/src/matrixOperations/interfaces/int_OpStar.h b/src/matrixOperations/interfaces/int_OpStar.h
new file mode 100644
index 00000000..4362baa2
--- /dev/null
+++ b/src/matrixOperations/interfaces/int_OpStar.h
@@ -0,0 +1,37 @@
+/*
+ * 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_OPSTAR_H__
+#define __INT_OPSTAR_H__
+
+/* Matrix .* Matrix */
+
+#define s2s2OpStars2(in1,size1,in2,size2,out) smulma(in1,size1[0]*size1[1],in2,size2[0]*size2[1],out)
+
+#define d2d2OpStard2(in1,size1,in2,size2,out) dmulma(in1,size1[0]*size1[1],in2,size2[0]*size2[1],out)
+
+#define c2c2OpStarc2(in1,size1,in2,size2,out) cmulma(in1,size1[0]*size1[1],in2,size2[0]*size2[1],out)
+
+#define c2s2OpStarc2(in1,size1,in2,size2,out) cmulma(in1,size1[0]*size1[1],FloatComplexMatrix(in2,0,size2[0]*size2[1]),size2[0]*size2[1],out)
+
+#define s2c2OpStarc2(in1,size1,in2,size2,out) cmulma(FloatComplexMatrix(in1,0,size1[0]*size1[1]),size1[0]*size1[1],in2,size2[0]*size2[1],out)
+
+#define z2z2OpStarz2(in1,size1,in2,size2,out) zmulma(in1,size1[0]*size1[1],in2,size2[0]*size2[1],out)
+
+#define z2d2OpStarc2(in1,size1,in2,size2,out) cmulma(in1,size1[0]*size1[1],DoubleComplexMatrix(in2,0,size2[0]*size2[1]),size2[0]*size2[1],out)
+
+#define d2z2OpStarc2(in1,size1,in2,size2,out) cmulma(DoubleComplexMatrix(in1,0,size1[0]*size1[1]),size1[0]*size1[1],in2,size2[0]*size2[1],out)
+
+
+#endif /* !__INT_OPSTAR_H__ */