summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/matrixOperations/includes
diff options
context:
space:
mode:
authorsiddhu89902016-06-06 09:18:33 +0530
committersiddhu89902016-06-06 09:18:33 +0530
commitf08e63e652a564b3f805b69c05948e497c7b28f6 (patch)
treed8f4bcc4dc02c668ec38745eaf867dd365fd9992 /2.3-1/src/c/matrixOperations/includes
parent49003250e69e4e500742614888e47db789bbe451 (diff)
downloadScilab2C-f08e63e652a564b3f805b69c05948e497c7b28f6.tar.gz
Scilab2C-f08e63e652a564b3f805b69c05948e497c7b28f6.tar.bz2
Scilab2C-f08e63e652a564b3f805b69c05948e497c7b28f6.zip
File handling functions added
Diffstat (limited to '2.3-1/src/c/matrixOperations/includes')
-rw-r--r--2.3-1/src/c/matrixOperations/includes/cumprod.h27
-rw-r--r--2.3-1/src/c/matrixOperations/includes/cumsum.h27
-rw-r--r--2.3-1/src/c/matrixOperations/includes/flipdim.h27
-rw-r--r--2.3-1/src/c/matrixOperations/includes/kron.h25
-rw-r--r--2.3-1/src/c/matrixOperations/includes/tril.h25
-rw-r--r--2.3-1/src/c/matrixOperations/includes/triu.h25
6 files changed, 81 insertions, 75 deletions
diff --git a/2.3-1/src/c/matrixOperations/includes/cumprod.h b/2.3-1/src/c/matrixOperations/includes/cumprod.h
index bc08abaa..f47fd77a 100644
--- a/2.3-1/src/c/matrixOperations/includes/cumprod.h
+++ b/2.3-1/src/c/matrixOperations/includes/cumprod.h
@@ -1,14 +1,15 @@
-// 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
-
+/* 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 __CUMPROD_H__
#define __CUMPROD_H__
@@ -16,7 +17,7 @@
#include "types.h"
#ifdef __cplusplus
-#extern "C" {
+extern "C" {
#endif
void dcumproda(double *in1, int row, int column, double *out);
@@ -46,7 +47,7 @@ void i16columncumproda(int16 *in1, int row, int column, int16 *out);
#ifdef __cplusplus
-#} /* extern "C" */
+} /* extern "C" */
#endif
#endif /*__CUMPROD_H__*/
diff --git a/2.3-1/src/c/matrixOperations/includes/cumsum.h b/2.3-1/src/c/matrixOperations/includes/cumsum.h
index 4c6a3b37..24d81bdf 100644
--- a/2.3-1/src/c/matrixOperations/includes/cumsum.h
+++ b/2.3-1/src/c/matrixOperations/includes/cumsum.h
@@ -1,14 +1,15 @@
-// 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
-
+/* 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 __CUMSUM_H__
#define __CUMSUM_H__
@@ -16,7 +17,7 @@
#include "types.h"
#ifdef __cplusplus
-#extern "C" {
+extern "C" {
#endif
void dcumsuma(double *in1, int row, int column, double *out);
@@ -46,7 +47,7 @@ void i16columncumsuma(int16 *in1, int row, int column, int16 *out);
#ifdef __cplusplus
-#} /* extern "C" */
+} /* extern "C" */
#endif
#endif /*__CUMSUM_H__*/
diff --git a/2.3-1/src/c/matrixOperations/includes/flipdim.h b/2.3-1/src/c/matrixOperations/includes/flipdim.h
index c6dd91d5..bdf4a688 100644
--- a/2.3-1/src/c/matrixOperations/includes/flipdim.h
+++ b/2.3-1/src/c/matrixOperations/includes/flipdim.h
@@ -1,14 +1,15 @@
-// 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
-
+/* 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 __FLIPDIM_H__
#define __FLIPDIM_H__
@@ -17,7 +18,7 @@
#ifdef __cplusplus
-#extern "C" {
+extern "C" {
#endif
void dflipdima (double *in, int row, int col, int dim, int blk_size, double *out);
@@ -33,7 +34,7 @@ void u16flipdima (uint16 *in, int row, int col, int dim, int blk_size, uint16 *o
void i16flipdima (int16 *in, int row, int col, int dim, int blk_size, int16 *out);
#ifdef __cplusplus
-#} /* extern "C" */
+} /* extern "C" */
#endif
#endif /*__FLIPDIM_H__*/
diff --git a/2.3-1/src/c/matrixOperations/includes/kron.h b/2.3-1/src/c/matrixOperations/includes/kron.h
index f635d5e0..e4cff2dc 100644
--- a/2.3-1/src/c/matrixOperations/includes/kron.h
+++ b/2.3-1/src/c/matrixOperations/includes/kron.h
@@ -1,14 +1,15 @@
-// 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
+/* 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 __KRON_H__
#define __KRON_H__
@@ -16,7 +17,7 @@
#include "kron.h"
#ifdef __cplusplus
-#extern "C" {
+extern "C" {
#endif
void dkrona (double *in1, int row1, int col1, double *in2, int row2, \
@@ -25,7 +26,7 @@ void skrona (float *in1, int row1, int col1, float *in2, int row2, \
int col2, float *out);
#ifdef __cplusplus
-#} /* extern "C" */
+} /* extern "C" */
#endif
#endif /*__KRON_H__*/
diff --git a/2.3-1/src/c/matrixOperations/includes/tril.h b/2.3-1/src/c/matrixOperations/includes/tril.h
index e61a3b72..486e81f9 100644
--- a/2.3-1/src/c/matrixOperations/includes/tril.h
+++ b/2.3-1/src/c/matrixOperations/includes/tril.h
@@ -1,14 +1,15 @@
-// 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
+/* 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 __TRIL_H__
#define __TRIL_H__
@@ -16,7 +17,7 @@
#include "types.h"
#ifdef __cplusplus
-#extern "C" {
+extern "C" {
#endif
void dtrila (double *in, int row, int column, double diag, double *out);
@@ -27,7 +28,7 @@ void i8trila (int8 *in, int row, int column, double diag, int8 *out);
void i16trila (int16 *in, int row, int column, double diag, int16 *out);
#ifdef __cplusplus
-#} /* extern "C" */
+} /* extern "C" */
#endif
#endif /*__TRIL_H__*/
diff --git a/2.3-1/src/c/matrixOperations/includes/triu.h b/2.3-1/src/c/matrixOperations/includes/triu.h
index 1dda2794..2b62e22b 100644
--- a/2.3-1/src/c/matrixOperations/includes/triu.h
+++ b/2.3-1/src/c/matrixOperations/includes/triu.h
@@ -1,14 +1,15 @@
-// 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
+/* 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 __TRIU_H__
#define __TRIU_H__
@@ -16,7 +17,7 @@
#include "types.h"
#ifdef __cplusplus
-#extern "C" {
+extern "C" {
#endif
void dtriua (double *in, int row, int column, double diag, double *out);
@@ -27,7 +28,7 @@ void i8triua (int8 *in, int row, int column, double diag, int8 *out);
void i16triua (int16 *in, int row, int column, double diag, int16 *out);
#ifdef __cplusplus
-#} /* extern "C" */
+} /* extern "C" */
#endif
#endif /*__TRIU_H__*/