summaryrefslogtreecommitdiff
path: root/src/matrixOperations/cat/ccats.c
diff options
context:
space:
mode:
authorjofret2008-06-20 06:53:21 +0000
committerjofret2008-06-20 06:53:21 +0000
commit8300ec0083309b189f41594c0311a3eaafc403ad (patch)
tree0fdcbd70b40626f2cacff0c04ef00ce3c5ba1ef1 /src/matrixOperations/cat/ccats.c
parentcb90161d538655a07d897993cf17a5d23b78e380 (diff)
downloadscilab2c-8300ec0083309b189f41594c0311a3eaafc403ad.tar.gz
scilab2c-8300ec0083309b189f41594c0311a3eaafc403ad.tar.bz2
scilab2c-8300ec0083309b189f41594c0311a3eaafc403ad.zip
- Enable ROW concatenation
- Enable COLUMN concatenation - Add cat to compilation process
Diffstat (limited to 'src/matrixOperations/cat/ccats.c')
-rw-r--r--src/matrixOperations/cat/ccats.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/matrixOperations/cat/ccats.c b/src/matrixOperations/cat/ccats.c
new file mode 100644
index 00000000..c4fab76f
--- /dev/null
+++ b/src/matrixOperations/cat/ccats.c
@@ -0,0 +1,23 @@
+/*
+ * 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
+ *
+ */
+
+#include "cat.h"
+
+void crowcats(floatComplex in1, floatComplex in2, floatComplex *out) {
+ out[0] = in1;
+ out[1] = in2;
+}
+
+void ccolumncats(floatComplex in1, floatComplex in2, floatComplex *out) {
+ out[0] = in1;
+ out[1] = in2;
+}