From dfafd95d1ae7cf5627cd5434cbbb5d7b8fdb30b5 Mon Sep 17 00:00:00 2001
From: imushir
Date: Fri, 27 Nov 2015 15:40:33 +0530
Subject: added c files for u8 u16 i8 i16

---
 src/c/matrixOperations/transpose/i16transposea.c~ | 27 +++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 src/c/matrixOperations/transpose/i16transposea.c~

(limited to 'src/c/matrixOperations/transpose/i16transposea.c~')

diff --git a/src/c/matrixOperations/transpose/i16transposea.c~ b/src/c/matrixOperations/transpose/i16transposea.c~
new file mode 100644
index 00000000..366de067
--- /dev/null
+++ b/src/c/matrixOperations/transpose/i16transposea.c~
@@ -0,0 +1,27 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ *  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 "matrixTranspose.h"
+
+void i16transposea ( int16* in , int lines , int columns, int16* out ){
+	
+	int i    = 0 ;
+	int j    = 0 ;
+	
+	for(i = 0 ; i <  lines ; i++)
+	{
+		for(j = 0 ; j <  columns ; j++)
+
+		out[j+i*columns] = (int16)in[i+j*lines];
+	}
+	
+}
-- 
cgit