summaryrefslogtreecommitdiff
path: root/src/c/matrixOperations/interfaces
diff options
context:
space:
mode:
authorsiddhu89902016-05-27 11:50:04 +0530
committersiddhu89902016-05-27 11:50:04 +0530
commit212c54043e454e41ca4b23a5b965d4dbd4b683fe (patch)
treec1b62c677facad021562292b823b5e21978c0e4b /src/c/matrixOperations/interfaces
parenta6d6a9c1e88b75668868af691c9731075a514ffb (diff)
downloadscilab2c-212c54043e454e41ca4b23a5b965d4dbd4b683fe.tar.gz
scilab2c-212c54043e454e41ca4b23a5b965d4dbd4b683fe.tar.bz2
scilab2c-212c54043e454e41ca4b23a5b965d4dbd4b683fe.zip
Support for basic ODE function added
Diffstat (limited to 'src/c/matrixOperations/interfaces')
-rw-r--r--src/c/matrixOperations/interfaces/int_permute.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/c/matrixOperations/interfaces/int_permute.h b/src/c/matrixOperations/interfaces/int_permute.h
new file mode 100644
index 00000000..5f2bea58
--- /dev/null
+++ b/src/c/matrixOperations/interfaces/int_permute.h
@@ -0,0 +1,28 @@
+// Copyright (C) 2016 - IIT Bombay - FOSSEE
+//
+// 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
+// Author: Siddhesh Wani
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
+
+#ifndef __INT_PERMUTE_H__
+#define __INT_PERMUTE_H__
+
+
+#ifdef __cplusplus
+#extern "C" {
+#endif
+
+#define d2d2permuted2(in1, size1, in2, size2, out) (if(in2[0]==1)?in1: \
+ dtransposea(in1, size1[0],size1[1],out))
+
+#ifdef __cplusplus
+#} /* extern "C" */
+#endif
+
+#endif /*__INT_FLIPDIM_H__*/