summaryrefslogtreecommitdiff
path: root/src/c/matrixOperations/tril
diff options
context:
space:
mode:
authorsiddhu89902016-06-06 09:18:33 +0530
committersiddhu89902016-06-06 09:18:33 +0530
commitc75fb67154fb5679d6ede9a52d5f5ae15600f9f9 (patch)
treec2c950617ab555a0fa74a4f7e0c592ec80bcf3bd /src/c/matrixOperations/tril
parent212c54043e454e41ca4b23a5b965d4dbd4b683fe (diff)
downloadScilab2C_fossee_old-c75fb67154fb5679d6ede9a52d5f5ae15600f9f9.tar.gz
Scilab2C_fossee_old-c75fb67154fb5679d6ede9a52d5f5ae15600f9f9.tar.bz2
Scilab2C_fossee_old-c75fb67154fb5679d6ede9a52d5f5ae15600f9f9.zip
File handling functions added
Diffstat (limited to 'src/c/matrixOperations/tril')
-rw-r--r--src/c/matrixOperations/tril/dtrila.c24
-rw-r--r--src/c/matrixOperations/tril/i16trila.c23
-rw-r--r--src/c/matrixOperations/tril/i8trila.c23
-rw-r--r--src/c/matrixOperations/tril/strila.c23
-rw-r--r--src/c/matrixOperations/tril/u16trila.c24
-rw-r--r--src/c/matrixOperations/tril/u8trila.c23
6 files changed, 74 insertions, 66 deletions
diff --git a/src/c/matrixOperations/tril/dtrila.c b/src/c/matrixOperations/tril/dtrila.c
index b727e5c..b16d7e5 100644
--- a/src/c/matrixOperations/tril/dtrila.c
+++ b/src/c/matrixOperations/tril/dtrila.c
@@ -1,15 +1,17 @@
-// 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
-//Function to extract lower triagular entries from given matrix
+ 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
+*/
+
+/*Function to extract lower triagular entries from given matrix*/
+
#include "triu.h"
void dtrila (double *in, int row, int column, double diag, double *out)
diff --git a/src/c/matrixOperations/tril/i16trila.c b/src/c/matrixOperations/tril/i16trila.c
index e17b361..5253647 100644
--- a/src/c/matrixOperations/tril/i16trila.c
+++ b/src/c/matrixOperations/tril/i16trila.c
@@ -1,15 +1,16 @@
-// 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
-//Function to extract lower triagular entries from given matrix
+ 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
+*/
+
+/*Function to extract lower triagular entries from given matrix*/
#include "triu.h"
diff --git a/src/c/matrixOperations/tril/i8trila.c b/src/c/matrixOperations/tril/i8trila.c
index a91594a..f361c64 100644
--- a/src/c/matrixOperations/tril/i8trila.c
+++ b/src/c/matrixOperations/tril/i8trila.c
@@ -1,15 +1,16 @@
-// 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
-//Function to extract lower triagular entries from given matrix
+ 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
+*/
+
+/*Function to extract lower triagular entries from given matrix*/
#include "triu.h"
diff --git a/src/c/matrixOperations/tril/strila.c b/src/c/matrixOperations/tril/strila.c
index f588089..d086936 100644
--- a/src/c/matrixOperations/tril/strila.c
+++ b/src/c/matrixOperations/tril/strila.c
@@ -1,15 +1,16 @@
-// 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
-//Function to extract lower triagular entries from given matrix
+ 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
+*/
+
+/*Function to extract lower triagular entries from given matrix*/
#include "triu.h"
diff --git a/src/c/matrixOperations/tril/u16trila.c b/src/c/matrixOperations/tril/u16trila.c
index d697418..23d86cd 100644
--- a/src/c/matrixOperations/tril/u16trila.c
+++ b/src/c/matrixOperations/tril/u16trila.c
@@ -1,15 +1,17 @@
-// 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
-//Function to extract lower triagular entries from given matrix
+ 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
+*/
+
+/*Function to extract lower triagular entries from given matrix*/
+
#include "triu.h"
void u16trila (uint16 *in, int row, int column, double diag, uint16 *out)
diff --git a/src/c/matrixOperations/tril/u8trila.c b/src/c/matrixOperations/tril/u8trila.c
index ebc4d72..e80c05c 100644
--- a/src/c/matrixOperations/tril/u8trila.c
+++ b/src/c/matrixOperations/tril/u8trila.c
@@ -1,15 +1,16 @@
-// 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
-//Function to extract lower triagular entries from given matrix
+ 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
+*/
+
+/*Function to extract lower triagular entries from given matrix*/
#include "triu.h"