summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/auxiliaryFunctions/abs/cabsa.c20
-rw-r--r--src/auxiliaryFunctions/abs/dabsa.c20
-rw-r--r--src/auxiliaryFunctions/abs/dabss.c20
-rw-r--r--src/auxiliaryFunctions/abs/sabsa.c20
-rw-r--r--src/auxiliaryFunctions/abs/sabss.c20
-rw-r--r--src/auxiliaryFunctions/abs/testAbs.h21
-rw-r--r--src/auxiliaryFunctions/abs/zabsa.c20
-rw-r--r--src/auxiliaryFunctions/conj/cconja.c6
-rw-r--r--src/auxiliaryFunctions/conj/cconjs.c2
-rw-r--r--src/auxiliaryFunctions/conj/testConj.c24
-rw-r--r--src/auxiliaryFunctions/conj/zconja.c6
-rw-r--r--src/auxiliaryFunctions/conj/zconjs.c2
-rw-r--r--src/auxiliaryFunctions/find/cfinda.c20
-rw-r--r--src/auxiliaryFunctions/find/dfinda.c20
-rw-r--r--src/auxiliaryFunctions/find/sfinda.c20
-rw-r--r--src/auxiliaryFunctions/find/testFind.c20
-rw-r--r--src/auxiliaryFunctions/find/testFind.h21
-rw-r--r--src/auxiliaryFunctions/find/zfinda.c20
-rw-r--r--src/auxiliaryFunctions/frexp/dfrexps.c2
-rw-r--r--src/auxiliaryFunctions/frexp/sfrexps.c2
-rw-r--r--src/auxiliaryFunctions/frexp/testFrexp.c50
-rw-r--r--src/auxiliaryFunctions/includes/find.h20
-rw-r--r--src/auxiliaryFunctions/includes/isempty.h20
-rw-r--r--src/auxiliaryFunctions/includes/isnan.h20
-rw-r--r--src/auxiliaryFunctions/includes/rand.h20
-rw-r--r--src/auxiliaryFunctions/interfaces/int_abs.h4
-rw-r--r--src/auxiliaryFunctions/interfaces/int_length.h6
-rw-r--r--src/auxiliaryFunctions/interfaces/int_rand.h6
-rw-r--r--src/auxiliaryFunctions/interfaces/int_sqrt.h6
-rw-r--r--src/auxiliaryFunctions/isempty/cisemptya.c20
-rw-r--r--src/auxiliaryFunctions/isempty/disemptya.c20
-rw-r--r--src/auxiliaryFunctions/isempty/sisemptya.c20
-rw-r--r--src/auxiliaryFunctions/isempty/testIsEmpty.c20
-rw-r--r--src/auxiliaryFunctions/isempty/testIsEmpty.h20
-rw-r--r--src/auxiliaryFunctions/isempty/zisemptya.c20
-rw-r--r--src/auxiliaryFunctions/isnan/cisnans.c20
-rw-r--r--src/auxiliaryFunctions/isnan/disnans.c20
-rw-r--r--src/auxiliaryFunctions/isnan/sisnans.c20
-rw-r--r--src/auxiliaryFunctions/isnan/testIsNan.h20
-rw-r--r--src/auxiliaryFunctions/isnan/zisnans.c20
-rw-r--r--src/auxiliaryFunctions/rand/cranda.c20
-rw-r--r--src/auxiliaryFunctions/rand/crands.c20
-rw-r--r--src/auxiliaryFunctions/rand/dranda.c20
-rw-r--r--src/auxiliaryFunctions/rand/drands.c20
-rw-r--r--src/auxiliaryFunctions/rand/sranda.c20
-rw-r--r--src/auxiliaryFunctions/rand/srands.c20
-rw-r--r--src/auxiliaryFunctions/rand/testRand.h20
-rw-r--r--src/auxiliaryFunctions/rand/zranda.c20
-rw-r--r--src/auxiliaryFunctions/rand/zrands.c20
49 files changed, 430 insertions, 428 deletions
diff --git a/src/auxiliaryFunctions/abs/cabsa.c b/src/auxiliaryFunctions/abs/cabsa.c
index a7d41efc..cacf4273 100644
--- a/src/auxiliaryFunctions/abs/cabsa.c
+++ b/src/auxiliaryFunctions/abs/cabsa.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** cabsa.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Wed Apr 25 13:23:20 2007 jofret
-** Last update Mon Oct 22 10:46:16 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "abs.h"
diff --git a/src/auxiliaryFunctions/abs/dabsa.c b/src/auxiliaryFunctions/abs/dabsa.c
index 5081fa25..edff9910 100644
--- a/src/auxiliaryFunctions/abs/dabsa.c
+++ b/src/auxiliaryFunctions/abs/dabsa.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** dabsa.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Wed Apr 25 11:17:25 2007 jofret
-** Last update Mon Oct 22 10:45:56 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "abs.h"
diff --git a/src/auxiliaryFunctions/abs/dabss.c b/src/auxiliaryFunctions/abs/dabss.c
index 16f04773..5be86cd1 100644
--- a/src/auxiliaryFunctions/abs/dabss.c
+++ b/src/auxiliaryFunctions/abs/dabss.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** sabss.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Thu Feb 8 10:26:22 2007 jofret
-** Last update Fri Apr 20 15:56:25 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "abs.h"
diff --git a/src/auxiliaryFunctions/abs/sabsa.c b/src/auxiliaryFunctions/abs/sabsa.c
index df5af141..406afc59 100644
--- a/src/auxiliaryFunctions/abs/sabsa.c
+++ b/src/auxiliaryFunctions/abs/sabsa.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** sabsa.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Wed Apr 25 10:53:09 2007 jofret
-** Last update Mon Oct 22 10:45:22 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - 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 "abs.h"
diff --git a/src/auxiliaryFunctions/abs/sabss.c b/src/auxiliaryFunctions/abs/sabss.c
index e567b210..802951e6 100644
--- a/src/auxiliaryFunctions/abs/sabss.c
+++ b/src/auxiliaryFunctions/abs/sabss.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** sabss.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Thu Feb 8 10:26:22 2007 jofret
-** Last update Fri Apr 20 15:56:37 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007 - 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 "abs.h"
diff --git a/src/auxiliaryFunctions/abs/testAbs.h b/src/auxiliaryFunctions/abs/testAbs.h
index 7a23998e..c334f678 100644
--- a/src/auxiliaryFunctions/abs/testAbs.h
+++ b/src/auxiliaryFunctions/abs/testAbs.h
@@ -1,14 +1,15 @@
/*
-** -*- C -*-
-**
-** testAbs.h
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Mon Apr 23 16:26:14 2007 jofret
-** Last update Wed Apr 25 13:35:16 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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
+ *
+ */
+
#ifndef _TESTABS_H_
#define _TESTABS_H_
diff --git a/src/auxiliaryFunctions/abs/zabsa.c b/src/auxiliaryFunctions/abs/zabsa.c
index 56b24ce9..2b73432e 100644
--- a/src/auxiliaryFunctions/abs/zabsa.c
+++ b/src/auxiliaryFunctions/abs/zabsa.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** zabsa.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Wed Apr 25 13:24:43 2007 jofret
-** Last update Mon Oct 22 10:47:00 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "abs.h"
diff --git a/src/auxiliaryFunctions/conj/cconja.c b/src/auxiliaryFunctions/conj/cconja.c
index 490d3681..a975f4cf 100644
--- a/src/auxiliaryFunctions/conj/cconja.c
+++ b/src/auxiliaryFunctions/conj/cconja.c
@@ -13,10 +13,10 @@
#include "conj.h"
void cconja ( floatComplex* in , int size, floatComplex* out ){
-
+
int i = 0 ;
-
+
for ( i =0 ; i < size ; i++ )
out[i] = cconjs ( in[i]);
-
+
}
diff --git a/src/auxiliaryFunctions/conj/cconjs.c b/src/auxiliaryFunctions/conj/cconjs.c
index 55f94452..c6aed15b 100644
--- a/src/auxiliaryFunctions/conj/cconjs.c
+++ b/src/auxiliaryFunctions/conj/cconjs.c
@@ -14,5 +14,5 @@
floatComplex cconjs ( floatComplex in )
{
- return FloatComplex ( creals ( in ) ,- cimags( in ));
+ return FloatComplex ( creals ( in ) ,- cimags( in ));
}
diff --git a/src/auxiliaryFunctions/conj/testConj.c b/src/auxiliaryFunctions/conj/testConj.c
index 3e71ac46..bdb443fc 100644
--- a/src/auxiliaryFunctions/conj/testConj.c
+++ b/src/auxiliaryFunctions/conj/testConj.c
@@ -64,59 +64,59 @@
0.3907764498144388198853}
-static void cconjsTest ( void )
+static void cconjsTest ( void )
{
float realin = 0.126244857f;
float imagin = -0.47864959f;
floatComplex in = FloatComplex ( realin , imagin );
-
+
assert ( fabs ( creals ( in ) - realin ) / fabs( creals (in)) < 1e-06 );
assert ( fabs ( cimags ( in ) - imagin ) / fabs( cimags (in)) < 1e-06 );
}
-static void cconjaTest ( void )
+static void cconjaTest ( void )
{
int i = 0 ;
float tin [] = FMATRIX ;
floatComplex* in = FloatComplexMatrix ( tin , tin , SIZE );
floatComplex out[100] ;
-
+
cconja ( in , SIZE , out ) ;
-
+
for ( i = 0 ; i < SIZE ; i++ )
{
assert ( fabs ( creals ( in[i] ) - tin[i] ) / fabs( creals (in[i])) < 1e-06 );
assert ( fabs ( cimags ( in[i] ) - tin[i] ) / fabs( cimags (in[i])) < 1e-06 );
}
-
+
}
-static void zconjsTest ( void )
+static void zconjsTest ( void )
{
double realin = 0.126244857788445;
double imagin = -0.47864959451267;
doubleComplex in = DoubleComplex ( realin , imagin );
-
+
assert ( fabs ( zreals ( in ) - realin ) / fabs( zreals (in)) < 1e-16 );
assert ( fabs ( zimags ( in ) - imagin ) / fabs( zimags (in)) < 1e-16 );
}
-static void zconjaTest ( void )
+static void zconjaTest ( void )
{
int i = 0 ;
double tin [] = DMATRIX ;
doubleComplex* in = DoubleComplexMatrix ( tin , tin , SIZE );
doubleComplex out[100] ;
-
+
zconja ( in , SIZE , out ) ;
-
+
for ( i = 0 ; i < SIZE ; i++ )
{
assert ( fabs ( zreals ( in[i] ) - tin[i] ) / fabs( zreals (in[i])) < 1e-16 );
assert ( fabs ( zimags ( in[i] ) - tin[i] ) / fabs( zimags (in[i])) < 1e-16 );
}
-
+
}
static int testConj (void) {
diff --git a/src/auxiliaryFunctions/conj/zconja.c b/src/auxiliaryFunctions/conj/zconja.c
index 4f937f3c..2c939f72 100644
--- a/src/auxiliaryFunctions/conj/zconja.c
+++ b/src/auxiliaryFunctions/conj/zconja.c
@@ -13,10 +13,10 @@
#include "conj.h"
void zconja ( doubleComplex* in , int size, doubleComplex* out ){
-
+
int i = 0 ;
-
+
for ( i =0 ; i < size ; i++ )
out[i] = zconjs ( in[i]);
-
+
}
diff --git a/src/auxiliaryFunctions/conj/zconjs.c b/src/auxiliaryFunctions/conj/zconjs.c
index e58d4d75..b98f46d3 100644
--- a/src/auxiliaryFunctions/conj/zconjs.c
+++ b/src/auxiliaryFunctions/conj/zconjs.c
@@ -14,5 +14,5 @@
doubleComplex zconjs ( doubleComplex in )
{
- return DoubleComplex ( zreals ( in ) ,- zimags( in ));
+ return DoubleComplex ( zreals ( in ) ,- zimags( in ));
}
diff --git a/src/auxiliaryFunctions/find/cfinda.c b/src/auxiliaryFunctions/find/cfinda.c
index bef2ccea..75a621c3 100644
--- a/src/auxiliaryFunctions/find/cfinda.c
+++ b/src/auxiliaryFunctions/find/cfinda.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** cfinda.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Tue Feb 13 16:46:42 2007 jofret
-** Last update Mon Oct 22 15:45:30 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "find.h"
diff --git a/src/auxiliaryFunctions/find/dfinda.c b/src/auxiliaryFunctions/find/dfinda.c
index fbe9ae59..b347d771 100644
--- a/src/auxiliaryFunctions/find/dfinda.c
+++ b/src/auxiliaryFunctions/find/dfinda.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** dfinda.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Tue Feb 13 16:52:23 2007 jofret
-** Last update Tue Apr 24 16:46:12 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "find.h"
diff --git a/src/auxiliaryFunctions/find/sfinda.c b/src/auxiliaryFunctions/find/sfinda.c
index e303de87..f038c9c9 100644
--- a/src/auxiliaryFunctions/find/sfinda.c
+++ b/src/auxiliaryFunctions/find/sfinda.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** sfinda.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Tue Feb 13 16:53:03 2007 jofret
-** Last update Tue Apr 24 16:40:06 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "find.h"
diff --git a/src/auxiliaryFunctions/find/testFind.c b/src/auxiliaryFunctions/find/testFind.c
index 7ed7a908..f191b368 100644
--- a/src/auxiliaryFunctions/find/testFind.c
+++ b/src/auxiliaryFunctions/find/testFind.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** testFind.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Wed Feb 14 15:50:15 2007 jofret
-** Last update Mon Oct 22 15:47:15 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "testFind.h"
diff --git a/src/auxiliaryFunctions/find/testFind.h b/src/auxiliaryFunctions/find/testFind.h
index 56d7d67a..1b257e79 100644
--- a/src/auxiliaryFunctions/find/testFind.h
+++ b/src/auxiliaryFunctions/find/testFind.h
@@ -1,14 +1,15 @@
/*
-** -*- C -*-
-**
-** testFind.h
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Mon Apr 23 16:26:14 2007 jofret
-** Last update Tue Apr 24 16:04:28 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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
+ *
+ */
+
#ifndef _TESTFIND_H_
#define _TESTFIND_H_
diff --git a/src/auxiliaryFunctions/find/zfinda.c b/src/auxiliaryFunctions/find/zfinda.c
index 5b189d9d..e01d42ca 100644
--- a/src/auxiliaryFunctions/find/zfinda.c
+++ b/src/auxiliaryFunctions/find/zfinda.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** zfinda.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Tue Feb 13 16:51:44 2007 jofret
-** Last update Mon Oct 22 15:45:46 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "find.h"
diff --git a/src/auxiliaryFunctions/frexp/dfrexps.c b/src/auxiliaryFunctions/frexp/dfrexps.c
index fb4b31eb..04d05be4 100644
--- a/src/auxiliaryFunctions/frexp/dfrexps.c
+++ b/src/auxiliaryFunctions/frexp/dfrexps.c
@@ -10,7 +10,7 @@
*
*/
-#include "frexp.h"
+#include "frexp.h"
double dfrexps(double _dblVal, double *_pdblExp)
{
diff --git a/src/auxiliaryFunctions/frexp/sfrexps.c b/src/auxiliaryFunctions/frexp/sfrexps.c
index 95571187..b15095e3 100644
--- a/src/auxiliaryFunctions/frexp/sfrexps.c
+++ b/src/auxiliaryFunctions/frexp/sfrexps.c
@@ -10,7 +10,7 @@
*
*/
-#include "frexp.h"
+#include "frexp.h"
float sfrexps(float _fltVal, float *_pfltExp)
{
diff --git a/src/auxiliaryFunctions/frexp/testFrexp.c b/src/auxiliaryFunctions/frexp/testFrexp.c
index fcb80bd5..afe65f65 100644
--- a/src/auxiliaryFunctions/frexp/testFrexp.c
+++ b/src/auxiliaryFunctions/frexp/testFrexp.c
@@ -78,64 +78,64 @@
#include <assert.h>
#include <stdio.h>
-#include "frexp.h"
-#include "pow.h"
+#include "frexp.h"
+#include "pow.h"
static void dfrexpsTest ( void ) {
int i = 0 ;
-
+
double out = 0 ;
double dexp = 0 ;
double result = 0;
-
-
+
+
double in[] = DMATRIX_TEST ;
-
-
-
-
+
+
+
+
for ( i = 0 ; i < SIZE; i++ )
{
out = dfrexps ( in[i] , &dexp ) ;
result = out * dpows( 2 , dexp) ;
-
- printf ( "\t\t %d in :%e %e\tresult : %e\tassert : %e \n" , i , dexp, in[i] , result , fabs( in[i] - result) / fabs( in[i]) ) ;
+
+ printf ( "\t\t %d in :%e %e\tresult : %e\tassert : %e \n" , i , dexp, in[i] , result , fabs( in[i] - result) / fabs( in[i]) ) ;
assert ( fabs ( in[i] - result) / fabs( in[i]) < 1e-14 ) ;
}
-
+
}
static void sfrexpsTest ( void ) {
int i = 0 ;
-
+
float out = 0 ;
float fexp = 0 ;
float result = 0;
-
-
+
+
float in[] = FMATRIX_TEST ;
-
-
-
-
+
+
+
+
for ( i = 0 ; i < SIZE; i++ )
{
out = sfrexps ( in[i] , &fexp ) ;
result = out * spows( 2.0f , fexp) ;
-
- printf ( "\t\t %d in : %e\tresult : %e\tassert : %e \n" , i , in[i] , result , fabs( in[i] - result) / fabs( in[i]) ) ;
+
+ printf ( "\t\t %d in : %e\tresult : %e\tassert : %e \n" , i , in[i] , result , fabs( in[i] - result) / fabs( in[i]) ) ;
assert ( fabs ( in[i] - result) / fabs( in[i]) < 1e-6 ) ;
}
-
+
}
@@ -143,12 +143,12 @@ static void sfrexpsTest ( void ) {
static int testFrexp(void) {
printf("\n>>>> Matrix Exponential Tests\n");
- printf("\t>>>> Matrix Double Realt Tests\n");
+ printf("\t>>>> Matrix Double Realt Tests\n");
dfrexpsTest();
- printf("\n\n\t>>>> Matrix Float Realt Tests\n");
+ printf("\n\n\t>>>> Matrix Float Realt Tests\n");
sfrexpsTest();
-
+
return 0;
}
diff --git a/src/auxiliaryFunctions/includes/find.h b/src/auxiliaryFunctions/includes/find.h
index 79b81f38..2389cb7d 100644
--- a/src/auxiliaryFunctions/includes/find.h
+++ b/src/auxiliaryFunctions/includes/find.h
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** find.h
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Thu Feb 8 10:12:17 2007 jofret
-** Last update Fri Feb 23 17:57:04 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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
+ *
+ */
#ifndef __FIND_H__
#define __FIND_H__
diff --git a/src/auxiliaryFunctions/includes/isempty.h b/src/auxiliaryFunctions/includes/isempty.h
index 51ebce4b..b02b1b76 100644
--- a/src/auxiliaryFunctions/includes/isempty.h
+++ b/src/auxiliaryFunctions/includes/isempty.h
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** isEmpty.h
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Thu Feb 8 10:12:17 2007 jofret
-** Last update Fri Apr 27 08:57:49 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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
+ *
+ */
#ifndef __IS_EMPTY_H__
#define __IS_EMPTY_H__
diff --git a/src/auxiliaryFunctions/includes/isnan.h b/src/auxiliaryFunctions/includes/isnan.h
index e7ed1583..91796d2b 100644
--- a/src/auxiliaryFunctions/includes/isnan.h
+++ b/src/auxiliaryFunctions/includes/isnan.h
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** isnan.h
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Thu Feb 8 10:12:17 2007 jofret
-** Last update Thu Apr 26 17:10:23 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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
+ *
+ */
#ifndef __IS_NAN_H__
#define __IS_NAN_H__
diff --git a/src/auxiliaryFunctions/includes/rand.h b/src/auxiliaryFunctions/includes/rand.h
index 8595af72..1c6fc727 100644
--- a/src/auxiliaryFunctions/includes/rand.h
+++ b/src/auxiliaryFunctions/includes/rand.h
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** rand.h
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Thu Feb 8 10:12:17 2007 jofret
-** Last update Fri Sep 7 16:12:18 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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
+ *
+ */
#ifndef __RAND_H__
#define __RAND_H__
diff --git a/src/auxiliaryFunctions/interfaces/int_abs.h b/src/auxiliaryFunctions/interfaces/int_abs.h
index 026cacf7..f706983f 100644
--- a/src/auxiliaryFunctions/interfaces/int_abs.h
+++ b/src/auxiliaryFunctions/interfaces/int_abs.h
@@ -1,11 +1,11 @@
/*
* 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
+ * are also available at
* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
*
*/
diff --git a/src/auxiliaryFunctions/interfaces/int_length.h b/src/auxiliaryFunctions/interfaces/int_length.h
index 29546f5b..fe84a92a 100644
--- a/src/auxiliaryFunctions/interfaces/int_length.h
+++ b/src/auxiliaryFunctions/interfaces/int_length.h
@@ -7,17 +7,17 @@
**
** Copyright POLIBA 2008
*/
-/*
+/*
1. Search for length in INIT_FillSCI2LibCDirs.sci
2. Search for // --- Function List Class. --- in INIT_FillSCI2LibCDirs.sci
- 3. You will find
+ 3. You will find
PrintStringInfo('s0'+ArgSeparator+'s0',ClassFileName,'file','y');
PrintStringInfo('d0'+ArgSeparator+'d0',ClassFileName,'file','y');
PrintStringInfo('c0'+ArgSeparator+'s0',ClassFileName,'file','y');
PrintStringInfo('z0'+ArgSeparator+'d0',ClassFileName,'file','y');
PrintStringInfo('g0'+ArgSeparator+'s0',ClassFileName,'file','y');
PrintStringInfo('g0'+ArgSeparator+'d0',ClassFileName,'file','y');
-
+
PrintStringInfo('s2'+ArgSeparator+'s0',ClassFileName,'file','y');
PrintStringInfo('d2'+ArgSeparator+'d0',ClassFileName,'file','y');
PrintStringInfo('c2'+ArgSeparator+'s0',ClassFileName,'file','y');
diff --git a/src/auxiliaryFunctions/interfaces/int_rand.h b/src/auxiliaryFunctions/interfaces/int_rand.h
index 6bad208a..1ce248a9 100644
--- a/src/auxiliaryFunctions/interfaces/int_rand.h
+++ b/src/auxiliaryFunctions/interfaces/int_rand.h
@@ -1,15 +1,15 @@
/*
* 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
+ * are also available at
* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
*
*/
-/* ADDED BY NUTRICATO, BUT WAITING FOR THE AUTOMATIC GENERATION OF IT
+/* ADDED BY NUTRICATO, BUT WAITING FOR THE AUTOMATIC GENERATION OF IT
AS SHOWN BELOW MANY CASES ARE MISSING. SCALAR RANDOM GENERATOR NOT
IMPLEMENTED YET, SEE DRANDS.C
*/
diff --git a/src/auxiliaryFunctions/interfaces/int_sqrt.h b/src/auxiliaryFunctions/interfaces/int_sqrt.h
index e8bd7e97..5848686a 100644
--- a/src/auxiliaryFunctions/interfaces/int_sqrt.h
+++ b/src/auxiliaryFunctions/interfaces/int_sqrt.h
@@ -7,17 +7,17 @@
**
** Copyright POLIBA 2008
*/
-/*
+/*
1. Search for sqrt in INIT_FillSCI2LibCDirs.sci
2. Search for // --- Function List Class. --- in INIT_FillSCI2LibCDirs.sci
- 3. You will find
+ 3. You will find
PrintStringInfo('s0'+ArgSeparator+'s0',ClassFileName,'file','y');
PrintStringInfo('s0'+ArgSeparator+'c0',ClassFileName,'file','y');
PrintStringInfo('d0'+ArgSeparator+'d0',ClassFileName,'file','y');
PrintStringInfo('d0'+ArgSeparator+'z0',ClassFileName,'file','y');
PrintStringInfo('c0'+ArgSeparator+'c0',ClassFileName,'file','y');
PrintStringInfo('z0'+ArgSeparator+'z0',ClassFileName,'file','y');
-
+
PrintStringInfo('s2'+ArgSeparator+'s2',ClassFileName,'file','y');
PrintStringInfo('s2'+ArgSeparator+'c2',ClassFileName,'file','y');
PrintStringInfo('d2'+ArgSeparator+'d2',ClassFileName,'file','y');
diff --git a/src/auxiliaryFunctions/isempty/cisemptya.c b/src/auxiliaryFunctions/isempty/cisemptya.c
index 7c4b60e6..5164fc02 100644
--- a/src/auxiliaryFunctions/isempty/cisemptya.c
+++ b/src/auxiliaryFunctions/isempty/cisemptya.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** cisemptya.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Wed Feb 14 15:33:30 2007 jofret
-** Last update Fri Apr 27 08:58:40 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "isempty.h"
diff --git a/src/auxiliaryFunctions/isempty/disemptya.c b/src/auxiliaryFunctions/isempty/disemptya.c
index 821b944a..8129b981 100644
--- a/src/auxiliaryFunctions/isempty/disemptya.c
+++ b/src/auxiliaryFunctions/isempty/disemptya.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** disemptya.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Wed Feb 14 15:29:27 2007 jofret
-** Last update Fri Apr 27 08:58:55 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "isempty.h"
diff --git a/src/auxiliaryFunctions/isempty/sisemptya.c b/src/auxiliaryFunctions/isempty/sisemptya.c
index 4040720e..61301032 100644
--- a/src/auxiliaryFunctions/isempty/sisemptya.c
+++ b/src/auxiliaryFunctions/isempty/sisemptya.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** sisemptya.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Wed Feb 14 14:59:33 2007 jofret
-** Last update Fri Apr 27 08:59:07 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "isempty.h"
diff --git a/src/auxiliaryFunctions/isempty/testIsEmpty.c b/src/auxiliaryFunctions/isempty/testIsEmpty.c
index 372ea976..9dbc41a5 100644
--- a/src/auxiliaryFunctions/isempty/testIsEmpty.c
+++ b/src/auxiliaryFunctions/isempty/testIsEmpty.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** testIsEmpty.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Wed Feb 14 16:07:57 2007 jofret
-** Last update Mon Oct 22 15:56:12 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "testIsEmpty.h"
diff --git a/src/auxiliaryFunctions/isempty/testIsEmpty.h b/src/auxiliaryFunctions/isempty/testIsEmpty.h
index 545801ad..6e3726ae 100644
--- a/src/auxiliaryFunctions/isempty/testIsEmpty.h
+++ b/src/auxiliaryFunctions/isempty/testIsEmpty.h
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** testIsEmpty.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Wed Feb 14 16:07:57 2007 jofret
-** Last update Fri Apr 27 08:59:49 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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
+ *
+ */
#ifndef __TESTISEMPTY_H__
#define __TESTISEMPTY_H__
diff --git a/src/auxiliaryFunctions/isempty/zisemptya.c b/src/auxiliaryFunctions/isempty/zisemptya.c
index 3cdb8cf6..2180fe25 100644
--- a/src/auxiliaryFunctions/isempty/zisemptya.c
+++ b/src/auxiliaryFunctions/isempty/zisemptya.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** zisemptya.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Wed Feb 14 15:34:28 2007 jofret
-** Last update Fri Apr 27 09:01:49 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "isempty.h"
diff --git a/src/auxiliaryFunctions/isnan/cisnans.c b/src/auxiliaryFunctions/isnan/cisnans.c
index 9aef26f5..6594499c 100644
--- a/src/auxiliaryFunctions/isnan/cisnans.c
+++ b/src/auxiliaryFunctions/isnan/cisnans.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** cisnans.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Thu Apr 26 15:56:35 2007 jofret
-** Last update Mon May 7 15:44:29 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "isnan.h"
diff --git a/src/auxiliaryFunctions/isnan/disnans.c b/src/auxiliaryFunctions/isnan/disnans.c
index e465c891..b8746100 100644
--- a/src/auxiliaryFunctions/isnan/disnans.c
+++ b/src/auxiliaryFunctions/isnan/disnans.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** disnans.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Thu Apr 26 15:59:20 2007 jofret
-** Last update Thu Apr 26 17:10:50 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "isnan.h"
diff --git a/src/auxiliaryFunctions/isnan/sisnans.c b/src/auxiliaryFunctions/isnan/sisnans.c
index 558dafbe..fd561c71 100644
--- a/src/auxiliaryFunctions/isnan/sisnans.c
+++ b/src/auxiliaryFunctions/isnan/sisnans.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** sisnans.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Thu Apr 26 16:00:34 2007 jofret
-** Last update Thu Apr 26 17:10:56 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "isnan.h"
diff --git a/src/auxiliaryFunctions/isnan/testIsNan.h b/src/auxiliaryFunctions/isnan/testIsNan.h
index 1b5e5292..9bcc4306 100644
--- a/src/auxiliaryFunctions/isnan/testIsNan.h
+++ b/src/auxiliaryFunctions/isnan/testIsNan.h
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** testIsNan.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Wed Feb 14 16:07:57 2007 jofret
-** Last update Mon May 7 11:29:30 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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
+ *
+ */
#ifndef __TESTISNAN_H__
#define __TESTISNAN_H__
diff --git a/src/auxiliaryFunctions/isnan/zisnans.c b/src/auxiliaryFunctions/isnan/zisnans.c
index 93a60b1c..72964356 100644
--- a/src/auxiliaryFunctions/isnan/zisnans.c
+++ b/src/auxiliaryFunctions/isnan/zisnans.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** zisnans.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Thu Apr 26 16:02:19 2007 jofret
-** Last update Thu Apr 26 17:36:44 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "isnan.h"
diff --git a/src/auxiliaryFunctions/rand/cranda.c b/src/auxiliaryFunctions/rand/cranda.c
index 543ea1bb..12dda29e 100644
--- a/src/auxiliaryFunctions/rand/cranda.c
+++ b/src/auxiliaryFunctions/rand/cranda.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** cranda.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Fri Sep 7 16:05:02 2007 bruno
-** Last update Fri Sep 7 16:08:23 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "rand.h"
diff --git a/src/auxiliaryFunctions/rand/crands.c b/src/auxiliaryFunctions/rand/crands.c
index d9734327..82b1a620 100644
--- a/src/auxiliaryFunctions/rand/crands.c
+++ b/src/auxiliaryFunctions/rand/crands.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** crands.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Fri Sep 7 14:32:00 2007 bruno
-** Last update Fri Sep 7 14:32:38 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "rand.h"
diff --git a/src/auxiliaryFunctions/rand/dranda.c b/src/auxiliaryFunctions/rand/dranda.c
index d6be991b..f4678279 100644
--- a/src/auxiliaryFunctions/rand/dranda.c
+++ b/src/auxiliaryFunctions/rand/dranda.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** dranda.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Fri Sep 7 15:55:47 2007 bruno
-** Last update Fri Sep 7 15:59:21 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "rand.h"
diff --git a/src/auxiliaryFunctions/rand/drands.c b/src/auxiliaryFunctions/rand/drands.c
index 749f27c3..5ce70945 100644
--- a/src/auxiliaryFunctions/rand/drands.c
+++ b/src/auxiliaryFunctions/rand/drands.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** drands.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Fri Sep 7 14:27:51 2007 bruno
-** Last update Fri Sep 7 14:31:48 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "rand.h"
diff --git a/src/auxiliaryFunctions/rand/sranda.c b/src/auxiliaryFunctions/rand/sranda.c
index 1c451f6e..e6203e3e 100644
--- a/src/auxiliaryFunctions/rand/sranda.c
+++ b/src/auxiliaryFunctions/rand/sranda.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** sranda.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Fri Sep 7 15:52:34 2007 bruno
-** Last update Fri Sep 7 15:55:32 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "rand.h"
diff --git a/src/auxiliaryFunctions/rand/srands.c b/src/auxiliaryFunctions/rand/srands.c
index c78011b4..8196d7cd 100644
--- a/src/auxiliaryFunctions/rand/srands.c
+++ b/src/auxiliaryFunctions/rand/srands.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** srands.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Mon May 14 16:22:52 2007 jofret
-** Last update Mon May 14 16:46:47 2007 jofret
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "rand.h"
diff --git a/src/auxiliaryFunctions/rand/testRand.h b/src/auxiliaryFunctions/rand/testRand.h
index 356aaa0b..b55a0162 100644
--- a/src/auxiliaryFunctions/rand/testRand.h
+++ b/src/auxiliaryFunctions/rand/testRand.h
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** testRand.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Wed Feb 14 16:07:57 2007 jofret
-** Last update Thu Nov 8 16:03:15 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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
+ *
+ */
#ifndef __TESTRAND_H__
#define __TESTRAND_H__
diff --git a/src/auxiliaryFunctions/rand/zranda.c b/src/auxiliaryFunctions/rand/zranda.c
index 1502abf5..7dd04a16 100644
--- a/src/auxiliaryFunctions/rand/zranda.c
+++ b/src/auxiliaryFunctions/rand/zranda.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** zranda.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Fri Sep 7 16:08:40 2007 bruno
-** Last update Fri Sep 7 16:11:39 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "rand.h"
diff --git a/src/auxiliaryFunctions/rand/zrands.c b/src/auxiliaryFunctions/rand/zrands.c
index e844b675..e9b2bd33 100644
--- a/src/auxiliaryFunctions/rand/zrands.c
+++ b/src/auxiliaryFunctions/rand/zrands.c
@@ -1,14 +1,14 @@
/*
-** -*- C -*-
-**
-** zrands.c
-** Made by Bruno JOFRET <bruno.jofret@inria.fr>
-**
-** Started on Fri Sep 7 14:35:04 2007 bruno
-** Last update Fri Sep 7 14:42:44 2007 bruno
-**
-** Copyright INRIA 2007
-*/
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2007-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 "rand.h"