statistics plugged. 68/4368/6
Cedric Delamarre [Thu, 30 Jun 2011 10:14:12 +0000 (12:14 +0200)]
Change-Id: I6d489ee171e9fa742a9e250bd92767c31f566ce5

63 files changed:
scilab/Scilab.sln
scilab/etc/modules.xml.in
scilab/etc/modules.xml.vc
scilab/modules/api_scilab/src/cpp/api_common.cpp
scilab/modules/ast/includes/run_OpExp.hxx
scilab/modules/elementary_functions/Makefile.am
scilab/modules/elementary_functions/Makefile.in
scilab/modules/elementary_functions/includes/basic_functions.h
scilab/modules/elementary_functions/includes/elem_common.h
scilab/modules/elementary_functions/includes/elem_func_gw.hxx
scilab/modules/elementary_functions/includes/getmode.hxx [new file with mode: 0644]
scilab/modules/elementary_functions/includes/gw_elementary_functions.h
scilab/modules/elementary_functions/sci_gateway/c/sci_rand.c
scilab/modules/elementary_functions/sci_gateway/cpp/elem_func_gw/elem_func_gw.vcxproj
scilab/modules/elementary_functions/sci_gateway/cpp/elem_func_gw/elem_func_gw.vcxproj.filters
scilab/modules/elementary_functions/sci_gateway/cpp/sci_rand.cpp [new file with mode: 0644]
scilab/modules/elementary_functions/sci_gateway/cpp/sci_size.cpp
scilab/modules/elementary_functions/sci_gateway/cpp/sci_sum.cpp [new file with mode: 0644]
scilab/modules/elementary_functions/src/c/elementary_functions.vcxproj
scilab/modules/elementary_functions/src/c/elementary_functions.vcxproj.filters
scilab/modules/elementary_functions/src/cpp/getmode.cpp [new file with mode: 0644]
scilab/modules/functions_manager/functions_manager.vcxproj
scilab/modules/functions_manager/includes/module_declaration.hxx
scilab/modules/functions_manager/src/cpp/funcmanager.cpp
scilab/modules/operations/includes/types_divide.hxx
scilab/modules/operations/src/cpp/types_comparison_equal.cpp
scilab/modules/operations/src/cpp/types_divide.cpp
scilab/modules/operations/src/cpp/types_power.cpp
scilab/modules/output_stream/src/c/Scierror.c
scilab/modules/statistics/Makefile.am
scilab/modules/statistics/Makefile.in
scilab/modules/statistics/includes/dynlib_statistics_gw.h [new file with mode: 0644]
scilab/modules/statistics/includes/gw_statistics.h
scilab/modules/statistics/includes/statistics_gw.hxx [new file with mode: 0644]
scilab/modules/statistics/macros/mean.sci
scilab/modules/statistics/sci_gateway/c/sci_cdfbet.c
scilab/modules/statistics/sci_gateway/c/sci_cdfbin.c
scilab/modules/statistics/sci_gateway/c/sci_cdfchi.c
scilab/modules/statistics/sci_gateway/c/sci_cdfchn.c
scilab/modules/statistics/sci_gateway/c/sci_cdff.c
scilab/modules/statistics/sci_gateway/c/sci_cdffnc.c
scilab/modules/statistics/sci_gateway/c/sci_cdfgam.c
scilab/modules/statistics/sci_gateway/c/sci_cdfnbn.c
scilab/modules/statistics/sci_gateway/c/sci_cdfnor.c
scilab/modules/statistics/sci_gateway/c/sci_cdfpoi.c
scilab/modules/statistics/sci_gateway/c/sci_cdft.c
scilab/modules/statistics/sci_gateway/cpp/statistics_gw.cpp [new file with mode: 0644]
scilab/modules/statistics/sci_gateway/cpp/statistics_gw.vcxproj [new file with mode: 0644]
scilab/modules/statistics/sci_gateway/cpp/statistics_gw.vcxproj.filters [new file with mode: 0644]
scilab/modules/statistics/src/c/CdfBase.c
scilab/modules/statistics/src/c/statistics.vcxproj
scilab/modules/statistics/tests/nonreg_tests/bug_316.dia.ref
scilab/modules/statistics/tests/nonreg_tests/bug_316.tst
scilab/modules/statistics/tests/nonreg_tests/bug_3640.dia.ref
scilab/modules/statistics/tests/nonreg_tests/bug_3640.tst
scilab/modules/statistics/tests/nonreg_tests/bug_7766.dia.ref
scilab/modules/statistics/tests/nonreg_tests/bug_7766.tst
scilab/modules/statistics/tests/unit_tests/cdfbet.tst
scilab/modules/statistics/tests/unit_tests/cdfbin.dia.ref
scilab/modules/statistics/tests/unit_tests/cdfbin.tst
scilab/modules/statistics/tests/unit_tests/cdfchi.tst
scilab/modules/types/includes/arrayof.hxx
scilab/modules/types/src/cpp/types_tools.cpp

index d18d639..b59a50f 100644 (file)
@@ -656,6 +656,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "signal_processing_gw", "mod
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "linear_algebra_gw", "modules\linear_algebra\sci_gateway\cpp\linear_algebra_gw.vcxproj", "{EE43BE6D-817D-4B09-AC40-7E6AC5BDB80D}"
 EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "statistics_gw", "modules\statistics\sci_gateway\cpp\statistics_gw.vcxproj", "{EAE1009F-B967-43C4-9408-97A37EFA8678}"
+EndProject
 Global
        GlobalSection(SolutionConfigurationPlatforms) = preSolution
                Debug|Win32 = Debug|Win32
@@ -2092,6 +2094,14 @@ Global
                {EE43BE6D-817D-4B09-AC40-7E6AC5BDB80D}.Release|Win32.Build.0 = Release|Win32
                {EE43BE6D-817D-4B09-AC40-7E6AC5BDB80D}.Release|x64.ActiveCfg = Release|x64
                {EE43BE6D-817D-4B09-AC40-7E6AC5BDB80D}.Release|x64.Build.0 = Release|x64
+               {EAE1009F-B967-43C4-9408-97A37EFA8678}.Debug|Win32.ActiveCfg = Debug|Win32
+               {EAE1009F-B967-43C4-9408-97A37EFA8678}.Debug|Win32.Build.0 = Debug|Win32
+               {EAE1009F-B967-43C4-9408-97A37EFA8678}.Debug|x64.ActiveCfg = Debug|x64
+               {EAE1009F-B967-43C4-9408-97A37EFA8678}.Debug|x64.Build.0 = Debug|x64
+               {EAE1009F-B967-43C4-9408-97A37EFA8678}.Release|Win32.ActiveCfg = Release|Win32
+               {EAE1009F-B967-43C4-9408-97A37EFA8678}.Release|Win32.Build.0 = Release|Win32
+               {EAE1009F-B967-43C4-9408-97A37EFA8678}.Release|x64.ActiveCfg = Release|x64
+               {EAE1009F-B967-43C4-9408-97A37EFA8678}.Release|x64.Build.0 = Release|x64
        EndGlobalSection
        GlobalSection(SolutionProperties) = preSolution
                HideSolutionNode = FALSE
index 60ccd3e..4387b47 100644 (file)
@@ -45,5 +45,7 @@
     <module name="modules_manager" activate="yes"/>
     <module name="signal_processing" activate="yes"/>
     <module name="linear_algebra" activate="yes"/>
+    <module name="statistics" activate="yes"/>
+>>>>>>> aee3f8c... statistics plugged.
 </modules>
 
index 96f7194..d3aae78 100644 (file)
@@ -46,5 +46,6 @@
     <module name="modules_manager" activate="yes"/>
     <module name="signal_processing" activate="yes"/>
     <module name="linear_algebra" activate="yes"/>
+    <module name="statistics" activate="yes"/>
 </modules>
 
index 0d348b4..715a288 100644 (file)
@@ -300,29 +300,25 @@ SciErr getNamedVarType(void* _pvCtx, const char* _pstName, int* _piType)
 /*--------------------------------------------------------------------------*/
 int isVarComplex(void* _pvCtx, int* _piAddress)
 {
-    SciErr sciErr;
-    int iType            = 0;
-    int iComplex    = 0;
-
-    if(_piAddress == NULL)
-    {
-        addErrorMessage(&sciErr, API_ERROR_INVALID_POINTER, _("%s: Invalid argument address"), "getVarType");
-        return 0;
-    }
-
-    getVarType(_pvCtx, _piAddress, &iType);
-    switch(iType)
-    {
-    case sci_matrix :
-        iComplex = ((types::InternalType*)_piAddress)->getAs<Double>()->isComplex();
-        break;
-    case sci_poly :
-        iComplex = ((types::InternalType*)_piAddress)->getAs<Polynom>()->isComplex();
-    case sci_sparse :
-        //iComplex = ((InternalType*)_piAddress)->getAsSparse()->isComplex();
-        break;
-    }
-    return iComplex;
+     SciErr sciErr;
+     int iType      = 0;
+     int iComplex   = 0;
+
+     if(_piAddress == NULL)
+     {
+         addErrorMessage(&sciErr, API_ERROR_INVALID_POINTER, _("%s: Invalid argument address"), "getVarType");
+         return 0;
+     }
+
+     types::InternalType* pIT = (types::InternalType*)_piAddress;
+     types::GenericType* pGT = dynamic_cast<types::GenericType*>(pIT);
+     if(pGT == NULL)
+     {
+         addErrorMessage(&sciErr, API_ERROR_INVALID_POINTER, _("%s: Invalid argument address"), "getVarType");
+         return 0;
+     }
+
+     return pGT->isComplex();
 }
 /*--------------------------------------------------------------------------*/
 int isNamedVarComplex(void* _pvCtx, const char *_pstName)
index 5d1dc4e..d87073b 100644 (file)
@@ -152,6 +152,26 @@ void visitprivate(const OpExp &e)
                 result_set(pResult);
                 break;
             }
+        case OpExp::dotrdivide :
+            {
+                try
+                {
+                    pResult = GenericDotRDivide(pITL, pITR);
+                }
+                catch (ScilabException *pSE)
+                {
+                    pSE->SetErrorLocation(e.right_get().location_get());
+                    throw pSE;
+                }
+
+                if (pResult == NULL)
+                {
+                    // We did not have any algorithm matching, so we try to call OverLoad
+                    pResult = callOverload(e.oper_get(), &execMeL, &execMeR);
+                }
+                result_set(pResult);
+                break;
+            }        
         case OpExp::dottimes :
             {
                 try
index 6fdae01..5522a12 100644 (file)
 #
 # This file is distributed under the same license as the Scilab package.
 
-
-ELEMENTARIES_FUNCTIONS_C_SOURCES = src/c/sci_tools.c \
-src/c/finite.c \
-src/c/vfinite.c \
-src/c/cmp.c \
-src/c/vceil.c \
-src/c/xerhlt.c \
-src/c/vfloor.c \
-src/c/vfrexp.c \
-src/c/scidcopy.c \
-src/c/int2db.c \
-src/c/rea2db.c \
-src/c/idmax.c \
-src/c/idmin.c \
-src/c/gsort.c \
-src/c/qsort.c \
-src/c/qsort-char.c \
-src/c/qsort-double.c \
-src/c/qsort-int.c \
-src/c/qsort-short.c \
-src/c/qsort-string.c \
-src/c/basic_functions.c \
-src/c/abs.c \
-src/c/acos.c \
-src/c/asin.c \
-src/c/atan.c \
-src/c/cos.c \
-src/c/cosh.c \
-src/c/sin.c \
-src/c/sinh.c \
-src/c/tan.c \
-src/c/exp.c \
-src/c/expm.c \
-src/c/log.c \
-src/c/sqrt.c \
-src/c/cupro.c \
-src/c/sign.c \
-src/c/ceil.c \
-src/c/eye.c \
-src/c/dmsum.c \
-src/c/dsearch.c \
-src/c/floor.c \
-src/c/mprod.c \
-src/c/pythag.c \
-src/c/matrix_generation.c \
-src/c/vmul.c \
-src/c/add_vector.c \
-src/c/sub_vector.c
-
-SLATEC_SOURCES = src/fortran/slatec/zwrsk.f \
-src/fortran/slatec/d9b0mp.f \
-src/fortran/slatec/d9b1mp.f \
-src/fortran/slatec/d9knus.f \
-src/fortran/slatec/d9lgmc.f \
-src/fortran/slatec/dasyik.f \
-src/fortran/slatec/dasyjy.f \
-src/fortran/slatec/dbdiff.f \
-src/fortran/slatec/dbesi0.f \
-src/fortran/slatec/dbesi1.f \
-src/fortran/slatec/dbesi.f \
-src/fortran/slatec/dbesj0.f \
-src/fortran/slatec/dbesj1.f \
-src/fortran/slatec/dbesj.f \
-src/fortran/slatec/dbesk0.f \
-src/fortran/slatec/dbesk1.f \
-src/fortran/slatec/dbesk.f \
-src/fortran/slatec/dbesks.f \
-src/fortran/slatec/dbesy0.f \
-src/fortran/slatec/dbesy1.f \
-src/fortran/slatec/dbesy.f \
-src/fortran/slatec/dbkias.f \
-src/fortran/slatec/dbkisr.f \
-src/fortran/slatec/dbsi0e.f \
-src/fortran/slatec/dbsi1e.f \
-src/fortran/slatec/dbsk0e.f \
-src/fortran/slatec/dbsk1e.f \
-src/fortran/slatec/dbskes.f \
-src/fortran/slatec/dbskin.f \
-src/fortran/slatec/dbsknu.f \
-src/fortran/slatec/dbsynu.f \
-src/fortran/slatec/dcsevl.f \
-src/fortran/slatec/dexint.f \
-src/fortran/slatec/dgamlm.f \
-src/fortran/slatec/dgamln.f \
-src/fortran/slatec/dgamma.f \
-src/fortran/slatec/dgamrn.f \
-src/fortran/slatec/dhkseq.f \
-src/fortran/slatec/djairy.f \
-src/fortran/slatec/dpsixn.f \
-src/fortran/slatec/dxlegf.f \
-src/fortran/slatec/dyairy.f \
-src/fortran/slatec/fdump.f \
-src/fortran/slatec/gamma.f \
-src/fortran/slatec/initds.f \
-src/fortran/slatec/j4save.f \
-src/fortran/slatec/xercnt.f \
-src/fortran/slatec/xermsg.f \
-src/fortran/slatec/xerprn.f \
-src/fortran/slatec/xersve.f \
-src/fortran/slatec/xgetua.f \
-src/fortran/slatec/zabs.f \
-src/fortran/slatec/zacai.f \
-src/fortran/slatec/zacon.f \
-src/fortran/slatec/zairy.f \
-src/fortran/slatec/zasyi.f \
-src/fortran/slatec/zbesh.f \
-src/fortran/slatec/zbesi.f \
-src/fortran/slatec/zbesj.f \
-src/fortran/slatec/zbesk.f \
-src/fortran/slatec/zbesy.f \
-src/fortran/slatec/zbinu.f \
-src/fortran/slatec/zbknu.f \
-src/fortran/slatec/zbuni.f \
-src/fortran/slatec/zbunk.f \
-src/fortran/slatec/zdiv.f \
-src/fortran/slatec/zexp.f \
-src/fortran/slatec/zkscl.f \
-src/fortran/slatec/zlog.f \
-src/fortran/slatec/zmlri.f \
-src/fortran/slatec/zmlt.f \
-src/fortran/slatec/zrati.f \
-src/fortran/slatec/zs1s2.f \
-src/fortran/slatec/zseri.f \
-src/fortran/slatec/zshch.f \
-src/fortran/slatec/zsqrt.f \
-src/fortran/slatec/zuchk.f \
-src/fortran/slatec/zunhj.f \
-src/fortran/slatec/zuni1.f \
-src/fortran/slatec/zuni2.f \
-src/fortran/slatec/zunik.f \
-src/fortran/slatec/zunk1.f \
-src/fortran/slatec/zunk2.f \
-src/fortran/slatec/zuoik.f \
-src/fortran/slatec/dlngam.f \
-src/fortran/slatec/balanc.f \
-src/fortran/slatec/dtensbs.f \
-src/fortran/slatec/pchim.f
-
-LINPACK_SOURCES =    src/fortran/linpack/dgesl.f \
-       src/fortran/linpack/wpade.f \
-       src/fortran/linpack/util.f \
-       src/fortran/linpack/wcopy.f \
-       src/fortran/linpack/dgefa.f \
-       src/fortran/linpack/dgbfa.f \
-       src/fortran/linpack/dgeco.f \
-       src/fortran/linpack/dgedi.f \
-       src/fortran/linpack/dqrdc.f \
-       src/fortran/linpack/dqrsl.f \
-       src/fortran/linpack/dqrsm.f \
-       src/fortran/linpack/hhdml.f \
-       src/fortran/linpack/spofa.f \
-       src/fortran/linpack/wgeco.f \
-       src/fortran/linpack/wgefa.f \
-       src/fortran/linpack/wgesl.f \
-       src/fortran/linpack/dpofa.f
-
-ELEMENTARIES_FUNCTIONS_FORTRAN_SOURCES = \
-src/fortran/psi.f \
-src/fortran/wasum.f \
-src/fortran/dexpm1.f \
-src/fortran/wwdiv.f \
-src/fortran/wdotcr.f \
-src/fortran/iset.f \
-src/fortran/franck.f \
-src/fortran/dwpowe.f \
-src/fortran/rcsort.f \
-src/fortran/wddiv.f \
-src/fortran/lnblnk.f \
-src/fortran/entier.f \
-src/fortran/round.f \
-src/fortran/cortr.f \
-src/fortran/simple.f \
-src/fortran/split.f \
-src/fortran/wdrdiv.f \
-src/fortran/imcopy.f \
-src/fortran/cbal.f \
-src/fortran/dsum.f \
-src/fortran/urand.f \
-src/fortran/intp.f \
-src/fortran/watan.f \
-src/fortran/wipowe.f \
-src/fortran/wacos.f \
-src/fortran/wdpow1.f \
-src/fortran/dlgama.f \
-src/fortran/exch.f \
-src/fortran/wsign.f \
-src/fortran/kronr.f \
-src/fortran/wrscal.f \
-src/fortran/dmmul1.f \
-src/fortran/dwpow.f \
-src/fortran/wmmul.f \
-src/fortran/ddif.f \
-src/fortran/wdiv.f \
-src/fortran/wtan.f \
-src/fortran/ccopy.f \
-src/fortran/ddpow.f \
-src/fortran/magic.f \
-src/fortran/wcerr.f \
-src/fortran/ivimp.f \
-src/fortran/dadd.f \
-src/fortran/calerf.f \
-src/fortran/isort.f \
-src/fortran/hilber.f \
-src/fortran/wdpowe.f \
-src/fortran/wmprod.f \
-src/fortran/wscal.f \
-src/fortran/dlblks.f \
-src/fortran/kronc.f \
-src/fortran/ddrdiv.f \
-src/fortran/dipow.f \
-src/fortran/wshrsl.f \
-src/fortran/wwrdiv.f \
-src/fortran/coshin.f \
-src/fortran/iwamax.f \
-src/fortran/dipowe.f \
-src/fortran/getorient.f \
-src/fortran/cusum.f \
-src/fortran/d1mach.f \
-src/fortran/wbdiag.f \
-src/fortran/ddpow1.f \
-src/fortran/vpythag.f \
-src/fortran/isova0.f \
-src/fortran/wswap.f \
-src/fortran/wwpow1.f \
-src/fortran/getdimfromvar.f \
-src/fortran/gdcp2i.f \
-src/fortran/drdiv.f \
-src/fortran/wmsum.f \
-src/fortran/corth.f \
-src/fortran/mtran.f \
-src/fortran/wwpow.f \
-src/fortran/dvmul.f \
-src/fortran/wclmat.f \
-src/fortran/dsort.f \
-src/fortran/cerr.f \
-src/fortran/rcopy.f \
-src/fortran/wdpow.f \
-src/fortran/orthes.f \
-src/fortran/waxpy.f \
-src/fortran/coef.f \
-src/fortran/dwdiv.f \
-src/fortran/arcosh.f \
-src/fortran/wasin.f \
-src/fortran/wexpm1.f \
-src/fortran/ddpowe.f \
-src/fortran/nearfloat.f \
-src/fortran/dmprod.f \
-src/fortran/wwpowe.f \
-src/fortran/wdotci.f \
-src/fortran/dmcopy.f \
-src/fortran/wexchn.f \
-src/fortran/isoval.f \
-src/fortran/dwrdiv.f \
-src/fortran/wipow.f \
-src/fortran/wlog.f \
-src/fortran/infinity.f \
-src/fortran/dwpow1.f \
-src/fortran/wmul.f \
-src/fortran/dad.f \
-src/fortran/dset.f \
-src/fortran/dtild.f \
-src/fortran/i1mach.f \
-src/fortran/dclmat.f \
-src/fortran/ortran.f \
-src/fortran/bdiag.f \
-src/fortran/wvmul.f \
-src/fortran/dmmul.f \
-src/fortran/wsqrt.f \
-src/fortran/israt.f \
-src/fortran/rat.f \
-src/fortran/old_pythag.f \
-src/fortran/sdot.f
+ELEMENTARY_FUNCTIONS_C_SOURCES = \
+    src/c/sci_tools.c \
+    src/c/finite.c \
+    src/c/vfinite.c \
+    src/c/cmp.c \
+    src/c/vceil.c \
+    src/c/xerhlt.c \
+    src/c/vfloor.c \
+    src/c/vfrexp.c \
+    src/c/scidcopy.c \
+    src/c/int2db.c \
+    src/c/rea2db.c \
+    src/c/idmax.c \
+    src/c/idmin.c \
+    src/c/gsort.c \
+    src/c/qsort.c \
+    src/c/qsort-char.c \
+    src/c/qsort-double.c \
+    src/c/qsort-int.c \
+    src/c/qsort-short.c \
+    src/c/qsort-string.c \
+    src/c/basic_functions.c \
+    src/c/abs.c \
+    src/c/acos.c \
+    src/c/asin.c \
+    src/c/atan.c \
+    src/c/cos.c \
+    src/c/cosh.c \
+    src/c/sin.c \
+    src/c/sinh.c \
+    src/c/tan.c \
+    src/c/exp.c \
+    src/c/expm.c \
+    src/c/log.c \
+    src/c/sqrt.c \
+    src/c/cupro.c \
+    src/c/sign.c \
+    src/c/ceil.c \
+    src/c/eye.c \
+    src/c/dmsum.c \
+    src/c/dsearch.c \
+    src/c/floor.c \
+    src/c/mprod.c \
+    src/c/pythag.c \
+    src/c/matrix_generation.c \
+    src/c/vmul.c \
+    src/c/add_vector.c \
+    src/c/sub_vector.c
+
+SLATEC_SOURCES = \
+       src/fortran/slatec/zwrsk.f \
+    src/fortran/slatec/d9b0mp.f \
+    src/fortran/slatec/d9b1mp.f \
+    src/fortran/slatec/d9knus.f \
+    src/fortran/slatec/d9lgmc.f \
+    src/fortran/slatec/dasyik.f \
+    src/fortran/slatec/dasyjy.f \
+    src/fortran/slatec/dbdiff.f \
+    src/fortran/slatec/dbesi0.f \
+    src/fortran/slatec/dbesi1.f \
+    src/fortran/slatec/dbesi.f \
+    src/fortran/slatec/dbesj0.f \
+    src/fortran/slatec/dbesj1.f \
+    src/fortran/slatec/dbesj.f \
+    src/fortran/slatec/dbesk0.f \
+    src/fortran/slatec/dbesk1.f \
+    src/fortran/slatec/dbesk.f \
+    src/fortran/slatec/dbesks.f \
+    src/fortran/slatec/dbesy0.f \
+    src/fortran/slatec/dbesy1.f \
+    src/fortran/slatec/dbesy.f \
+    src/fortran/slatec/dbkias.f \
+    src/fortran/slatec/dbkisr.f \
+    src/fortran/slatec/dbsi0e.f \
+    src/fortran/slatec/dbsi1e.f \
+    src/fortran/slatec/dbsk0e.f \
+    src/fortran/slatec/dbsk1e.f \
+    src/fortran/slatec/dbskes.f \
+    src/fortran/slatec/dbskin.f \
+    src/fortran/slatec/dbsknu.f \
+    src/fortran/slatec/dbsynu.f \
+    src/fortran/slatec/dcsevl.f \
+    src/fortran/slatec/dexint.f \
+    src/fortran/slatec/dgamlm.f \
+    src/fortran/slatec/dgamln.f \
+    src/fortran/slatec/dgamma.f \
+    src/fortran/slatec/dgamrn.f \
+    src/fortran/slatec/dhkseq.f \
+    src/fortran/slatec/djairy.f \
+    src/fortran/slatec/dpsixn.f \
+    src/fortran/slatec/dxlegf.f \
+    src/fortran/slatec/dyairy.f \
+    src/fortran/slatec/fdump.f \
+    src/fortran/slatec/gamma.f \
+    src/fortran/slatec/initds.f \
+    src/fortran/slatec/j4save.f \
+    src/fortran/slatec/xercnt.f \
+    src/fortran/slatec/xermsg.f \
+    src/fortran/slatec/xerprn.f \
+    src/fortran/slatec/xersve.f \
+    src/fortran/slatec/xgetua.f \
+    src/fortran/slatec/zabs.f \
+    src/fortran/slatec/zacai.f \
+    src/fortran/slatec/zacon.f \
+    src/fortran/slatec/zairy.f \
+    src/fortran/slatec/zasyi.f \
+    src/fortran/slatec/zbesh.f \
+    src/fortran/slatec/zbesi.f \
+    src/fortran/slatec/zbesj.f \
+    src/fortran/slatec/zbesk.f \
+    src/fortran/slatec/zbesy.f \
+    src/fortran/slatec/zbinu.f \
+    src/fortran/slatec/zbknu.f \
+    src/fortran/slatec/zbuni.f \
+    src/fortran/slatec/zbunk.f \
+    src/fortran/slatec/zdiv.f \
+    src/fortran/slatec/zexp.f \
+    src/fortran/slatec/zkscl.f \
+    src/fortran/slatec/zlog.f \
+    src/fortran/slatec/zmlri.f \
+    src/fortran/slatec/zmlt.f \
+    src/fortran/slatec/zrati.f \
+    src/fortran/slatec/zs1s2.f \
+    src/fortran/slatec/zseri.f \
+    src/fortran/slatec/zshch.f \
+    src/fortran/slatec/zsqrt.f \
+    src/fortran/slatec/zuchk.f \
+    src/fortran/slatec/zunhj.f \
+    src/fortran/slatec/zuni1.f \
+    src/fortran/slatec/zuni2.f \
+    src/fortran/slatec/zunik.f \
+    src/fortran/slatec/zunk1.f \
+    src/fortran/slatec/zunk2.f \
+    src/fortran/slatec/zuoik.f \
+    src/fortran/slatec/dlngam.f \
+    src/fortran/slatec/balanc.f \
+    src/fortran/slatec/dtensbs.f \
+    src/fortran/slatec/pchim.f
+
+LINPACK_SOURCES = \
+    src/fortran/linpack/dgesl.f \
+    src/fortran/linpack/wpade.f \
+    src/fortran/linpack/util.f \
+    src/fortran/linpack/wcopy.f \
+    src/fortran/linpack/dgefa.f \
+    src/fortran/linpack/dgbfa.f \
+    src/fortran/linpack/dgeco.f \
+    src/fortran/linpack/dgedi.f \
+    src/fortran/linpack/dqrdc.f \
+    src/fortran/linpack/dqrsl.f \
+    src/fortran/linpack/dqrsm.f \
+    src/fortran/linpack/hhdml.f \
+    src/fortran/linpack/spofa.f \
+    src/fortran/linpack/wgeco.f \
+    src/fortran/linpack/wgefa.f \
+    src/fortran/linpack/wgesl.f \
+    src/fortran/linpack/dpofa.f
+
+ELEMENTARY_FUNCTIONS_FORTRAN_SOURCES = \
+    src/fortran/psi.f \
+    src/fortran/wasum.f \
+    src/fortran/dexpm1.f \
+    src/fortran/wwdiv.f \
+    src/fortran/wdotcr.f \
+    src/fortran/iset.f \
+    src/fortran/franck.f \
+    src/fortran/dwpowe.f \
+    src/fortran/rcsort.f \
+    src/fortran/wddiv.f \
+    src/fortran/lnblnk.f \
+    src/fortran/entier.f \
+    src/fortran/round.f \
+    src/fortran/cortr.f \
+    src/fortran/simple.f \
+    src/fortran/split.f \
+    src/fortran/wdrdiv.f \
+    src/fortran/imcopy.f \
+    src/fortran/cbal.f \
+    src/fortran/dsum.f \
+    src/fortran/urand.f \
+    src/fortran/intp.f \
+    src/fortran/watan.f \
+    src/fortran/wipowe.f \
+    src/fortran/wacos.f \
+    src/fortran/wdpow1.f \
+    src/fortran/dlgama.f \
+    src/fortran/exch.f \
+    src/fortran/wsign.f \
+    src/fortran/kronr.f \
+    src/fortran/wrscal.f \
+    src/fortran/dmmul1.f \
+    src/fortran/dwpow.f \
+    src/fortran/wmmul.f \
+    src/fortran/ddif.f \
+    src/fortran/wdiv.f \
+    src/fortran/wtan.f \
+    src/fortran/ccopy.f \
+    src/fortran/ddpow.f \
+    src/fortran/magic.f \
+    src/fortran/wcerr.f \
+    src/fortran/ivimp.f \
+    src/fortran/dadd.f \
+    src/fortran/calerf.f \
+    src/fortran/isort.f \
+    src/fortran/hilber.f \
+    src/fortran/wdpowe.f \
+    src/fortran/wmprod.f \
+    src/fortran/wscal.f \
+    src/fortran/dlblks.f \
+    src/fortran/kronc.f \
+    src/fortran/ddrdiv.f \
+    src/fortran/dipow.f \
+    src/fortran/wshrsl.f \
+    src/fortran/wwrdiv.f \
+    src/fortran/coshin.f \
+    src/fortran/iwamax.f \
+    src/fortran/dipowe.f \
+    src/fortran/getorient.f \
+    src/fortran/cusum.f \
+    src/fortran/d1mach.f \
+    src/fortran/wbdiag.f \
+    src/fortran/ddpow1.f \
+    src/fortran/vpythag.f \
+    src/fortran/isova0.f \
+    src/fortran/wswap.f \
+    src/fortran/wwpow1.f \
+    src/fortran/getdimfromvar.f \
+    src/fortran/gdcp2i.f \
+    src/fortran/drdiv.f \
+    src/fortran/wmsum.f \
+    src/fortran/corth.f \
+    src/fortran/mtran.f \
+    src/fortran/wwpow.f \
+    src/fortran/dvmul.f \
+    src/fortran/wclmat.f \
+    src/fortran/dsort.f \
+    src/fortran/cerr.f \
+    src/fortran/rcopy.f \
+    src/fortran/wdpow.f \
+    src/fortran/orthes.f \
+    src/fortran/waxpy.f \
+    src/fortran/coef.f \
+    src/fortran/dwdiv.f \
+    src/fortran/arcosh.f \
+    src/fortran/wasin.f \
+    src/fortran/wexpm1.f \
+    src/fortran/ddpowe.f \
+    src/fortran/nearfloat.f \
+    src/fortran/dmprod.f \
+    src/fortran/wwpowe.f \
+    src/fortran/wdotci.f \
+    src/fortran/dmcopy.f \
+    src/fortran/wexchn.f \
+    src/fortran/isoval.f \
+    src/fortran/dwrdiv.f \
+    src/fortran/wipow.f \
+    src/fortran/wlog.f \
+    src/fortran/infinity.f \
+    src/fortran/dwpow1.f \
+    src/fortran/wmul.f \
+    src/fortran/dad.f \
+    src/fortran/dset.f \
+    src/fortran/dtild.f \
+    src/fortran/i1mach.f \
+    src/fortran/dclmat.f \
+    src/fortran/ortran.f \
+    src/fortran/bdiag.f \
+    src/fortran/wvmul.f \
+    src/fortran/dmmul.f \
+    src/fortran/wsqrt.f \
+    src/fortran/israt.f \
+    src/fortran/rat.f \
+    src/fortran/old_pythag.f \
+    src/fortran/sdot.f
+
+ELEMENTARY_FUNCTIONS_CPP_SOURCES = \
+    src/cpp/getmode.cpp
 
 GATEWAY_C_SOURCES = \
-sci_gateway/c/sci_matrix.c \
-sci_gateway/c/sci_prod.c \
-sci_gateway/c/sci_expm.c \
-sci_gateway/c/sci_tril.c \
-sci_gateway/c/sci_ceil.c \
-sci_gateway/c/sci_imag.c \
-sci_gateway/c/sci_log.c \
-sci_gateway/c/sci_log1p.c \
-sci_gateway/c/sci_clean.c \
-sci_gateway/c/sci_tan.c \
-sci_gateway/c/sci_atan.c \
-sci_gateway/c/sci_triu.c \
-sci_gateway/c/sci_frexp.c \
-sci_gateway/c/sci_rand.c \
-sci_gateway/c/sci_acos.c \
-sci_gateway/c/sci_cos.c \
-sci_gateway/c/sci_sin.c \
-sci_gateway/c/sci_sqrt.c \
-sci_gateway/c/sci_asin.c \
-sci_gateway/c/sci_sign.c \
-sci_gateway/c/sci_rat.c \
-sci_gateway/c/gw_elementary_functions.c \
-sci_gateway/c/sci_number_properties.c \
-sci_gateway/c/sci_diag.c \
-sci_gateway/c/sci_sum.c \
-sci_gateway/c/sci_testmatrix.c \
-sci_gateway/c/sci_abs.c \
-sci_gateway/c/sci_spones.c \
-sci_gateway/c/sci_kron.c \
-sci_gateway/c/sci_cumprod.c \
-sci_gateway/c/sci_cumsum.c \
-sci_gateway/c/sci_dsearch.c \
-sci_gateway/c/sci_nearfloat.c \
-sci_gateway/c/sci_isreal.c \
-sci_gateway/c/sci_floor.c \
-sci_gateway/c/sci_real.c \
-sci_gateway/c/sci_round.c \
-sci_gateway/c/sci_conj.c \
-sci_gateway/c/sci_int.c \
-sci_gateway/c/sci_imult.c \
-sci_gateway/c/sci_exp.c \
-sci_gateway/c/sci_maxi.c \
-sci_gateway/c/sci_gsort.c \
-sci_gateway/c/sci_chinesehat.c \
-sci_gateway/c/sci_isequalbitwise.c
+    sci_gateway/c/sci_matrix.c \
+    sci_gateway/c/sci_prod.c \
+    sci_gateway/c/sci_expm.c \
+    sci_gateway/c/sci_tril.c \
+    sci_gateway/c/sci_ceil.c \
+    sci_gateway/c/sci_imag.c \
+    sci_gateway/c/sci_log.c \
+    sci_gateway/c/sci_log1p.c \
+    sci_gateway/c/sci_clean.c \
+    sci_gateway/c/sci_tan.c \
+    sci_gateway/c/sci_atan.c \
+    sci_gateway/c/sci_triu.c \
+    sci_gateway/c/sci_frexp.c \
+    sci_gateway/c/sci_acos.c \
+    sci_gateway/c/sci_cos.c \
+    sci_gateway/c/sci_sin.c \
+    sci_gateway/c/sci_sqrt.c \
+    sci_gateway/c/sci_asin.c \
+    sci_gateway/c/sci_sign.c \
+    sci_gateway/c/sci_rat.c \
+    sci_gateway/c/gw_elementary_functions.c \
+    sci_gateway/c/sci_number_properties.c \
+    sci_gateway/c/sci_diag.c \
+    sci_gateway/c/sci_testmatrix.c \
+    sci_gateway/c/sci_abs.c \
+    sci_gateway/c/sci_spones.c \
+    sci_gateway/c/sci_kron.c \
+    sci_gateway/c/sci_cumprod.c \
+    sci_gateway/c/sci_cumsum.c \
+    sci_gateway/c/sci_dsearch.c \
+    sci_gateway/c/sci_nearfloat.c \
+    sci_gateway/c/sci_isreal.c \
+    sci_gateway/c/sci_floor.c \
+    sci_gateway/c/sci_real.c \
+    sci_gateway/c/sci_round.c \
+    sci_gateway/c/sci_conj.c \
+    sci_gateway/c/sci_int.c \
+    sci_gateway/c/sci_imult.c \
+    sci_gateway/c/sci_exp.c \
+    sci_gateway/c/sci_maxi.c \
+    sci_gateway/c/sci_gsort.c \
+    sci_gateway/c/sci_chinesehat.c \
+    sci_gateway/c/sci_isequalbitwise.c
 
 GATEWAY_FORTRAN_SOURCES =  \
-sci_gateway/fortran/sci_f_maxi.f \
-sci_gateway/fortran/sci_f_testmatrix.f \
-sci_gateway/fortran/sci_f_prod.f \
-sci_gateway/fortran/sci_f_matrix.f \
-sci_gateway/fortran/sci_f_expm.f \
-sci_gateway/fortran/sci_f_size.f \
-sci_gateway/fortran/sci_f_tril.f \
-sci_gateway/fortran/sci_f_ceil.f \
-sci_gateway/fortran/sci_f_rat.f \
-sci_gateway/fortran/sci_f_imag.f \
-sci_gateway/fortran/sci_f_log.f \
-sci_gateway/fortran/sci_f_log1p.f \
-sci_gateway/fortran/sci_f_clean.f \
-sci_gateway/fortran/sci_f_eye.f \
-sci_gateway/fortran/sci_f_tan.f \
-sci_gateway/fortran/sci_f_atan.f \
-sci_gateway/fortran/sci_f_triu.f \
-sci_gateway/fortran/sci_f_frexp.f \
-sci_gateway/fortran/sci_f_cos.f \
-sci_gateway/fortran/sci_f_rand.f \
-sci_gateway/fortran/sci_f_acos.f \
-sci_gateway/fortran/sci_f_sin.f \
-sci_gateway/fortran/sci_f_sqrt.f \
-sci_gateway/fortran/sci_f_asin.f \
-sci_gateway/fortran/sci_f_sign.f \
-sci_gateway/fortran/sci_f_zeros.f \
-sci_gateway/fortran/sci_f_ones.f \
-sci_gateway/fortran/sci_f_diag.f \
-sci_gateway/fortran/sci_f_number_properties.f \
-sci_gateway/fortran/sci_f_abs.f \
-sci_gateway/fortran/sci_f_spones.f \
-sci_gateway/fortran/sci_f_kron.f \
-sci_gateway/fortran/sci_f_cumsum.f \
-sci_gateway/fortran/sci_f_nearfloat.f \
-sci_gateway/fortran/sci_f_isreal.f \
-sci_gateway/fortran/sci_f_floor.f \
-sci_gateway/fortran/sci_f_real.f \
-sci_gateway/fortran/sci_f_round.f \
-sci_gateway/fortran/sci_f_conj.f \
-sci_gateway/fortran/sci_f_int.f \
-sci_gateway/fortran/sci_f_imult.f \
-sci_gateway/fortran/sci_f_chinesehat.f \
-sci_gateway/fortran/sci_f_exp.f
+    sci_gateway/fortran/sci_f_maxi.f \
+    sci_gateway/fortran/sci_f_testmatrix.f \
+    sci_gateway/fortran/sci_f_prod.f \
+    sci_gateway/fortran/sci_f_matrix.f \
+    sci_gateway/fortran/sci_f_expm.f \
+    sci_gateway/fortran/sci_f_size.f \
+    sci_gateway/fortran/sci_f_tril.f \
+    sci_gateway/fortran/sci_f_ceil.f \
+    sci_gateway/fortran/sci_f_rat.f \
+    sci_gateway/fortran/sci_f_imag.f \
+    sci_gateway/fortran/sci_f_log.f \
+    sci_gateway/fortran/sci_f_log1p.f \
+    sci_gateway/fortran/sci_f_clean.f \
+    sci_gateway/fortran/sci_f_eye.f \
+    sci_gateway/fortran/sci_f_tan.f \
+    sci_gateway/fortran/sci_f_atan.f \
+    sci_gateway/fortran/sci_f_triu.f \
+    sci_gateway/fortran/sci_f_frexp.f \
+    sci_gateway/fortran/sci_f_cos.f \
+    sci_gateway/fortran/sci_f_rand.f \
+    sci_gateway/fortran/sci_f_acos.f \
+    sci_gateway/fortran/sci_f_sin.f \
+    sci_gateway/fortran/sci_f_sqrt.f \
+    sci_gateway/fortran/sci_f_asin.f \
+    sci_gateway/fortran/sci_f_sign.f \
+    sci_gateway/fortran/sci_f_zeros.f \
+    sci_gateway/fortran/sci_f_ones.f \
+    sci_gateway/fortran/sci_f_diag.f \
+    sci_gateway/fortran/sci_f_number_properties.f \
+    sci_gateway/fortran/sci_f_abs.f \
+    sci_gateway/fortran/sci_f_spones.f \
+    sci_gateway/fortran/sci_f_kron.f \
+    sci_gateway/fortran/sci_f_cumsum.f \
+    sci_gateway/fortran/sci_f_nearfloat.f \
+    sci_gateway/fortran/sci_f_isreal.f \
+    sci_gateway/fortran/sci_f_floor.f \
+    sci_gateway/fortran/sci_f_real.f \
+    sci_gateway/fortran/sci_f_round.f \
+    sci_gateway/fortran/sci_f_conj.f \
+    sci_gateway/fortran/sci_f_int.f \
+    sci_gateway/fortran/sci_f_imult.f \
+    sci_gateway/fortran/sci_f_chinesehat.f \
+    sci_gateway/fortran/sci_f_exp.f
 
 GATEWAY_CPP_SOURCES =  \
        sci_gateway/cpp/sci_isequal.cpp \
        sci_gateway/cpp/elem_func_gw.cpp \
        sci_gateway/cpp/sci_size.cpp \
        sci_gateway/cpp/sci_eye.cpp \
+    sci_gateway/cpp/sci_rand.cpp \
+    sci_gateway/cpp/sci_sum.cpp \
     sci_gateway/cpp/sci_zeros.cpp \
     sci_gateway/cpp/sci_ones.cpp
 
 
-EISPACK_SOURCES = src/fortran/eispack/balbak.f
+EISPACK_SOURCES = \
+       src/fortran/eispack/balbak.f
 
 # Disable optimisation of the file hqror2.f comqr3.f pade.f
-noinst_LTLIBRARIES = libdummy-elementary_functions.la
+noinst_LTLIBRARIES = \
+       libdummy-elementary_functions.la
 
-libdummy_elementary_functions_la_SOURCES = src/fortran/eispack/hqror2.f \
+libdummy_elementary_functions_la_SOURCES = \
+       src/fortran/eispack/hqror2.f \
        src/fortran/comqr3.f \
        src/fortran/linpack/pade.f \
        src/c/unsfdcopy.c \
        src/fortran/linpack/icopy.f
 
-libdummy_elementary_functions_la_FFLAGS = $(FFLAGS:-O%=)
-
-
+libdummy_elementary_functions_la_FFLAGS = \
+       $(FFLAGS:-O%=)
 
-libdummy_elementary_functions_la_CFLAGS = $(CFLAGS:-O%=) \
+libdummy_elementary_functions_la_CFLAGS = \
+       $(CFLAGS:-O%=) \
        -I$(top_srcdir)/modules/core/includes/ \
        -I$(srcdir)/includes/
 
 # Includes need for the compilation
-libscielementary_functions_la_FFLAGS= -I$(srcdir)/includes/
+libscielementary_functions_la_FFLAGS= \
+       -I$(srcdir)/includes/
 
 # Includes need for the compilation
-libscielementary_functions_la_CPPFLAGS =       -I$(srcdir)/includes/ \
+libscielementary_functions_la_CPPFLAGS = \
+       -I$(srcdir)/includes/ \
        -I$(srcdir)/src/cpp/ \
        -I$(srcdir)/src/c/ \
        -I$(top_srcdir)/libs/MALLOC/includes/ \
@@ -410,31 +420,40 @@ libscielementary_functions_la_CPPFLAGS =  -I$(srcdir)/includes/ \
        -I$(top_srcdir)/modules/types/includes \
        -I$(top_srcdir)/modules/functions_manager/includes \
        -I$(top_srcdir)/modules/ast/includes \
+       -I$(top_srcdir)/modules/threads/includes \
+       -I$(top_srcdir)/modules/system_env/includes \
+       -I$(top_srcdir)/modules/string/includes \
        -I$(top_builddir)/modules/operations/includes
 
 # Includes need for the compilation
-libscielementary_functions_la_CFLAGS=  -I$(srcdir)/includes/ \
--I$(top_srcdir)/libs/MALLOC/includes/ \
--I$(srcdir)/src/c/ \
--I$(top_srcdir)/modules/core/src/c/ \
--I$(top_srcdir)/modules/output_stream/includes \
--I$(top_srcdir)/modules/double/includes/ \
--I$(top_srcdir)/modules/api_scilab/includes/ \
--I$(top_srcdir)/modules/operations/includes/
+libscielementary_functions_la_CFLAGS= \
+       -I$(srcdir)/includes/ \
+       -I$(top_srcdir)/libs/MALLOC/includes/ \
+       -I$(srcdir)/src/c/ \
+       -I$(top_srcdir)/modules/core/src/c/ \
+       -I$(top_srcdir)/modules/output_stream/includes \
+       -I$(top_srcdir)/modules/double/includes/ \
+       -I$(top_srcdir)/modules/api_scilab/includes/ \
+       -I$(top_srcdir)/modules/operations/includes/
+
+
+libscielementary_functions_algo_la_CFLAGS = \
+       $(libscielementary_functions_la_CFLAGS)
 
-libscielementary_functions_alogo_la_CFLAGS = $(libscielementary_functions_la_CFLAGS)
+libscielementary_functions_algo_la_CPPFLAGS = \
+    $(libscielementary_functions_la_CPPFLAGS)
 
 pkglib_LTLIBRARIES = libscielementary_functions.la
 noinst_LTLIBRARIES += libscielementary_functions-algo.la
 
 libscielementary_functions_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION)
 
-libscielementary_functions_algo_la_SOURCES = $(SLATEC_SOURCES) $(LINPACK_SOURCES)  $(EISPACK_SOURCES) $(ELEMENTARIES_FUNCTIONS_C_SOURCES) $(ELEMENTARIES_FUNCTIONS_FORTRAN_SOURCES) $(ELEMENTARIES_FUNCTIONS_CPP_SOURCES)
+libscielementary_functions_algo_la_SOURCES = $(SLATEC_SOURCES) $(LINPACK_SOURCES)  $(EISPACK_SOURCES) $(ELEMENTARY_FUNCTIONS_C_SOURCES) $(ELEMENTARY_FUNCTIONS_FORTRAN_SOURCES) $(ELEMENTARY_FUNCTIONS_CPP_SOURCES)
 libscielementary_functions_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_FORTRAN_SOURCES) $(GATEWAY_CPP_SOURCES)
 libscielementary_functions_algo_la_CFLAGS = $(libscielementary_functions_la_CFLAGS)
 
 # For the code check (splint)
-CHECK_SRC= $(ELEMENTARIES_FUNCTIONS_C_SOURCES) $(GATEWAY_C_SOURCES)
+CHECK_SRC= $(ELEMENTARY_FUNCTIONS_C_SOURCES) $(GATEWAY_C_SOURCES)
 INCLUDE_FLAGS = $(libscielementary_functions_la_CFLAGS)
 
 libscielementary_functions_la_LIBADD = libdummy-elementary_functions.la libscielementary_functions-algo.la
@@ -442,22 +461,22 @@ libscielementary_functions_la_LIBADD = libdummy-elementary_functions.la libsciel
 # Commented because it is one of the first module to be compiled
 #libdummy-elementary_functions.la   $(top_builddir)/modules/polynomials/libscipolynomials.la $(top_builddir)/libs/blas/libsciblas.la $(top_builddir)/modules/sparse/libscisparse.la $(top_builddir)/modules/string/libscistring.la $(top_builddir)/libs/MALLOC/libscimalloc.la $(top_builddir)/modules/output_stream/libscioutput_stream.la $(top_builddir)/libs/lapack/libscilapack.la $(top_builddir)/modules/integer/libsciinteger.la  $(top_builddir)/modules/cacsd/libscicacsd.la
 
-libdummy_elementary_functions_la-hqror2.lo: src/fortran/eispack/hqror2.f
-       $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-hqror2.lo `test -f 'src/fortran/eispack/hqror2.f' || echo '$(srcdir)/'`src/fortran/eispack/hqror2.f
+libdummy_elementary_functions_la-hqror2.lo:     src/fortran/eispack/hqror2.f
+       $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-hqror2.lo `test -f '    src/fortran/eispack/hqror2.f' || echo '$(srcdir)/'`    src/fortran/eispack/hqror2.f
 
-libdummy_elementary_functions_la-comqr3.lo: src/fortran/comqr3.f
-       $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-comqr3.lo `test -f 'src/fortran/comqr3.f' || echo '$(srcdir)/'`src/fortran/comqr3.f
+libdummy_elementary_functions_la-comqr3.lo:     src/fortran/comqr3.f
+       $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-comqr3.lo `test -f '    src/fortran/comqr3.f' || echo '$(srcdir)/'`    src/fortran/comqr3.f
 
 
-libdummy_elementary_functions_la-pade.lo: src/fortran/linpack/pade.f
-       $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-pade.lo `test -f 'src/fortran/linpack/pade.f' || echo '$(srcdir)/'`src/fortran/linpack/pade.f
+libdummy_elementary_functions_la-pade.lo:     src/fortran/linpack/pade.f
+       $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-pade.lo `test -f '    src/fortran/linpack/pade.f' || echo '$(srcdir)/'`    src/fortran/linpack/pade.f
 
 libdummy_elementary_functions_la-unsfdcopy.lo: src/c/unsfdcopy.c
        $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFAULT_INCLUDES) $(libdummy_elementary_functions_la_CFLAGS) -c -o libdummy_elementary_functions_la-unsfdcopy.lo `test -f 'src/c/unsfdcopy.c' || echo '$(srcdir)/'`src/c/unsfdcopy.c
 
 
-libdummy_elementary_functions_la-icopy.lo: src/fortran/linpack/icopy.f
-       $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-icopy.lo `test -f 'src/fortran/linpack/icopy.f' || echo '$(srcdir)/'`src/fortran/linpack/icopy.f
+libdummy_elementary_functions_la-icopy.lo:     src/fortran/linpack/icopy.f
+       $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-icopy.lo `test -f '    src/fortran/linpack/icopy.f' || echo '$(srcdir)/'`    src/fortran/linpack/icopy.f
 
 
 #### Target ######
index 9123399..83a4823 100644 (file)
@@ -207,15 +207,16 @@ am__objects_5 = psi.lo wasum.lo dexpm1.lo wwdiv.lo wdotcr.lo iset.lo \
        infinity.lo dwpow1.lo wmul.lo dad.lo dset.lo dtild.lo \
        i1mach.lo dclmat.lo ortran.lo bdiag.lo wvmul.lo dmmul.lo \
        wsqrt.lo israt.lo rat.lo old_pythag.lo sdot.lo
+am__objects_6 = libscielementary_functions_algo_la-getmode.lo
 am_libscielementary_functions_algo_la_OBJECTS = $(am__objects_1) \
        $(am__objects_2) $(am__objects_3) $(am__objects_4) \
-       $(am__objects_5)
+       $(am__objects_5) $(am__objects_6)
 libscielementary_functions_algo_la_OBJECTS =  \
        $(am_libscielementary_functions_algo_la_OBJECTS)
 libscielementary_functions_la_DEPENDENCIES =  \
        libdummy-elementary_functions.la \
        libscielementary_functions-algo.la
-am__objects_6 = libscielementary_functions_la-sci_matrix.lo \
+am__objects_7 = libscielementary_functions_la-sci_matrix.lo \
        libscielementary_functions_la-sci_prod.lo \
        libscielementary_functions_la-sci_expm.lo \
        libscielementary_functions_la-sci_tril.lo \
@@ -228,7 +229,6 @@ am__objects_6 = libscielementary_functions_la-sci_matrix.lo \
        libscielementary_functions_la-sci_atan.lo \
        libscielementary_functions_la-sci_triu.lo \
        libscielementary_functions_la-sci_frexp.lo \
-       libscielementary_functions_la-sci_rand.lo \
        libscielementary_functions_la-sci_acos.lo \
        libscielementary_functions_la-sci_cos.lo \
        libscielementary_functions_la-sci_sin.lo \
@@ -239,7 +239,6 @@ am__objects_6 = libscielementary_functions_la-sci_matrix.lo \
        libscielementary_functions_la-gw_elementary_functions.lo \
        libscielementary_functions_la-sci_number_properties.lo \
        libscielementary_functions_la-sci_diag.lo \
-       libscielementary_functions_la-sci_sum.lo \
        libscielementary_functions_la-sci_testmatrix.lo \
        libscielementary_functions_la-sci_abs.lo \
        libscielementary_functions_la-sci_spones.lo \
@@ -260,7 +259,7 @@ am__objects_6 = libscielementary_functions_la-sci_matrix.lo \
        libscielementary_functions_la-sci_gsort.lo \
        libscielementary_functions_la-sci_chinesehat.lo \
        libscielementary_functions_la-sci_isequalbitwise.lo
-am__objects_7 = libscielementary_functions_la-sci_f_maxi.lo \
+am__objects_8 = libscielementary_functions_la-sci_f_maxi.lo \
        libscielementary_functions_la-sci_f_testmatrix.lo \
        libscielementary_functions_la-sci_f_prod.lo \
        libscielementary_functions_la-sci_f_matrix.lo \
@@ -303,14 +302,16 @@ am__objects_7 = libscielementary_functions_la-sci_f_maxi.lo \
        libscielementary_functions_la-sci_f_imult.lo \
        libscielementary_functions_la-sci_f_chinesehat.lo \
        libscielementary_functions_la-sci_f_exp.lo
-am__objects_8 = libscielementary_functions_la-sci_isequal.lo \
+am__objects_9 = libscielementary_functions_la-sci_isequal.lo \
        libscielementary_functions_la-elem_func_gw.lo \
        libscielementary_functions_la-sci_size.lo \
        libscielementary_functions_la-sci_eye.lo \
+       libscielementary_functions_la-sci_rand.lo \
+       libscielementary_functions_la-sci_sum.lo \
        libscielementary_functions_la-sci_zeros.lo \
        libscielementary_functions_la-sci_ones.lo
-am_libscielementary_functions_la_OBJECTS = $(am__objects_6) \
-       $(am__objects_7) $(am__objects_8)
+am_libscielementary_functions_la_OBJECTS = $(am__objects_7) \
+       $(am__objects_8) $(am__objects_9)
 libscielementary_functions_la_OBJECTS =  \
        $(am_libscielementary_functions_la_OBJECTS)
 libscielementary_functions_la_LINK = $(LIBTOOL) --tag=CXX \
@@ -617,400 +618,415 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 yacc_present = @yacc_present@
-ELEMENTARIES_FUNCTIONS_C_SOURCES = src/c/sci_tools.c \
-src/c/finite.c \
-src/c/vfinite.c \
-src/c/cmp.c \
-src/c/vceil.c \
-src/c/xerhlt.c \
-src/c/vfloor.c \
-src/c/vfrexp.c \
-src/c/scidcopy.c \
-src/c/int2db.c \
-src/c/rea2db.c \
-src/c/idmax.c \
-src/c/idmin.c \
-src/c/gsort.c \
-src/c/qsort.c \
-src/c/qsort-char.c \
-src/c/qsort-double.c \
-src/c/qsort-int.c \
-src/c/qsort-short.c \
-src/c/qsort-string.c \
-src/c/basic_functions.c \
-src/c/abs.c \
-src/c/acos.c \
-src/c/asin.c \
-src/c/atan.c \
-src/c/cos.c \
-src/c/cosh.c \
-src/c/sin.c \
-src/c/sinh.c \
-src/c/tan.c \
-src/c/exp.c \
-src/c/expm.c \
-src/c/log.c \
-src/c/sqrt.c \
-src/c/cupro.c \
-src/c/sign.c \
-src/c/ceil.c \
-src/c/eye.c \
-src/c/dmsum.c \
-src/c/dsearch.c \
-src/c/floor.c \
-src/c/mprod.c \
-src/c/pythag.c \
-src/c/matrix_generation.c \
-src/c/vmul.c \
-src/c/add_vector.c \
-src/c/sub_vector.c
-
-SLATEC_SOURCES = src/fortran/slatec/zwrsk.f \
-src/fortran/slatec/d9b0mp.f \
-src/fortran/slatec/d9b1mp.f \
-src/fortran/slatec/d9knus.f \
-src/fortran/slatec/d9lgmc.f \
-src/fortran/slatec/dasyik.f \
-src/fortran/slatec/dasyjy.f \
-src/fortran/slatec/dbdiff.f \
-src/fortran/slatec/dbesi0.f \
-src/fortran/slatec/dbesi1.f \
-src/fortran/slatec/dbesi.f \
-src/fortran/slatec/dbesj0.f \
-src/fortran/slatec/dbesj1.f \
-src/fortran/slatec/dbesj.f \
-src/fortran/slatec/dbesk0.f \
-src/fortran/slatec/dbesk1.f \
-src/fortran/slatec/dbesk.f \
-src/fortran/slatec/dbesks.f \
-src/fortran/slatec/dbesy0.f \
-src/fortran/slatec/dbesy1.f \
-src/fortran/slatec/dbesy.f \
-src/fortran/slatec/dbkias.f \
-src/fortran/slatec/dbkisr.f \
-src/fortran/slatec/dbsi0e.f \
-src/fortran/slatec/dbsi1e.f \
-src/fortran/slatec/dbsk0e.f \
-src/fortran/slatec/dbsk1e.f \
-src/fortran/slatec/dbskes.f \
-src/fortran/slatec/dbskin.f \
-src/fortran/slatec/dbsknu.f \
-src/fortran/slatec/dbsynu.f \
-src/fortran/slatec/dcsevl.f \
-src/fortran/slatec/dexint.f \
-src/fortran/slatec/dgamlm.f \
-src/fortran/slatec/dgamln.f \
-src/fortran/slatec/dgamma.f \
-src/fortran/slatec/dgamrn.f \
-src/fortran/slatec/dhkseq.f \
-src/fortran/slatec/djairy.f \
-src/fortran/slatec/dpsixn.f \
-src/fortran/slatec/dxlegf.f \
-src/fortran/slatec/dyairy.f \
-src/fortran/slatec/fdump.f \
-src/fortran/slatec/gamma.f \
-src/fortran/slatec/initds.f \
-src/fortran/slatec/j4save.f \
-src/fortran/slatec/xercnt.f \
-src/fortran/slatec/xermsg.f \
-src/fortran/slatec/xerprn.f \
-src/fortran/slatec/xersve.f \
-src/fortran/slatec/xgetua.f \
-src/fortran/slatec/zabs.f \
-src/fortran/slatec/zacai.f \
-src/fortran/slatec/zacon.f \
-src/fortran/slatec/zairy.f \
-src/fortran/slatec/zasyi.f \
-src/fortran/slatec/zbesh.f \
-src/fortran/slatec/zbesi.f \
-src/fortran/slatec/zbesj.f \
-src/fortran/slatec/zbesk.f \
-src/fortran/slatec/zbesy.f \
-src/fortran/slatec/zbinu.f \
-src/fortran/slatec/zbknu.f \
-src/fortran/slatec/zbuni.f \
-src/fortran/slatec/zbunk.f \
-src/fortran/slatec/zdiv.f \
-src/fortran/slatec/zexp.f \
-src/fortran/slatec/zkscl.f \
-src/fortran/slatec/zlog.f \
-src/fortran/slatec/zmlri.f \
-src/fortran/slatec/zmlt.f \
-src/fortran/slatec/zrati.f \
-src/fortran/slatec/zs1s2.f \
-src/fortran/slatec/zseri.f \
-src/fortran/slatec/zshch.f \
-src/fortran/slatec/zsqrt.f \
-src/fortran/slatec/zuchk.f \
-src/fortran/slatec/zunhj.f \
-src/fortran/slatec/zuni1.f \
-src/fortran/slatec/zuni2.f \
-src/fortran/slatec/zunik.f \
-src/fortran/slatec/zunk1.f \
-src/fortran/slatec/zunk2.f \
-src/fortran/slatec/zuoik.f \
-src/fortran/slatec/dlngam.f \
-src/fortran/slatec/balanc.f \
-src/fortran/slatec/dtensbs.f \
-src/fortran/slatec/pchim.f
-
-LINPACK_SOURCES = src/fortran/linpack/dgesl.f \
-       src/fortran/linpack/wpade.f \
-       src/fortran/linpack/util.f \
-       src/fortran/linpack/wcopy.f \
-       src/fortran/linpack/dgefa.f \
-       src/fortran/linpack/dgbfa.f \
-       src/fortran/linpack/dgeco.f \
-       src/fortran/linpack/dgedi.f \
-       src/fortran/linpack/dqrdc.f \
-       src/fortran/linpack/dqrsl.f \
-       src/fortran/linpack/dqrsm.f \
-       src/fortran/linpack/hhdml.f \
-       src/fortran/linpack/spofa.f \
-       src/fortran/linpack/wgeco.f \
-       src/fortran/linpack/wgefa.f \
-       src/fortran/linpack/wgesl.f \
-       src/fortran/linpack/dpofa.f
-
-ELEMENTARIES_FUNCTIONS_FORTRAN_SOURCES = \
-src/fortran/psi.f \
-src/fortran/wasum.f \
-src/fortran/dexpm1.f \
-src/fortran/wwdiv.f \
-src/fortran/wdotcr.f \
-src/fortran/iset.f \
-src/fortran/franck.f \
-src/fortran/dwpowe.f \
-src/fortran/rcsort.f \
-src/fortran/wddiv.f \
-src/fortran/lnblnk.f \
-src/fortran/entier.f \
-src/fortran/round.f \
-src/fortran/cortr.f \
-src/fortran/simple.f \
-src/fortran/split.f \
-src/fortran/wdrdiv.f \
-src/fortran/imcopy.f \
-src/fortran/cbal.f \
-src/fortran/dsum.f \
-src/fortran/urand.f \
-src/fortran/intp.f \
-src/fortran/watan.f \
-src/fortran/wipowe.f \
-src/fortran/wacos.f \
-src/fortran/wdpow1.f \
-src/fortran/dlgama.f \
-src/fortran/exch.f \
-src/fortran/wsign.f \
-src/fortran/kronr.f \
-src/fortran/wrscal.f \
-src/fortran/dmmul1.f \
-src/fortran/dwpow.f \
-src/fortran/wmmul.f \
-src/fortran/ddif.f \
-src/fortran/wdiv.f \
-src/fortran/wtan.f \
-src/fortran/ccopy.f \
-src/fortran/ddpow.f \
-src/fortran/magic.f \
-src/fortran/wcerr.f \
-src/fortran/ivimp.f \
-src/fortran/dadd.f \
-src/fortran/calerf.f \
-src/fortran/isort.f \
-src/fortran/hilber.f \
-src/fortran/wdpowe.f \
-src/fortran/wmprod.f \
-src/fortran/wscal.f \
-src/fortran/dlblks.f \
-src/fortran/kronc.f \
-src/fortran/ddrdiv.f \
-src/fortran/dipow.f \
-src/fortran/wshrsl.f \
-src/fortran/wwrdiv.f \
-src/fortran/coshin.f \
-src/fortran/iwamax.f \
-src/fortran/dipowe.f \
-src/fortran/getorient.f \
-src/fortran/cusum.f \
-src/fortran/d1mach.f \
-src/fortran/wbdiag.f \
-src/fortran/ddpow1.f \
-src/fortran/vpythag.f \
-src/fortran/isova0.f \
-src/fortran/wswap.f \
-src/fortran/wwpow1.f \
-src/fortran/getdimfromvar.f \
-src/fortran/gdcp2i.f \
-src/fortran/drdiv.f \
-src/fortran/wmsum.f \
-src/fortran/corth.f \
-src/fortran/mtran.f \
-src/fortran/wwpow.f \
-src/fortran/dvmul.f \
-src/fortran/wclmat.f \
-src/fortran/dsort.f \
-src/fortran/cerr.f \
-src/fortran/rcopy.f \
-src/fortran/wdpow.f \
-src/fortran/orthes.f \
-src/fortran/waxpy.f \
-src/fortran/coef.f \
-src/fortran/dwdiv.f \
-src/fortran/arcosh.f \
-src/fortran/wasin.f \
-src/fortran/wexpm1.f \
-src/fortran/ddpowe.f \
-src/fortran/nearfloat.f \
-src/fortran/dmprod.f \
-src/fortran/wwpowe.f \
-src/fortran/wdotci.f \
-src/fortran/dmcopy.f \
-src/fortran/wexchn.f \
-src/fortran/isoval.f \
-src/fortran/dwrdiv.f \
-src/fortran/wipow.f \
-src/fortran/wlog.f \
-src/fortran/infinity.f \
-src/fortran/dwpow1.f \
-src/fortran/wmul.f \
-src/fortran/dad.f \
-src/fortran/dset.f \
-src/fortran/dtild.f \
-src/fortran/i1mach.f \
-src/fortran/dclmat.f \
-src/fortran/ortran.f \
-src/fortran/bdiag.f \
-src/fortran/wvmul.f \
-src/fortran/dmmul.f \
-src/fortran/wsqrt.f \
-src/fortran/israt.f \
-src/fortran/rat.f \
-src/fortran/old_pythag.f \
-src/fortran/sdot.f
+ELEMENTARY_FUNCTIONS_C_SOURCES = \
+    src/c/sci_tools.c \
+    src/c/finite.c \
+    src/c/vfinite.c \
+    src/c/cmp.c \
+    src/c/vceil.c \
+    src/c/xerhlt.c \
+    src/c/vfloor.c \
+    src/c/vfrexp.c \
+    src/c/scidcopy.c \
+    src/c/int2db.c \
+    src/c/rea2db.c \
+    src/c/idmax.c \
+    src/c/idmin.c \
+    src/c/gsort.c \
+    src/c/qsort.c \
+    src/c/qsort-char.c \
+    src/c/qsort-double.c \
+    src/c/qsort-int.c \
+    src/c/qsort-short.c \
+    src/c/qsort-string.c \
+    src/c/basic_functions.c \
+    src/c/abs.c \
+    src/c/acos.c \
+    src/c/asin.c \
+    src/c/atan.c \
+    src/c/cos.c \
+    src/c/cosh.c \
+    src/c/sin.c \
+    src/c/sinh.c \
+    src/c/tan.c \
+    src/c/exp.c \
+    src/c/expm.c \
+    src/c/log.c \
+    src/c/sqrt.c \
+    src/c/cupro.c \
+    src/c/sign.c \
+    src/c/ceil.c \
+    src/c/eye.c \
+    src/c/dmsum.c \
+    src/c/dsearch.c \
+    src/c/floor.c \
+    src/c/mprod.c \
+    src/c/pythag.c \
+    src/c/matrix_generation.c \
+    src/c/vmul.c \
+    src/c/add_vector.c \
+    src/c/sub_vector.c
+
+SLATEC_SOURCES = \
+       src/fortran/slatec/zwrsk.f \
+    src/fortran/slatec/d9b0mp.f \
+    src/fortran/slatec/d9b1mp.f \
+    src/fortran/slatec/d9knus.f \
+    src/fortran/slatec/d9lgmc.f \
+    src/fortran/slatec/dasyik.f \
+    src/fortran/slatec/dasyjy.f \
+    src/fortran/slatec/dbdiff.f \
+    src/fortran/slatec/dbesi0.f \
+    src/fortran/slatec/dbesi1.f \
+    src/fortran/slatec/dbesi.f \
+    src/fortran/slatec/dbesj0.f \
+    src/fortran/slatec/dbesj1.f \
+    src/fortran/slatec/dbesj.f \
+    src/fortran/slatec/dbesk0.f \
+    src/fortran/slatec/dbesk1.f \
+    src/fortran/slatec/dbesk.f \
+    src/fortran/slatec/dbesks.f \
+    src/fortran/slatec/dbesy0.f \
+    src/fortran/slatec/dbesy1.f \
+    src/fortran/slatec/dbesy.f \
+    src/fortran/slatec/dbkias.f \
+    src/fortran/slatec/dbkisr.f \
+    src/fortran/slatec/dbsi0e.f \
+    src/fortran/slatec/dbsi1e.f \
+    src/fortran/slatec/dbsk0e.f \
+    src/fortran/slatec/dbsk1e.f \
+    src/fortran/slatec/dbskes.f \
+    src/fortran/slatec/dbskin.f \
+    src/fortran/slatec/dbsknu.f \
+    src/fortran/slatec/dbsynu.f \
+    src/fortran/slatec/dcsevl.f \
+    src/fortran/slatec/dexint.f \
+    src/fortran/slatec/dgamlm.f \
+    src/fortran/slatec/dgamln.f \
+    src/fortran/slatec/dgamma.f \
+    src/fortran/slatec/dgamrn.f \
+    src/fortran/slatec/dhkseq.f \
+    src/fortran/slatec/djairy.f \
+    src/fortran/slatec/dpsixn.f \
+    src/fortran/slatec/dxlegf.f \
+    src/fortran/slatec/dyairy.f \
+    src/fortran/slatec/fdump.f \
+    src/fortran/slatec/gamma.f \
+    src/fortran/slatec/initds.f \
+    src/fortran/slatec/j4save.f \
+    src/fortran/slatec/xercnt.f \
+    src/fortran/slatec/xermsg.f \
+    src/fortran/slatec/xerprn.f \
+    src/fortran/slatec/xersve.f \
+    src/fortran/slatec/xgetua.f \
+    src/fortran/slatec/zabs.f \
+    src/fortran/slatec/zacai.f \
+    src/fortran/slatec/zacon.f \
+    src/fortran/slatec/zairy.f \
+    src/fortran/slatec/zasyi.f \
+    src/fortran/slatec/zbesh.f \
+    src/fortran/slatec/zbesi.f \
+    src/fortran/slatec/zbesj.f \
+    src/fortran/slatec/zbesk.f \
+    src/fortran/slatec/zbesy.f \
+    src/fortran/slatec/zbinu.f \
+    src/fortran/slatec/zbknu.f \
+    src/fortran/slatec/zbuni.f \
+    src/fortran/slatec/zbunk.f \
+    src/fortran/slatec/zdiv.f \
+    src/fortran/slatec/zexp.f \
+    src/fortran/slatec/zkscl.f \
+    src/fortran/slatec/zlog.f \
+    src/fortran/slatec/zmlri.f \
+    src/fortran/slatec/zmlt.f \
+    src/fortran/slatec/zrati.f \
+    src/fortran/slatec/zs1s2.f \
+    src/fortran/slatec/zseri.f \
+    src/fortran/slatec/zshch.f \
+    src/fortran/slatec/zsqrt.f \
+    src/fortran/slatec/zuchk.f \
+    src/fortran/slatec/zunhj.f \
+    src/fortran/slatec/zuni1.f \
+    src/fortran/slatec/zuni2.f \
+    src/fortran/slatec/zunik.f \
+    src/fortran/slatec/zunk1.f \
+    src/fortran/slatec/zunk2.f \
+    src/fortran/slatec/zuoik.f \
+    src/fortran/slatec/dlngam.f \
+    src/fortran/slatec/balanc.f \
+    src/fortran/slatec/dtensbs.f \
+    src/fortran/slatec/pchim.f
+
+LINPACK_SOURCES = \
+    src/fortran/linpack/dgesl.f \
+    src/fortran/linpack/wpade.f \
+    src/fortran/linpack/util.f \
+    src/fortran/linpack/wcopy.f \
+    src/fortran/linpack/dgefa.f \
+    src/fortran/linpack/dgbfa.f \
+    src/fortran/linpack/dgeco.f \
+    src/fortran/linpack/dgedi.f \
+    src/fortran/linpack/dqrdc.f \
+    src/fortran/linpack/dqrsl.f \
+    src/fortran/linpack/dqrsm.f \
+    src/fortran/linpack/hhdml.f \
+    src/fortran/linpack/spofa.f \
+    src/fortran/linpack/wgeco.f \
+    src/fortran/linpack/wgefa.f \
+    src/fortran/linpack/wgesl.f \
+    src/fortran/linpack/dpofa.f
+
+ELEMENTARY_FUNCTIONS_FORTRAN_SOURCES = \
+    src/fortran/psi.f \
+    src/fortran/wasum.f \
+    src/fortran/dexpm1.f \
+    src/fortran/wwdiv.f \
+    src/fortran/wdotcr.f \
+    src/fortran/iset.f \
+    src/fortran/franck.f \
+    src/fortran/dwpowe.f \
+    src/fortran/rcsort.f \
+    src/fortran/wddiv.f \
+    src/fortran/lnblnk.f \
+    src/fortran/entier.f \
+    src/fortran/round.f \
+    src/fortran/cortr.f \
+    src/fortran/simple.f \
+    src/fortran/split.f \
+    src/fortran/wdrdiv.f \
+    src/fortran/imcopy.f \
+    src/fortran/cbal.f \
+    src/fortran/dsum.f \
+    src/fortran/urand.f \
+    src/fortran/intp.f \
+    src/fortran/watan.f \
+    src/fortran/wipowe.f \
+    src/fortran/wacos.f \
+    src/fortran/wdpow1.f \
+    src/fortran/dlgama.f \
+    src/fortran/exch.f \
+    src/fortran/wsign.f \
+    src/fortran/kronr.f \
+    src/fortran/wrscal.f \
+    src/fortran/dmmul1.f \
+    src/fortran/dwpow.f \
+    src/fortran/wmmul.f \
+    src/fortran/ddif.f \
+    src/fortran/wdiv.f \
+    src/fortran/wtan.f \
+    src/fortran/ccopy.f \
+    src/fortran/ddpow.f \
+    src/fortran/magic.f \
+    src/fortran/wcerr.f \
+    src/fortran/ivimp.f \
+    src/fortran/dadd.f \
+    src/fortran/calerf.f \
+    src/fortran/isort.f \
+    src/fortran/hilber.f \
+    src/fortran/wdpowe.f \
+    src/fortran/wmprod.f \
+    src/fortran/wscal.f \
+    src/fortran/dlblks.f \
+    src/fortran/kronc.f \
+    src/fortran/ddrdiv.f \
+    src/fortran/dipow.f \
+    src/fortran/wshrsl.f \
+    src/fortran/wwrdiv.f \
+    src/fortran/coshin.f \
+    src/fortran/iwamax.f \
+    src/fortran/dipowe.f \
+    src/fortran/getorient.f \
+    src/fortran/cusum.f \
+    src/fortran/d1mach.f \
+    src/fortran/wbdiag.f \
+    src/fortran/ddpow1.f \
+    src/fortran/vpythag.f \
+    src/fortran/isova0.f \
+    src/fortran/wswap.f \
+    src/fortran/wwpow1.f \
+    src/fortran/getdimfromvar.f \
+    src/fortran/gdcp2i.f \
+    src/fortran/drdiv.f \
+    src/fortran/wmsum.f \
+    src/fortran/corth.f \
+    src/fortran/mtran.f \
+    src/fortran/wwpow.f \
+    src/fortran/dvmul.f \
+    src/fortran/wclmat.f \
+    src/fortran/dsort.f \
+    src/fortran/cerr.f \
+    src/fortran/rcopy.f \
+    src/fortran/wdpow.f \
+    src/fortran/orthes.f \
+    src/fortran/waxpy.f \
+    src/fortran/coef.f \
+    src/fortran/dwdiv.f \
+    src/fortran/arcosh.f \
+    src/fortran/wasin.f \
+    src/fortran/wexpm1.f \
+    src/fortran/ddpowe.f \
+    src/fortran/nearfloat.f \
+    src/fortran/dmprod.f \
+    src/fortran/wwpowe.f \
+    src/fortran/wdotci.f \
+    src/fortran/dmcopy.f \
+    src/fortran/wexchn.f \
+    src/fortran/isoval.f \
+    src/fortran/dwrdiv.f \
+    src/fortran/wipow.f \
+    src/fortran/wlog.f \
+    src/fortran/infinity.f \
+    src/fortran/dwpow1.f \
+    src/fortran/wmul.f \
+    src/fortran/dad.f \
+    src/fortran/dset.f \
+    src/fortran/dtild.f \
+    src/fortran/i1mach.f \
+    src/fortran/dclmat.f \
+    src/fortran/ortran.f \
+    src/fortran/bdiag.f \
+    src/fortran/wvmul.f \
+    src/fortran/dmmul.f \
+    src/fortran/wsqrt.f \
+    src/fortran/israt.f \
+    src/fortran/rat.f \
+    src/fortran/old_pythag.f \
+    src/fortran/sdot.f
+
+ELEMENTARY_FUNCTIONS_CPP_SOURCES = \
+    src/cpp/getmode.cpp
 
 GATEWAY_C_SOURCES = \
-sci_gateway/c/sci_matrix.c \
-sci_gateway/c/sci_prod.c \
-sci_gateway/c/sci_expm.c \
-sci_gateway/c/sci_tril.c \
-sci_gateway/c/sci_ceil.c \
-sci_gateway/c/sci_imag.c \
-sci_gateway/c/sci_log.c \
-sci_gateway/c/sci_log1p.c \
-sci_gateway/c/sci_clean.c \
-sci_gateway/c/sci_tan.c \
-sci_gateway/c/sci_atan.c \
-sci_gateway/c/sci_triu.c \
-sci_gateway/c/sci_frexp.c \
-sci_gateway/c/sci_rand.c \
-sci_gateway/c/sci_acos.c \
-sci_gateway/c/sci_cos.c \
-sci_gateway/c/sci_sin.c \
-sci_gateway/c/sci_sqrt.c \
-sci_gateway/c/sci_asin.c \
-sci_gateway/c/sci_sign.c \
-sci_gateway/c/sci_rat.c \
-sci_gateway/c/gw_elementary_functions.c \
-sci_gateway/c/sci_number_properties.c \
-sci_gateway/c/sci_diag.c \
-sci_gateway/c/sci_sum.c \
-sci_gateway/c/sci_testmatrix.c \
-sci_gateway/c/sci_abs.c \
-sci_gateway/c/sci_spones.c \
-sci_gateway/c/sci_kron.c \
-sci_gateway/c/sci_cumprod.c \
-sci_gateway/c/sci_cumsum.c \
-sci_gateway/c/sci_dsearch.c \
-sci_gateway/c/sci_nearfloat.c \
-sci_gateway/c/sci_isreal.c \
-sci_gateway/c/sci_floor.c \
-sci_gateway/c/sci_real.c \
-sci_gateway/c/sci_round.c \
-sci_gateway/c/sci_conj.c \
-sci_gateway/c/sci_int.c \
-sci_gateway/c/sci_imult.c \
-sci_gateway/c/sci_exp.c \
-sci_gateway/c/sci_maxi.c \
-sci_gateway/c/sci_gsort.c \
-sci_gateway/c/sci_chinesehat.c \
-sci_gateway/c/sci_isequalbitwise.c
+    sci_gateway/c/sci_matrix.c \
+    sci_gateway/c/sci_prod.c \
+    sci_gateway/c/sci_expm.c \
+    sci_gateway/c/sci_tril.c \
+    sci_gateway/c/sci_ceil.c \
+    sci_gateway/c/sci_imag.c \
+    sci_gateway/c/sci_log.c \
+    sci_gateway/c/sci_log1p.c \
+    sci_gateway/c/sci_clean.c \
+    sci_gateway/c/sci_tan.c \
+    sci_gateway/c/sci_atan.c \
+    sci_gateway/c/sci_triu.c \
+    sci_gateway/c/sci_frexp.c \
+    sci_gateway/c/sci_acos.c \
+    sci_gateway/c/sci_cos.c \
+    sci_gateway/c/sci_sin.c \
+    sci_gateway/c/sci_sqrt.c \
+    sci_gateway/c/sci_asin.c \
+    sci_gateway/c/sci_sign.c \
+    sci_gateway/c/sci_rat.c \
+    sci_gateway/c/gw_elementary_functions.c \
+    sci_gateway/c/sci_number_properties.c \
+    sci_gateway/c/sci_diag.c \
+    sci_gateway/c/sci_testmatrix.c \
+    sci_gateway/c/sci_abs.c \
+    sci_gateway/c/sci_spones.c \
+    sci_gateway/c/sci_kron.c \
+    sci_gateway/c/sci_cumprod.c \
+    sci_gateway/c/sci_cumsum.c \
+    sci_gateway/c/sci_dsearch.c \
+    sci_gateway/c/sci_nearfloat.c \
+    sci_gateway/c/sci_isreal.c \
+    sci_gateway/c/sci_floor.c \
+    sci_gateway/c/sci_real.c \
+    sci_gateway/c/sci_round.c \
+    sci_gateway/c/sci_conj.c \
+    sci_gateway/c/sci_int.c \
+    sci_gateway/c/sci_imult.c \
+    sci_gateway/c/sci_exp.c \
+    sci_gateway/c/sci_maxi.c \
+    sci_gateway/c/sci_gsort.c \
+    sci_gateway/c/sci_chinesehat.c \
+    sci_gateway/c/sci_isequalbitwise.c
 
 GATEWAY_FORTRAN_SOURCES = \
-sci_gateway/fortran/sci_f_maxi.f \
-sci_gateway/fortran/sci_f_testmatrix.f \
-sci_gateway/fortran/sci_f_prod.f \
-sci_gateway/fortran/sci_f_matrix.f \
-sci_gateway/fortran/sci_f_expm.f \
-sci_gateway/fortran/sci_f_size.f \
-sci_gateway/fortran/sci_f_tril.f \
-sci_gateway/fortran/sci_f_ceil.f \
-sci_gateway/fortran/sci_f_rat.f \
-sci_gateway/fortran/sci_f_imag.f \
-sci_gateway/fortran/sci_f_log.f \
-sci_gateway/fortran/sci_f_log1p.f \
-sci_gateway/fortran/sci_f_clean.f \
-sci_gateway/fortran/sci_f_eye.f \
-sci_gateway/fortran/sci_f_tan.f \
-sci_gateway/fortran/sci_f_atan.f \
-sci_gateway/fortran/sci_f_triu.f \
-sci_gateway/fortran/sci_f_frexp.f \
-sci_gateway/fortran/sci_f_cos.f \
-sci_gateway/fortran/sci_f_rand.f \
-sci_gateway/fortran/sci_f_acos.f \
-sci_gateway/fortran/sci_f_sin.f \
-sci_gateway/fortran/sci_f_sqrt.f \
-sci_gateway/fortran/sci_f_asin.f \
-sci_gateway/fortran/sci_f_sign.f \
-sci_gateway/fortran/sci_f_zeros.f \
-sci_gateway/fortran/sci_f_ones.f \
-sci_gateway/fortran/sci_f_diag.f \
-sci_gateway/fortran/sci_f_number_properties.f \
-sci_gateway/fortran/sci_f_abs.f \
-sci_gateway/fortran/sci_f_spones.f \
-sci_gateway/fortran/sci_f_kron.f \
-sci_gateway/fortran/sci_f_cumsum.f \
-sci_gateway/fortran/sci_f_nearfloat.f \
-sci_gateway/fortran/sci_f_isreal.f \
-sci_gateway/fortran/sci_f_floor.f \
-sci_gateway/fortran/sci_f_real.f \
-sci_gateway/fortran/sci_f_round.f \
-sci_gateway/fortran/sci_f_conj.f \
-sci_gateway/fortran/sci_f_int.f \
-sci_gateway/fortran/sci_f_imult.f \
-sci_gateway/fortran/sci_f_chinesehat.f \
-sci_gateway/fortran/sci_f_exp.f
+    sci_gateway/fortran/sci_f_maxi.f \
+    sci_gateway/fortran/sci_f_testmatrix.f \
+    sci_gateway/fortran/sci_f_prod.f \
+    sci_gateway/fortran/sci_f_matrix.f \
+    sci_gateway/fortran/sci_f_expm.f \
+    sci_gateway/fortran/sci_f_size.f \
+    sci_gateway/fortran/sci_f_tril.f \
+    sci_gateway/fortran/sci_f_ceil.f \
+    sci_gateway/fortran/sci_f_rat.f \
+    sci_gateway/fortran/sci_f_imag.f \
+    sci_gateway/fortran/sci_f_log.f \
+    sci_gateway/fortran/sci_f_log1p.f \
+    sci_gateway/fortran/sci_f_clean.f \
+    sci_gateway/fortran/sci_f_eye.f \
+    sci_gateway/fortran/sci_f_tan.f \
+    sci_gateway/fortran/sci_f_atan.f \
+    sci_gateway/fortran/sci_f_triu.f \
+    sci_gateway/fortran/sci_f_frexp.f \
+    sci_gateway/fortran/sci_f_cos.f \
+    sci_gateway/fortran/sci_f_rand.f \
+    sci_gateway/fortran/sci_f_acos.f \
+    sci_gateway/fortran/sci_f_sin.f \
+    sci_gateway/fortran/sci_f_sqrt.f \
+    sci_gateway/fortran/sci_f_asin.f \
+    sci_gateway/fortran/sci_f_sign.f \
+    sci_gateway/fortran/sci_f_zeros.f \
+    sci_gateway/fortran/sci_f_ones.f \
+    sci_gateway/fortran/sci_f_diag.f \
+    sci_gateway/fortran/sci_f_number_properties.f \
+    sci_gateway/fortran/sci_f_abs.f \
+    sci_gateway/fortran/sci_f_spones.f \
+    sci_gateway/fortran/sci_f_kron.f \
+    sci_gateway/fortran/sci_f_cumsum.f \
+    sci_gateway/fortran/sci_f_nearfloat.f \
+    sci_gateway/fortran/sci_f_isreal.f \
+    sci_gateway/fortran/sci_f_floor.f \
+    sci_gateway/fortran/sci_f_real.f \
+    sci_gateway/fortran/sci_f_round.f \
+    sci_gateway/fortran/sci_f_conj.f \
+    sci_gateway/fortran/sci_f_int.f \
+    sci_gateway/fortran/sci_f_imult.f \
+    sci_gateway/fortran/sci_f_chinesehat.f \
+    sci_gateway/fortran/sci_f_exp.f
 
 GATEWAY_CPP_SOURCES = \
        sci_gateway/cpp/sci_isequal.cpp \
        sci_gateway/cpp/elem_func_gw.cpp \
        sci_gateway/cpp/sci_size.cpp \
        sci_gateway/cpp/sci_eye.cpp \
+    sci_gateway/cpp/sci_rand.cpp \
+    sci_gateway/cpp/sci_sum.cpp \
     sci_gateway/cpp/sci_zeros.cpp \
     sci_gateway/cpp/sci_ones.cpp
 
-EISPACK_SOURCES = src/fortran/eispack/balbak.f
+EISPACK_SOURCES = \
+       src/fortran/eispack/balbak.f
+
 
 # Disable optimisation of the file hqror2.f comqr3.f pade.f
 noinst_LTLIBRARIES = libdummy-elementary_functions.la \
        libscielementary_functions-algo.la
-libdummy_elementary_functions_la_SOURCES = src/fortran/eispack/hqror2.f \
+libdummy_elementary_functions_la_SOURCES = \
+       src/fortran/eispack/hqror2.f \
        src/fortran/comqr3.f \
        src/fortran/linpack/pade.f \
        src/c/unsfdcopy.c \
        src/fortran/linpack/icopy.f
 
-libdummy_elementary_functions_la_FFLAGS = $(FFLAGS:-O%=)
-libdummy_elementary_functions_la_CFLAGS = $(CFLAGS:-O%=) \
+libdummy_elementary_functions_la_FFLAGS = \
+       $(FFLAGS:-O%=)
+
+libdummy_elementary_functions_la_CFLAGS = \
+       $(CFLAGS:-O%=) \
        -I$(top_srcdir)/modules/core/includes/ \
        -I$(srcdir)/includes/
 
 
 # Includes need for the compilation
-libscielementary_functions_la_FFLAGS = -I$(srcdir)/includes/
+libscielementary_functions_la_FFLAGS = \
+       -I$(srcdir)/includes/
+
 
 # Includes need for the compilation
-libscielementary_functions_la_CPPFLAGS = -I$(srcdir)/includes/ \
+libscielementary_functions_la_CPPFLAGS = \
+       -I$(srcdir)/includes/ \
        -I$(srcdir)/src/cpp/ \
        -I$(srcdir)/src/c/ \
        -I$(top_srcdir)/libs/MALLOC/includes/ \
@@ -1020,28 +1036,34 @@ libscielementary_functions_la_CPPFLAGS = -I$(srcdir)/includes/ \
        -I$(top_srcdir)/modules/types/includes \
        -I$(top_srcdir)/modules/functions_manager/includes \
        -I$(top_srcdir)/modules/ast/includes \
+       -I$(top_srcdir)/modules/threads/includes \
+       -I$(top_srcdir)/modules/system_env/includes \
+       -I$(top_srcdir)/modules/string/includes \
        -I$(top_builddir)/modules/operations/includes
 
 
 # Includes need for the compilation
-libscielementary_functions_la_CFLAGS = -I$(srcdir)/includes/ \
--I$(top_srcdir)/libs/MALLOC/includes/ \
--I$(srcdir)/src/c/ \
--I$(top_srcdir)/modules/core/src/c/ \
--I$(top_srcdir)/modules/output_stream/includes \
--I$(top_srcdir)/modules/double/includes/ \
--I$(top_srcdir)/modules/api_scilab/includes/ \
--I$(top_srcdir)/modules/operations/includes/
-
-libscielementary_functions_alogo_la_CFLAGS = $(libscielementary_functions_la_CFLAGS)
+libscielementary_functions_la_CFLAGS = \
+       -I$(srcdir)/includes/ \
+       -I$(top_srcdir)/libs/MALLOC/includes/ \
+       -I$(srcdir)/src/c/ \
+       -I$(top_srcdir)/modules/core/src/c/ \
+       -I$(top_srcdir)/modules/output_stream/includes \
+       -I$(top_srcdir)/modules/double/includes/ \
+       -I$(top_srcdir)/modules/api_scilab/includes/ \
+       -I$(top_srcdir)/modules/operations/includes/
+
+libscielementary_functions_algo_la_CFLAGS = $(libscielementary_functions_la_CFLAGS)
+libscielementary_functions_algo_la_CPPFLAGS = \
+    $(libscielementary_functions_la_CPPFLAGS)
+
 pkglib_LTLIBRARIES = libscielementary_functions.la
 libscielementary_functions_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION)
-libscielementary_functions_algo_la_SOURCES = $(SLATEC_SOURCES) $(LINPACK_SOURCES)  $(EISPACK_SOURCES) $(ELEMENTARIES_FUNCTIONS_C_SOURCES) $(ELEMENTARIES_FUNCTIONS_FORTRAN_SOURCES) $(ELEMENTARIES_FUNCTIONS_CPP_SOURCES)
+libscielementary_functions_algo_la_SOURCES = $(SLATEC_SOURCES) $(LINPACK_SOURCES)  $(EISPACK_SOURCES) $(ELEMENTARY_FUNCTIONS_C_SOURCES) $(ELEMENTARY_FUNCTIONS_FORTRAN_SOURCES) $(ELEMENTARY_FUNCTIONS_CPP_SOURCES)
 libscielementary_functions_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_FORTRAN_SOURCES) $(GATEWAY_CPP_SOURCES)
-libscielementary_functions_algo_la_CFLAGS = $(libscielementary_functions_la_CFLAGS)
 
 # For the code check (splint)
-CHECK_SRC = $(ELEMENTARIES_FUNCTIONS_C_SOURCES) $(GATEWAY_C_SOURCES)
+CHECK_SRC = $(ELEMENTARY_FUNCTIONS_C_SOURCES) $(GATEWAY_C_SOURCES)
 INCLUDE_FLAGS = $(libscielementary_functions_la_CFLAGS)
 libscielementary_functions_la_LIBADD = libdummy-elementary_functions.la libscielementary_functions-algo.la
 
@@ -1199,7 +1221,7 @@ clean-pkglibLTLIBRARIES:
 libdummy-elementary_functions.la: $(libdummy_elementary_functions_la_OBJECTS) $(libdummy_elementary_functions_la_DEPENDENCIES) 
        $(libdummy_elementary_functions_la_LINK)  $(libdummy_elementary_functions_la_OBJECTS) $(libdummy_elementary_functions_la_LIBADD) $(LIBS)
 libscielementary_functions-algo.la: $(libscielementary_functions_algo_la_OBJECTS) $(libscielementary_functions_algo_la_DEPENDENCIES) 
-       $(F77LINK)  $(libscielementary_functions_algo_la_OBJECTS) $(libscielementary_functions_algo_la_LIBADD) $(LIBS)
+       $(CXXLINK)  $(libscielementary_functions_algo_la_OBJECTS) $(libscielementary_functions_algo_la_LIBADD) $(LIBS)
 libscielementary_functions.la: $(libscielementary_functions_la_OBJECTS) $(libscielementary_functions_la_DEPENDENCIES) 
        $(libscielementary_functions_la_LINK) -rpath $(pkglibdir) $(libscielementary_functions_la_OBJECTS) $(libscielementary_functions_la_LIBADD) $(LIBS)
 
@@ -1228,6 +1250,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscielementary_functions_algo_la-eye.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscielementary_functions_algo_la-finite.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscielementary_functions_algo_la-floor.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscielementary_functions_algo_la-getmode.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscielementary_functions_algo_la-gsort.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscielementary_functions_algo_la-idmax.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscielementary_functions_algo_la-idmin.Plo@am__quote@
@@ -1331,333 +1354,333 @@ distclean-compile:
 @am__fastdepCC_FALSE@  $(LTCOMPILE) -c -o $@ $<
 
 libscielementary_functions_algo_la-sci_tools.lo: src/c/sci_tools.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-sci_tools.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-sci_tools.Tpo -c -o libscielementary_functions_algo_la-sci_tools.lo `test -f 'src/c/sci_tools.c' || echo '$(srcdir)/'`src/c/sci_tools.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-sci_tools.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-sci_tools.Tpo -c -o libscielementary_functions_algo_la-sci_tools.lo `test -f 'src/c/sci_tools.c' || echo '$(srcdir)/'`src/c/sci_tools.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-sci_tools.Tpo $(DEPDIR)/libscielementary_functions_algo_la-sci_tools.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/sci_tools.c' object='libscielementary_functions_algo_la-sci_tools.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-sci_tools.lo `test -f 'src/c/sci_tools.c' || echo '$(srcdir)/'`src/c/sci_tools.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-sci_tools.lo `test -f 'src/c/sci_tools.c' || echo '$(srcdir)/'`src/c/sci_tools.c
 
 libscielementary_functions_algo_la-finite.lo: src/c/finite.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-finite.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-finite.Tpo -c -o libscielementary_functions_algo_la-finite.lo `test -f 'src/c/finite.c' || echo '$(srcdir)/'`src/c/finite.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-finite.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-finite.Tpo -c -o libscielementary_functions_algo_la-finite.lo `test -f 'src/c/finite.c' || echo '$(srcdir)/'`src/c/finite.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-finite.Tpo $(DEPDIR)/libscielementary_functions_algo_la-finite.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/finite.c' object='libscielementary_functions_algo_la-finite.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-finite.lo `test -f 'src/c/finite.c' || echo '$(srcdir)/'`src/c/finite.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-finite.lo `test -f 'src/c/finite.c' || echo '$(srcdir)/'`src/c/finite.c
 
 libscielementary_functions_algo_la-vfinite.lo: src/c/vfinite.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-vfinite.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-vfinite.Tpo -c -o libscielementary_functions_algo_la-vfinite.lo `test -f 'src/c/vfinite.c' || echo '$(srcdir)/'`src/c/vfinite.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-vfinite.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-vfinite.Tpo -c -o libscielementary_functions_algo_la-vfinite.lo `test -f 'src/c/vfinite.c' || echo '$(srcdir)/'`src/c/vfinite.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-vfinite.Tpo $(DEPDIR)/libscielementary_functions_algo_la-vfinite.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/vfinite.c' object='libscielementary_functions_algo_la-vfinite.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-vfinite.lo `test -f 'src/c/vfinite.c' || echo '$(srcdir)/'`src/c/vfinite.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-vfinite.lo `test -f 'src/c/vfinite.c' || echo '$(srcdir)/'`src/c/vfinite.c
 
 libscielementary_functions_algo_la-cmp.lo: src/c/cmp.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-cmp.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-cmp.Tpo -c -o libscielementary_functions_algo_la-cmp.lo `test -f 'src/c/cmp.c' || echo '$(srcdir)/'`src/c/cmp.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-cmp.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-cmp.Tpo -c -o libscielementary_functions_algo_la-cmp.lo `test -f 'src/c/cmp.c' || echo '$(srcdir)/'`src/c/cmp.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-cmp.Tpo $(DEPDIR)/libscielementary_functions_algo_la-cmp.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/cmp.c' object='libscielementary_functions_algo_la-cmp.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-cmp.lo `test -f 'src/c/cmp.c' || echo '$(srcdir)/'`src/c/cmp.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-cmp.lo `test -f 'src/c/cmp.c' || echo '$(srcdir)/'`src/c/cmp.c
 
 libscielementary_functions_algo_la-vceil.lo: src/c/vceil.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-vceil.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-vceil.Tpo -c -o libscielementary_functions_algo_la-vceil.lo `test -f 'src/c/vceil.c' || echo '$(srcdir)/'`src/c/vceil.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-vceil.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-vceil.Tpo -c -o libscielementary_functions_algo_la-vceil.lo `test -f 'src/c/vceil.c' || echo '$(srcdir)/'`src/c/vceil.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-vceil.Tpo $(DEPDIR)/libscielementary_functions_algo_la-vceil.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/vceil.c' object='libscielementary_functions_algo_la-vceil.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-vceil.lo `test -f 'src/c/vceil.c' || echo '$(srcdir)/'`src/c/vceil.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-vceil.lo `test -f 'src/c/vceil.c' || echo '$(srcdir)/'`src/c/vceil.c
 
 libscielementary_functions_algo_la-xerhlt.lo: src/c/xerhlt.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-xerhlt.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-xerhlt.Tpo -c -o libscielementary_functions_algo_la-xerhlt.lo `test -f 'src/c/xerhlt.c' || echo '$(srcdir)/'`src/c/xerhlt.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-xerhlt.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-xerhlt.Tpo -c -o libscielementary_functions_algo_la-xerhlt.lo `test -f 'src/c/xerhlt.c' || echo '$(srcdir)/'`src/c/xerhlt.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-xerhlt.Tpo $(DEPDIR)/libscielementary_functions_algo_la-xerhlt.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/xerhlt.c' object='libscielementary_functions_algo_la-xerhlt.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-xerhlt.lo `test -f 'src/c/xerhlt.c' || echo '$(srcdir)/'`src/c/xerhlt.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-xerhlt.lo `test -f 'src/c/xerhlt.c' || echo '$(srcdir)/'`src/c/xerhlt.c
 
 libscielementary_functions_algo_la-vfloor.lo: src/c/vfloor.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-vfloor.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-vfloor.Tpo -c -o libscielementary_functions_algo_la-vfloor.lo `test -f 'src/c/vfloor.c' || echo '$(srcdir)/'`src/c/vfloor.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-vfloor.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-vfloor.Tpo -c -o libscielementary_functions_algo_la-vfloor.lo `test -f 'src/c/vfloor.c' || echo '$(srcdir)/'`src/c/vfloor.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-vfloor.Tpo $(DEPDIR)/libscielementary_functions_algo_la-vfloor.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/vfloor.c' object='libscielementary_functions_algo_la-vfloor.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-vfloor.lo `test -f 'src/c/vfloor.c' || echo '$(srcdir)/'`src/c/vfloor.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-vfloor.lo `test -f 'src/c/vfloor.c' || echo '$(srcdir)/'`src/c/vfloor.c
 
 libscielementary_functions_algo_la-vfrexp.lo: src/c/vfrexp.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-vfrexp.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-vfrexp.Tpo -c -o libscielementary_functions_algo_la-vfrexp.lo `test -f 'src/c/vfrexp.c' || echo '$(srcdir)/'`src/c/vfrexp.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-vfrexp.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-vfrexp.Tpo -c -o libscielementary_functions_algo_la-vfrexp.lo `test -f 'src/c/vfrexp.c' || echo '$(srcdir)/'`src/c/vfrexp.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-vfrexp.Tpo $(DEPDIR)/libscielementary_functions_algo_la-vfrexp.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/vfrexp.c' object='libscielementary_functions_algo_la-vfrexp.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-vfrexp.lo `test -f 'src/c/vfrexp.c' || echo '$(srcdir)/'`src/c/vfrexp.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-vfrexp.lo `test -f 'src/c/vfrexp.c' || echo '$(srcdir)/'`src/c/vfrexp.c
 
 libscielementary_functions_algo_la-scidcopy.lo: src/c/scidcopy.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-scidcopy.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-scidcopy.Tpo -c -o libscielementary_functions_algo_la-scidcopy.lo `test -f 'src/c/scidcopy.c' || echo '$(srcdir)/'`src/c/scidcopy.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-scidcopy.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-scidcopy.Tpo -c -o libscielementary_functions_algo_la-scidcopy.lo `test -f 'src/c/scidcopy.c' || echo '$(srcdir)/'`src/c/scidcopy.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-scidcopy.Tpo $(DEPDIR)/libscielementary_functions_algo_la-scidcopy.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/scidcopy.c' object='libscielementary_functions_algo_la-scidcopy.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-scidcopy.lo `test -f 'src/c/scidcopy.c' || echo '$(srcdir)/'`src/c/scidcopy.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-scidcopy.lo `test -f 'src/c/scidcopy.c' || echo '$(srcdir)/'`src/c/scidcopy.c
 
 libscielementary_functions_algo_la-int2db.lo: src/c/int2db.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-int2db.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-int2db.Tpo -c -o libscielementary_functions_algo_la-int2db.lo `test -f 'src/c/int2db.c' || echo '$(srcdir)/'`src/c/int2db.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-int2db.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-int2db.Tpo -c -o libscielementary_functions_algo_la-int2db.lo `test -f 'src/c/int2db.c' || echo '$(srcdir)/'`src/c/int2db.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-int2db.Tpo $(DEPDIR)/libscielementary_functions_algo_la-int2db.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/int2db.c' object='libscielementary_functions_algo_la-int2db.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-int2db.lo `test -f 'src/c/int2db.c' || echo '$(srcdir)/'`src/c/int2db.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-int2db.lo `test -f 'src/c/int2db.c' || echo '$(srcdir)/'`src/c/int2db.c
 
 libscielementary_functions_algo_la-rea2db.lo: src/c/rea2db.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-rea2db.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-rea2db.Tpo -c -o libscielementary_functions_algo_la-rea2db.lo `test -f 'src/c/rea2db.c' || echo '$(srcdir)/'`src/c/rea2db.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-rea2db.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-rea2db.Tpo -c -o libscielementary_functions_algo_la-rea2db.lo `test -f 'src/c/rea2db.c' || echo '$(srcdir)/'`src/c/rea2db.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-rea2db.Tpo $(DEPDIR)/libscielementary_functions_algo_la-rea2db.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/rea2db.c' object='libscielementary_functions_algo_la-rea2db.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-rea2db.lo `test -f 'src/c/rea2db.c' || echo '$(srcdir)/'`src/c/rea2db.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-rea2db.lo `test -f 'src/c/rea2db.c' || echo '$(srcdir)/'`src/c/rea2db.c
 
 libscielementary_functions_algo_la-idmax.lo: src/c/idmax.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-idmax.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-idmax.Tpo -c -o libscielementary_functions_algo_la-idmax.lo `test -f 'src/c/idmax.c' || echo '$(srcdir)/'`src/c/idmax.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-idmax.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-idmax.Tpo -c -o libscielementary_functions_algo_la-idmax.lo `test -f 'src/c/idmax.c' || echo '$(srcdir)/'`src/c/idmax.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-idmax.Tpo $(DEPDIR)/libscielementary_functions_algo_la-idmax.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/idmax.c' object='libscielementary_functions_algo_la-idmax.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-idmax.lo `test -f 'src/c/idmax.c' || echo '$(srcdir)/'`src/c/idmax.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-idmax.lo `test -f 'src/c/idmax.c' || echo '$(srcdir)/'`src/c/idmax.c
 
 libscielementary_functions_algo_la-idmin.lo: src/c/idmin.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-idmin.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-idmin.Tpo -c -o libscielementary_functions_algo_la-idmin.lo `test -f 'src/c/idmin.c' || echo '$(srcdir)/'`src/c/idmin.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-idmin.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-idmin.Tpo -c -o libscielementary_functions_algo_la-idmin.lo `test -f 'src/c/idmin.c' || echo '$(srcdir)/'`src/c/idmin.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-idmin.Tpo $(DEPDIR)/libscielementary_functions_algo_la-idmin.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/idmin.c' object='libscielementary_functions_algo_la-idmin.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-idmin.lo `test -f 'src/c/idmin.c' || echo '$(srcdir)/'`src/c/idmin.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-idmin.lo `test -f 'src/c/idmin.c' || echo '$(srcdir)/'`src/c/idmin.c
 
 libscielementary_functions_algo_la-gsort.lo: src/c/gsort.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-gsort.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-gsort.Tpo -c -o libscielementary_functions_algo_la-gsort.lo `test -f 'src/c/gsort.c' || echo '$(srcdir)/'`src/c/gsort.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-gsort.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-gsort.Tpo -c -o libscielementary_functions_algo_la-gsort.lo `test -f 'src/c/gsort.c' || echo '$(srcdir)/'`src/c/gsort.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-gsort.Tpo $(DEPDIR)/libscielementary_functions_algo_la-gsort.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/gsort.c' object='libscielementary_functions_algo_la-gsort.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-gsort.lo `test -f 'src/c/gsort.c' || echo '$(srcdir)/'`src/c/gsort.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-gsort.lo `test -f 'src/c/gsort.c' || echo '$(srcdir)/'`src/c/gsort.c
 
 libscielementary_functions_algo_la-qsort.lo: src/c/qsort.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-qsort.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-qsort.Tpo -c -o libscielementary_functions_algo_la-qsort.lo `test -f 'src/c/qsort.c' || echo '$(srcdir)/'`src/c/qsort.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-qsort.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-qsort.Tpo -c -o libscielementary_functions_algo_la-qsort.lo `test -f 'src/c/qsort.c' || echo '$(srcdir)/'`src/c/qsort.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-qsort.Tpo $(DEPDIR)/libscielementary_functions_algo_la-qsort.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/qsort.c' object='libscielementary_functions_algo_la-qsort.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-qsort.lo `test -f 'src/c/qsort.c' || echo '$(srcdir)/'`src/c/qsort.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-qsort.lo `test -f 'src/c/qsort.c' || echo '$(srcdir)/'`src/c/qsort.c
 
 libscielementary_functions_algo_la-qsort-char.lo: src/c/qsort-char.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-qsort-char.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-qsort-char.Tpo -c -o libscielementary_functions_algo_la-qsort-char.lo `test -f 'src/c/qsort-char.c' || echo '$(srcdir)/'`src/c/qsort-char.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-qsort-char.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-qsort-char.Tpo -c -o libscielementary_functions_algo_la-qsort-char.lo `test -f 'src/c/qsort-char.c' || echo '$(srcdir)/'`src/c/qsort-char.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-qsort-char.Tpo $(DEPDIR)/libscielementary_functions_algo_la-qsort-char.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/qsort-char.c' object='libscielementary_functions_algo_la-qsort-char.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-qsort-char.lo `test -f 'src/c/qsort-char.c' || echo '$(srcdir)/'`src/c/qsort-char.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-qsort-char.lo `test -f 'src/c/qsort-char.c' || echo '$(srcdir)/'`src/c/qsort-char.c
 
 libscielementary_functions_algo_la-qsort-double.lo: src/c/qsort-double.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-qsort-double.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-qsort-double.Tpo -c -o libscielementary_functions_algo_la-qsort-double.lo `test -f 'src/c/qsort-double.c' || echo '$(srcdir)/'`src/c/qsort-double.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-qsort-double.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-qsort-double.Tpo -c -o libscielementary_functions_algo_la-qsort-double.lo `test -f 'src/c/qsort-double.c' || echo '$(srcdir)/'`src/c/qsort-double.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-qsort-double.Tpo $(DEPDIR)/libscielementary_functions_algo_la-qsort-double.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/qsort-double.c' object='libscielementary_functions_algo_la-qsort-double.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-qsort-double.lo `test -f 'src/c/qsort-double.c' || echo '$(srcdir)/'`src/c/qsort-double.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-qsort-double.lo `test -f 'src/c/qsort-double.c' || echo '$(srcdir)/'`src/c/qsort-double.c
 
 libscielementary_functions_algo_la-qsort-int.lo: src/c/qsort-int.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-qsort-int.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-qsort-int.Tpo -c -o libscielementary_functions_algo_la-qsort-int.lo `test -f 'src/c/qsort-int.c' || echo '$(srcdir)/'`src/c/qsort-int.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-qsort-int.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-qsort-int.Tpo -c -o libscielementary_functions_algo_la-qsort-int.lo `test -f 'src/c/qsort-int.c' || echo '$(srcdir)/'`src/c/qsort-int.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-qsort-int.Tpo $(DEPDIR)/libscielementary_functions_algo_la-qsort-int.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/qsort-int.c' object='libscielementary_functions_algo_la-qsort-int.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-qsort-int.lo `test -f 'src/c/qsort-int.c' || echo '$(srcdir)/'`src/c/qsort-int.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-qsort-int.lo `test -f 'src/c/qsort-int.c' || echo '$(srcdir)/'`src/c/qsort-int.c
 
 libscielementary_functions_algo_la-qsort-short.lo: src/c/qsort-short.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-qsort-short.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-qsort-short.Tpo -c -o libscielementary_functions_algo_la-qsort-short.lo `test -f 'src/c/qsort-short.c' || echo '$(srcdir)/'`src/c/qsort-short.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-qsort-short.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-qsort-short.Tpo -c -o libscielementary_functions_algo_la-qsort-short.lo `test -f 'src/c/qsort-short.c' || echo '$(srcdir)/'`src/c/qsort-short.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-qsort-short.Tpo $(DEPDIR)/libscielementary_functions_algo_la-qsort-short.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/qsort-short.c' object='libscielementary_functions_algo_la-qsort-short.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-qsort-short.lo `test -f 'src/c/qsort-short.c' || echo '$(srcdir)/'`src/c/qsort-short.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-qsort-short.lo `test -f 'src/c/qsort-short.c' || echo '$(srcdir)/'`src/c/qsort-short.c
 
 libscielementary_functions_algo_la-qsort-string.lo: src/c/qsort-string.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-qsort-string.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-qsort-string.Tpo -c -o libscielementary_functions_algo_la-qsort-string.lo `test -f 'src/c/qsort-string.c' || echo '$(srcdir)/'`src/c/qsort-string.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-qsort-string.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-qsort-string.Tpo -c -o libscielementary_functions_algo_la-qsort-string.lo `test -f 'src/c/qsort-string.c' || echo '$(srcdir)/'`src/c/qsort-string.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-qsort-string.Tpo $(DEPDIR)/libscielementary_functions_algo_la-qsort-string.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/qsort-string.c' object='libscielementary_functions_algo_la-qsort-string.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-qsort-string.lo `test -f 'src/c/qsort-string.c' || echo '$(srcdir)/'`src/c/qsort-string.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-qsort-string.lo `test -f 'src/c/qsort-string.c' || echo '$(srcdir)/'`src/c/qsort-string.c
 
 libscielementary_functions_algo_la-basic_functions.lo: src/c/basic_functions.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-basic_functions.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-basic_functions.Tpo -c -o libscielementary_functions_algo_la-basic_functions.lo `test -f 'src/c/basic_functions.c' || echo '$(srcdir)/'`src/c/basic_functions.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-basic_functions.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-basic_functions.Tpo -c -o libscielementary_functions_algo_la-basic_functions.lo `test -f 'src/c/basic_functions.c' || echo '$(srcdir)/'`src/c/basic_functions.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-basic_functions.Tpo $(DEPDIR)/libscielementary_functions_algo_la-basic_functions.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/basic_functions.c' object='libscielementary_functions_algo_la-basic_functions.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-basic_functions.lo `test -f 'src/c/basic_functions.c' || echo '$(srcdir)/'`src/c/basic_functions.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-basic_functions.lo `test -f 'src/c/basic_functions.c' || echo '$(srcdir)/'`src/c/basic_functions.c
 
 libscielementary_functions_algo_la-abs.lo: src/c/abs.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-abs.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-abs.Tpo -c -o libscielementary_functions_algo_la-abs.lo `test -f 'src/c/abs.c' || echo '$(srcdir)/'`src/c/abs.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-abs.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-abs.Tpo -c -o libscielementary_functions_algo_la-abs.lo `test -f 'src/c/abs.c' || echo '$(srcdir)/'`src/c/abs.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-abs.Tpo $(DEPDIR)/libscielementary_functions_algo_la-abs.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/abs.c' object='libscielementary_functions_algo_la-abs.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-abs.lo `test -f 'src/c/abs.c' || echo '$(srcdir)/'`src/c/abs.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-abs.lo `test -f 'src/c/abs.c' || echo '$(srcdir)/'`src/c/abs.c
 
 libscielementary_functions_algo_la-acos.lo: src/c/acos.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-acos.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-acos.Tpo -c -o libscielementary_functions_algo_la-acos.lo `test -f 'src/c/acos.c' || echo '$(srcdir)/'`src/c/acos.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-acos.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-acos.Tpo -c -o libscielementary_functions_algo_la-acos.lo `test -f 'src/c/acos.c' || echo '$(srcdir)/'`src/c/acos.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-acos.Tpo $(DEPDIR)/libscielementary_functions_algo_la-acos.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/acos.c' object='libscielementary_functions_algo_la-acos.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-acos.lo `test -f 'src/c/acos.c' || echo '$(srcdir)/'`src/c/acos.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-acos.lo `test -f 'src/c/acos.c' || echo '$(srcdir)/'`src/c/acos.c
 
 libscielementary_functions_algo_la-asin.lo: src/c/asin.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-asin.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-asin.Tpo -c -o libscielementary_functions_algo_la-asin.lo `test -f 'src/c/asin.c' || echo '$(srcdir)/'`src/c/asin.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-asin.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-asin.Tpo -c -o libscielementary_functions_algo_la-asin.lo `test -f 'src/c/asin.c' || echo '$(srcdir)/'`src/c/asin.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-asin.Tpo $(DEPDIR)/libscielementary_functions_algo_la-asin.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/asin.c' object='libscielementary_functions_algo_la-asin.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-asin.lo `test -f 'src/c/asin.c' || echo '$(srcdir)/'`src/c/asin.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-asin.lo `test -f 'src/c/asin.c' || echo '$(srcdir)/'`src/c/asin.c
 
 libscielementary_functions_algo_la-atan.lo: src/c/atan.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-atan.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-atan.Tpo -c -o libscielementary_functions_algo_la-atan.lo `test -f 'src/c/atan.c' || echo '$(srcdir)/'`src/c/atan.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-atan.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-atan.Tpo -c -o libscielementary_functions_algo_la-atan.lo `test -f 'src/c/atan.c' || echo '$(srcdir)/'`src/c/atan.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-atan.Tpo $(DEPDIR)/libscielementary_functions_algo_la-atan.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/atan.c' object='libscielementary_functions_algo_la-atan.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-atan.lo `test -f 'src/c/atan.c' || echo '$(srcdir)/'`src/c/atan.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-atan.lo `test -f 'src/c/atan.c' || echo '$(srcdir)/'`src/c/atan.c
 
 libscielementary_functions_algo_la-cos.lo: src/c/cos.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-cos.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-cos.Tpo -c -o libscielementary_functions_algo_la-cos.lo `test -f 'src/c/cos.c' || echo '$(srcdir)/'`src/c/cos.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-cos.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-cos.Tpo -c -o libscielementary_functions_algo_la-cos.lo `test -f 'src/c/cos.c' || echo '$(srcdir)/'`src/c/cos.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-cos.Tpo $(DEPDIR)/libscielementary_functions_algo_la-cos.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/cos.c' object='libscielementary_functions_algo_la-cos.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-cos.lo `test -f 'src/c/cos.c' || echo '$(srcdir)/'`src/c/cos.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-cos.lo `test -f 'src/c/cos.c' || echo '$(srcdir)/'`src/c/cos.c
 
 libscielementary_functions_algo_la-cosh.lo: src/c/cosh.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-cosh.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-cosh.Tpo -c -o libscielementary_functions_algo_la-cosh.lo `test -f 'src/c/cosh.c' || echo '$(srcdir)/'`src/c/cosh.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-cosh.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-cosh.Tpo -c -o libscielementary_functions_algo_la-cosh.lo `test -f 'src/c/cosh.c' || echo '$(srcdir)/'`src/c/cosh.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-cosh.Tpo $(DEPDIR)/libscielementary_functions_algo_la-cosh.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/cosh.c' object='libscielementary_functions_algo_la-cosh.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-cosh.lo `test -f 'src/c/cosh.c' || echo '$(srcdir)/'`src/c/cosh.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-cosh.lo `test -f 'src/c/cosh.c' || echo '$(srcdir)/'`src/c/cosh.c
 
 libscielementary_functions_algo_la-sin.lo: src/c/sin.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-sin.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-sin.Tpo -c -o libscielementary_functions_algo_la-sin.lo `test -f 'src/c/sin.c' || echo '$(srcdir)/'`src/c/sin.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-sin.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-sin.Tpo -c -o libscielementary_functions_algo_la-sin.lo `test -f 'src/c/sin.c' || echo '$(srcdir)/'`src/c/sin.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-sin.Tpo $(DEPDIR)/libscielementary_functions_algo_la-sin.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/sin.c' object='libscielementary_functions_algo_la-sin.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-sin.lo `test -f 'src/c/sin.c' || echo '$(srcdir)/'`src/c/sin.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-sin.lo `test -f 'src/c/sin.c' || echo '$(srcdir)/'`src/c/sin.c
 
 libscielementary_functions_algo_la-sinh.lo: src/c/sinh.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-sinh.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-sinh.Tpo -c -o libscielementary_functions_algo_la-sinh.lo `test -f 'src/c/sinh.c' || echo '$(srcdir)/'`src/c/sinh.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-sinh.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-sinh.Tpo -c -o libscielementary_functions_algo_la-sinh.lo `test -f 'src/c/sinh.c' || echo '$(srcdir)/'`src/c/sinh.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-sinh.Tpo $(DEPDIR)/libscielementary_functions_algo_la-sinh.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/sinh.c' object='libscielementary_functions_algo_la-sinh.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-sinh.lo `test -f 'src/c/sinh.c' || echo '$(srcdir)/'`src/c/sinh.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-sinh.lo `test -f 'src/c/sinh.c' || echo '$(srcdir)/'`src/c/sinh.c
 
 libscielementary_functions_algo_la-tan.lo: src/c/tan.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-tan.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-tan.Tpo -c -o libscielementary_functions_algo_la-tan.lo `test -f 'src/c/tan.c' || echo '$(srcdir)/'`src/c/tan.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-tan.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-tan.Tpo -c -o libscielementary_functions_algo_la-tan.lo `test -f 'src/c/tan.c' || echo '$(srcdir)/'`src/c/tan.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-tan.Tpo $(DEPDIR)/libscielementary_functions_algo_la-tan.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/tan.c' object='libscielementary_functions_algo_la-tan.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-tan.lo `test -f 'src/c/tan.c' || echo '$(srcdir)/'`src/c/tan.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-tan.lo `test -f 'src/c/tan.c' || echo '$(srcdir)/'`src/c/tan.c
 
 libscielementary_functions_algo_la-exp.lo: src/c/exp.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-exp.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-exp.Tpo -c -o libscielementary_functions_algo_la-exp.lo `test -f 'src/c/exp.c' || echo '$(srcdir)/'`src/c/exp.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-exp.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-exp.Tpo -c -o libscielementary_functions_algo_la-exp.lo `test -f 'src/c/exp.c' || echo '$(srcdir)/'`src/c/exp.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-exp.Tpo $(DEPDIR)/libscielementary_functions_algo_la-exp.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/exp.c' object='libscielementary_functions_algo_la-exp.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-exp.lo `test -f 'src/c/exp.c' || echo '$(srcdir)/'`src/c/exp.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-exp.lo `test -f 'src/c/exp.c' || echo '$(srcdir)/'`src/c/exp.c
 
 libscielementary_functions_algo_la-expm.lo: src/c/expm.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-expm.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-expm.Tpo -c -o libscielementary_functions_algo_la-expm.lo `test -f 'src/c/expm.c' || echo '$(srcdir)/'`src/c/expm.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-expm.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-expm.Tpo -c -o libscielementary_functions_algo_la-expm.lo `test -f 'src/c/expm.c' || echo '$(srcdir)/'`src/c/expm.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-expm.Tpo $(DEPDIR)/libscielementary_functions_algo_la-expm.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/expm.c' object='libscielementary_functions_algo_la-expm.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-expm.lo `test -f 'src/c/expm.c' || echo '$(srcdir)/'`src/c/expm.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-expm.lo `test -f 'src/c/expm.c' || echo '$(srcdir)/'`src/c/expm.c
 
 libscielementary_functions_algo_la-log.lo: src/c/log.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-log.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-log.Tpo -c -o libscielementary_functions_algo_la-log.lo `test -f 'src/c/log.c' || echo '$(srcdir)/'`src/c/log.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-log.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-log.Tpo -c -o libscielementary_functions_algo_la-log.lo `test -f 'src/c/log.c' || echo '$(srcdir)/'`src/c/log.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-log.Tpo $(DEPDIR)/libscielementary_functions_algo_la-log.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/log.c' object='libscielementary_functions_algo_la-log.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-log.lo `test -f 'src/c/log.c' || echo '$(srcdir)/'`src/c/log.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-log.lo `test -f 'src/c/log.c' || echo '$(srcdir)/'`src/c/log.c
 
 libscielementary_functions_algo_la-sqrt.lo: src/c/sqrt.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-sqrt.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-sqrt.Tpo -c -o libscielementary_functions_algo_la-sqrt.lo `test -f 'src/c/sqrt.c' || echo '$(srcdir)/'`src/c/sqrt.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-sqrt.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-sqrt.Tpo -c -o libscielementary_functions_algo_la-sqrt.lo `test -f 'src/c/sqrt.c' || echo '$(srcdir)/'`src/c/sqrt.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-sqrt.Tpo $(DEPDIR)/libscielementary_functions_algo_la-sqrt.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/sqrt.c' object='libscielementary_functions_algo_la-sqrt.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-sqrt.lo `test -f 'src/c/sqrt.c' || echo '$(srcdir)/'`src/c/sqrt.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-sqrt.lo `test -f 'src/c/sqrt.c' || echo '$(srcdir)/'`src/c/sqrt.c
 
 libscielementary_functions_algo_la-cupro.lo: src/c/cupro.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-cupro.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-cupro.Tpo -c -o libscielementary_functions_algo_la-cupro.lo `test -f 'src/c/cupro.c' || echo '$(srcdir)/'`src/c/cupro.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-cupro.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-cupro.Tpo -c -o libscielementary_functions_algo_la-cupro.lo `test -f 'src/c/cupro.c' || echo '$(srcdir)/'`src/c/cupro.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-cupro.Tpo $(DEPDIR)/libscielementary_functions_algo_la-cupro.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/cupro.c' object='libscielementary_functions_algo_la-cupro.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-cupro.lo `test -f 'src/c/cupro.c' || echo '$(srcdir)/'`src/c/cupro.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-cupro.lo `test -f 'src/c/cupro.c' || echo '$(srcdir)/'`src/c/cupro.c
 
 libscielementary_functions_algo_la-sign.lo: src/c/sign.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-sign.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-sign.Tpo -c -o libscielementary_functions_algo_la-sign.lo `test -f 'src/c/sign.c' || echo '$(srcdir)/'`src/c/sign.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-sign.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-sign.Tpo -c -o libscielementary_functions_algo_la-sign.lo `test -f 'src/c/sign.c' || echo '$(srcdir)/'`src/c/sign.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-sign.Tpo $(DEPDIR)/libscielementary_functions_algo_la-sign.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/sign.c' object='libscielementary_functions_algo_la-sign.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-sign.lo `test -f 'src/c/sign.c' || echo '$(srcdir)/'`src/c/sign.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-sign.lo `test -f 'src/c/sign.c' || echo '$(srcdir)/'`src/c/sign.c
 
 libscielementary_functions_algo_la-ceil.lo: src/c/ceil.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-ceil.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-ceil.Tpo -c -o libscielementary_functions_algo_la-ceil.lo `test -f 'src/c/ceil.c' || echo '$(srcdir)/'`src/c/ceil.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-ceil.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-ceil.Tpo -c -o libscielementary_functions_algo_la-ceil.lo `test -f 'src/c/ceil.c' || echo '$(srcdir)/'`src/c/ceil.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-ceil.Tpo $(DEPDIR)/libscielementary_functions_algo_la-ceil.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/ceil.c' object='libscielementary_functions_algo_la-ceil.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-ceil.lo `test -f 'src/c/ceil.c' || echo '$(srcdir)/'`src/c/ceil.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-ceil.lo `test -f 'src/c/ceil.c' || echo '$(srcdir)/'`src/c/ceil.c
 
 libscielementary_functions_algo_la-eye.lo: src/c/eye.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-eye.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-eye.Tpo -c -o libscielementary_functions_algo_la-eye.lo `test -f 'src/c/eye.c' || echo '$(srcdir)/'`src/c/eye.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-eye.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-eye.Tpo -c -o libscielementary_functions_algo_la-eye.lo `test -f 'src/c/eye.c' || echo '$(srcdir)/'`src/c/eye.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-eye.Tpo $(DEPDIR)/libscielementary_functions_algo_la-eye.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/eye.c' object='libscielementary_functions_algo_la-eye.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-eye.lo `test -f 'src/c/eye.c' || echo '$(srcdir)/'`src/c/eye.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-eye.lo `test -f 'src/c/eye.c' || echo '$(srcdir)/'`src/c/eye.c
 
 libscielementary_functions_algo_la-dmsum.lo: src/c/dmsum.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-dmsum.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-dmsum.Tpo -c -o libscielementary_functions_algo_la-dmsum.lo `test -f 'src/c/dmsum.c' || echo '$(srcdir)/'`src/c/dmsum.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-dmsum.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-dmsum.Tpo -c -o libscielementary_functions_algo_la-dmsum.lo `test -f 'src/c/dmsum.c' || echo '$(srcdir)/'`src/c/dmsum.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-dmsum.Tpo $(DEPDIR)/libscielementary_functions_algo_la-dmsum.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/dmsum.c' object='libscielementary_functions_algo_la-dmsum.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-dmsum.lo `test -f 'src/c/dmsum.c' || echo '$(srcdir)/'`src/c/dmsum.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-dmsum.lo `test -f 'src/c/dmsum.c' || echo '$(srcdir)/'`src/c/dmsum.c
 
 libscielementary_functions_algo_la-dsearch.lo: src/c/dsearch.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-dsearch.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-dsearch.Tpo -c -o libscielementary_functions_algo_la-dsearch.lo `test -f 'src/c/dsearch.c' || echo '$(srcdir)/'`src/c/dsearch.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-dsearch.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-dsearch.Tpo -c -o libscielementary_functions_algo_la-dsearch.lo `test -f 'src/c/dsearch.c' || echo '$(srcdir)/'`src/c/dsearch.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-dsearch.Tpo $(DEPDIR)/libscielementary_functions_algo_la-dsearch.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/dsearch.c' object='libscielementary_functions_algo_la-dsearch.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-dsearch.lo `test -f 'src/c/dsearch.c' || echo '$(srcdir)/'`src/c/dsearch.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-dsearch.lo `test -f 'src/c/dsearch.c' || echo '$(srcdir)/'`src/c/dsearch.c
 
 libscielementary_functions_algo_la-floor.lo: src/c/floor.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-floor.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-floor.Tpo -c -o libscielementary_functions_algo_la-floor.lo `test -f 'src/c/floor.c' || echo '$(srcdir)/'`src/c/floor.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-floor.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-floor.Tpo -c -o libscielementary_functions_algo_la-floor.lo `test -f 'src/c/floor.c' || echo '$(srcdir)/'`src/c/floor.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-floor.Tpo $(DEPDIR)/libscielementary_functions_algo_la-floor.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/floor.c' object='libscielementary_functions_algo_la-floor.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-floor.lo `test -f 'src/c/floor.c' || echo '$(srcdir)/'`src/c/floor.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-floor.lo `test -f 'src/c/floor.c' || echo '$(srcdir)/'`src/c/floor.c
 
 libscielementary_functions_algo_la-mprod.lo: src/c/mprod.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-mprod.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-mprod.Tpo -c -o libscielementary_functions_algo_la-mprod.lo `test -f 'src/c/mprod.c' || echo '$(srcdir)/'`src/c/mprod.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-mprod.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-mprod.Tpo -c -o libscielementary_functions_algo_la-mprod.lo `test -f 'src/c/mprod.c' || echo '$(srcdir)/'`src/c/mprod.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-mprod.Tpo $(DEPDIR)/libscielementary_functions_algo_la-mprod.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/mprod.c' object='libscielementary_functions_algo_la-mprod.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-mprod.lo `test -f 'src/c/mprod.c' || echo '$(srcdir)/'`src/c/mprod.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-mprod.lo `test -f 'src/c/mprod.c' || echo '$(srcdir)/'`src/c/mprod.c
 
 libscielementary_functions_algo_la-pythag.lo: src/c/pythag.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-pythag.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-pythag.Tpo -c -o libscielementary_functions_algo_la-pythag.lo `test -f 'src/c/pythag.c' || echo '$(srcdir)/'`src/c/pythag.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-pythag.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-pythag.Tpo -c -o libscielementary_functions_algo_la-pythag.lo `test -f 'src/c/pythag.c' || echo '$(srcdir)/'`src/c/pythag.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-pythag.Tpo $(DEPDIR)/libscielementary_functions_algo_la-pythag.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/pythag.c' object='libscielementary_functions_algo_la-pythag.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-pythag.lo `test -f 'src/c/pythag.c' || echo '$(srcdir)/'`src/c/pythag.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-pythag.lo `test -f 'src/c/pythag.c' || echo '$(srcdir)/'`src/c/pythag.c
 
 libscielementary_functions_algo_la-matrix_generation.lo: src/c/matrix_generation.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-matrix_generation.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-matrix_generation.Tpo -c -o libscielementary_functions_algo_la-matrix_generation.lo `test -f 'src/c/matrix_generation.c' || echo '$(srcdir)/'`src/c/matrix_generation.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-matrix_generation.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-matrix_generation.Tpo -c -o libscielementary_functions_algo_la-matrix_generation.lo `test -f 'src/c/matrix_generation.c' || echo '$(srcdir)/'`src/c/matrix_generation.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-matrix_generation.Tpo $(DEPDIR)/libscielementary_functions_algo_la-matrix_generation.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/matrix_generation.c' object='libscielementary_functions_algo_la-matrix_generation.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-matrix_generation.lo `test -f 'src/c/matrix_generation.c' || echo '$(srcdir)/'`src/c/matrix_generation.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-matrix_generation.lo `test -f 'src/c/matrix_generation.c' || echo '$(srcdir)/'`src/c/matrix_generation.c
 
 libscielementary_functions_algo_la-vmul.lo: src/c/vmul.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-vmul.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-vmul.Tpo -c -o libscielementary_functions_algo_la-vmul.lo `test -f 'src/c/vmul.c' || echo '$(srcdir)/'`src/c/vmul.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-vmul.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-vmul.Tpo -c -o libscielementary_functions_algo_la-vmul.lo `test -f 'src/c/vmul.c' || echo '$(srcdir)/'`src/c/vmul.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-vmul.Tpo $(DEPDIR)/libscielementary_functions_algo_la-vmul.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/vmul.c' object='libscielementary_functions_algo_la-vmul.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-vmul.lo `test -f 'src/c/vmul.c' || echo '$(srcdir)/'`src/c/vmul.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-vmul.lo `test -f 'src/c/vmul.c' || echo '$(srcdir)/'`src/c/vmul.c
 
 libscielementary_functions_algo_la-add_vector.lo: src/c/add_vector.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-add_vector.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-add_vector.Tpo -c -o libscielementary_functions_algo_la-add_vector.lo `test -f 'src/c/add_vector.c' || echo '$(srcdir)/'`src/c/add_vector.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-add_vector.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-add_vector.Tpo -c -o libscielementary_functions_algo_la-add_vector.lo `test -f 'src/c/add_vector.c' || echo '$(srcdir)/'`src/c/add_vector.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-add_vector.Tpo $(DEPDIR)/libscielementary_functions_algo_la-add_vector.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/add_vector.c' object='libscielementary_functions_algo_la-add_vector.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-add_vector.lo `test -f 'src/c/add_vector.c' || echo '$(srcdir)/'`src/c/add_vector.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-add_vector.lo `test -f 'src/c/add_vector.c' || echo '$(srcdir)/'`src/c/add_vector.c
 
 libscielementary_functions_algo_la-sub_vector.lo: src/c/sub_vector.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-sub_vector.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-sub_vector.Tpo -c -o libscielementary_functions_algo_la-sub_vector.lo `test -f 'src/c/sub_vector.c' || echo '$(srcdir)/'`src/c/sub_vector.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_algo_la-sub_vector.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-sub_vector.Tpo -c -o libscielementary_functions_algo_la-sub_vector.lo `test -f 'src/c/sub_vector.c' || echo '$(srcdir)/'`src/c/sub_vector.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-sub_vector.Tpo $(DEPDIR)/libscielementary_functions_algo_la-sub_vector.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='src/c/sub_vector.c' object='libscielementary_functions_algo_la-sub_vector.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-sub_vector.lo `test -f 'src/c/sub_vector.c' || echo '$(srcdir)/'`src/c/sub_vector.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_algo_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_algo_la-sub_vector.lo `test -f 'src/c/sub_vector.c' || echo '$(srcdir)/'`src/c/sub_vector.c
 
 libscielementary_functions_la-sci_matrix.lo: sci_gateway/c/sci_matrix.c
 @am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_la-sci_matrix.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_la-sci_matrix.Tpo -c -o libscielementary_functions_la-sci_matrix.lo `test -f 'sci_gateway/c/sci_matrix.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matrix.c
@@ -1750,13 +1773,6 @@ libscielementary_functions_la-sci_frexp.lo: sci_gateway/c/sci_frexp.c
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_la-sci_frexp.lo `test -f 'sci_gateway/c/sci_frexp.c' || echo '$(srcdir)/'`sci_gateway/c/sci_frexp.c
 
-libscielementary_functions_la-sci_rand.lo: sci_gateway/c/sci_rand.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_la-sci_rand.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_la-sci_rand.Tpo -c -o libscielementary_functions_la-sci_rand.lo `test -f 'sci_gateway/c/sci_rand.c' || echo '$(srcdir)/'`sci_gateway/c/sci_rand.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_la-sci_rand.Tpo $(DEPDIR)/libscielementary_functions_la-sci_rand.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_rand.c' object='libscielementary_functions_la-sci_rand.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_la-sci_rand.lo `test -f 'sci_gateway/c/sci_rand.c' || echo '$(srcdir)/'`sci_gateway/c/sci_rand.c
-
 libscielementary_functions_la-sci_acos.lo: sci_gateway/c/sci_acos.c
 @am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_la-sci_acos.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_la-sci_acos.Tpo -c -o libscielementary_functions_la-sci_acos.lo `test -f 'sci_gateway/c/sci_acos.c' || echo '$(srcdir)/'`sci_gateway/c/sci_acos.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_la-sci_acos.Tpo $(DEPDIR)/libscielementary_functions_la-sci_acos.Plo
@@ -1827,13 +1843,6 @@ libscielementary_functions_la-sci_diag.lo: sci_gateway/c/sci_diag.c
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_la-sci_diag.lo `test -f 'sci_gateway/c/sci_diag.c' || echo '$(srcdir)/'`sci_gateway/c/sci_diag.c
 
-libscielementary_functions_la-sci_sum.lo: sci_gateway/c/sci_sum.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_la-sci_sum.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_la-sci_sum.Tpo -c -o libscielementary_functions_la-sci_sum.lo `test -f 'sci_gateway/c/sci_sum.c' || echo '$(srcdir)/'`sci_gateway/c/sci_sum.c
-@am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_la-sci_sum.Tpo $(DEPDIR)/libscielementary_functions_la-sci_sum.Plo
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_sum.c' object='libscielementary_functions_la-sci_sum.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_la_CFLAGS) $(CFLAGS) -c -o libscielementary_functions_la-sci_sum.lo `test -f 'sci_gateway/c/sci_sum.c' || echo '$(srcdir)/'`sci_gateway/c/sci_sum.c
-
 libscielementary_functions_la-sci_testmatrix.lo: sci_gateway/c/sci_testmatrix.c
 @am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_la_CPPFLAGS) $(CPPFLAGS) $(libscielementary_functions_la_CFLAGS) $(CFLAGS) -MT libscielementary_functions_la-sci_testmatrix.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_la-sci_testmatrix.Tpo -c -o libscielementary_functions_la-sci_testmatrix.lo `test -f 'sci_gateway/c/sci_testmatrix.c' || echo '$(srcdir)/'`sci_gateway/c/sci_testmatrix.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscielementary_functions_la-sci_testmatrix.Tpo $(DEPDIR)/libscielementary_functions_la-sci_testmatrix.Plo
@@ -1995,6 +2004,13 @@ libscielementary_functions_la-sci_isequalbitwise.lo: sci_gateway/c/sci_isequalbi
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
 
+libscielementary_functions_algo_la-getmode.lo: src/cpp/getmode.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscielementary_functions_algo_la-getmode.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_algo_la-getmode.Tpo -c -o libscielementary_functions_algo_la-getmode.lo `test -f 'src/cpp/getmode.cpp' || echo '$(srcdir)/'`src/cpp/getmode.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscielementary_functions_algo_la-getmode.Tpo $(DEPDIR)/libscielementary_functions_algo_la-getmode.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='src/cpp/getmode.cpp' object='libscielementary_functions_algo_la-getmode.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscielementary_functions_algo_la-getmode.lo `test -f 'src/cpp/getmode.cpp' || echo '$(srcdir)/'`src/cpp/getmode.cpp
+
 libscielementary_functions_la-sci_isequal.lo: sci_gateway/cpp/sci_isequal.cpp
 @am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscielementary_functions_la-sci_isequal.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_la-sci_isequal.Tpo -c -o libscielementary_functions_la-sci_isequal.lo `test -f 'sci_gateway/cpp/sci_isequal.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_isequal.cpp
 @am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscielementary_functions_la-sci_isequal.Tpo $(DEPDIR)/libscielementary_functions_la-sci_isequal.Plo
@@ -2023,6 +2039,20 @@ libscielementary_functions_la-sci_eye.lo: sci_gateway/cpp/sci_eye.cpp
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscielementary_functions_la-sci_eye.lo `test -f 'sci_gateway/cpp/sci_eye.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_eye.cpp
 
+libscielementary_functions_la-sci_rand.lo: sci_gateway/cpp/sci_rand.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscielementary_functions_la-sci_rand.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_la-sci_rand.Tpo -c -o libscielementary_functions_la-sci_rand.lo `test -f 'sci_gateway/cpp/sci_rand.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_rand.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscielementary_functions_la-sci_rand.Tpo $(DEPDIR)/libscielementary_functions_la-sci_rand.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_rand.cpp' object='libscielementary_functions_la-sci_rand.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscielementary_functions_la-sci_rand.lo `test -f 'sci_gateway/cpp/sci_rand.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_rand.cpp
+
+libscielementary_functions_la-sci_sum.lo: sci_gateway/cpp/sci_sum.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscielementary_functions_la-sci_sum.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_la-sci_sum.Tpo -c -o libscielementary_functions_la-sci_sum.lo `test -f 'sci_gateway/cpp/sci_sum.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_sum.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscielementary_functions_la-sci_sum.Tpo $(DEPDIR)/libscielementary_functions_la-sci_sum.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/sci_sum.cpp' object='libscielementary_functions_la-sci_sum.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscielementary_functions_la-sci_sum.lo `test -f 'sci_gateway/cpp/sci_sum.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_sum.cpp
+
 libscielementary_functions_la-sci_zeros.lo: sci_gateway/cpp/sci_zeros.cpp
 @am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscielementary_functions_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscielementary_functions_la-sci_zeros.lo -MD -MP -MF $(DEPDIR)/libscielementary_functions_la-sci_zeros.Tpo -c -o libscielementary_functions_la-sci_zeros.lo `test -f 'sci_gateway/cpp/sci_zeros.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/sci_zeros.cpp
 @am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscielementary_functions_la-sci_zeros.Tpo $(DEPDIR)/libscielementary_functions_la-sci_zeros.Plo
@@ -3125,20 +3155,20 @@ uninstall-am: uninstall-libscielementary_functions_la_etcDATA \
 # Commented because it is one of the first module to be compiled
 #libdummy-elementary_functions.la   $(top_builddir)/modules/polynomials/libscipolynomials.la $(top_builddir)/libs/blas/libsciblas.la $(top_builddir)/modules/sparse/libscisparse.la $(top_builddir)/modules/string/libscistring.la $(top_builddir)/libs/MALLOC/libscimalloc.la $(top_builddir)/modules/output_stream/libscioutput_stream.la $(top_builddir)/libs/lapack/libscilapack.la $(top_builddir)/modules/integer/libsciinteger.la  $(top_builddir)/modules/cacsd/libscicacsd.la
 
-libdummy_elementary_functions_la-hqror2.lo: src/fortran/eispack/hqror2.f
-       $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-hqror2.lo `test -f 'src/fortran/eispack/hqror2.f' || echo '$(srcdir)/'`src/fortran/eispack/hqror2.f
+libdummy_elementary_functions_la-hqror2.lo:     src/fortran/eispack/hqror2.f
+       $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-hqror2.lo `test -f '    src/fortran/eispack/hqror2.f' || echo '$(srcdir)/'`    src/fortran/eispack/hqror2.f
 
-libdummy_elementary_functions_la-comqr3.lo: src/fortran/comqr3.f
-       $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-comqr3.lo `test -f 'src/fortran/comqr3.f' || echo '$(srcdir)/'`src/fortran/comqr3.f
+libdummy_elementary_functions_la-comqr3.lo:     src/fortran/comqr3.f
+       $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-comqr3.lo `test -f '    src/fortran/comqr3.f' || echo '$(srcdir)/'`    src/fortran/comqr3.f
 
-libdummy_elementary_functions_la-pade.lo: src/fortran/linpack/pade.f
-       $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-pade.lo `test -f 'src/fortran/linpack/pade.f' || echo '$(srcdir)/'`src/fortran/linpack/pade.f
+libdummy_elementary_functions_la-pade.lo:     src/fortran/linpack/pade.f
+       $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-pade.lo `test -f '    src/fortran/linpack/pade.f' || echo '$(srcdir)/'`    src/fortran/linpack/pade.f
 
 libdummy_elementary_functions_la-unsfdcopy.lo: src/c/unsfdcopy.c
        $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFAULT_INCLUDES) $(libdummy_elementary_functions_la_CFLAGS) -c -o libdummy_elementary_functions_la-unsfdcopy.lo `test -f 'src/c/unsfdcopy.c' || echo '$(srcdir)/'`src/c/unsfdcopy.c
 
-libdummy_elementary_functions_la-icopy.lo: src/fortran/linpack/icopy.f
-       $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-icopy.lo `test -f 'src/fortran/linpack/icopy.f' || echo '$(srcdir)/'`src/fortran/linpack/icopy.f
+libdummy_elementary_functions_la-icopy.lo:     src/fortran/linpack/icopy.f
+       $(LIBTOOL) --tag=F77 --mode=compile $(F77) $(libdummy_elementary_functions_la_FFLAGS) -c -o libdummy_elementary_functions_la-icopy.lo `test -f '    src/fortran/linpack/icopy.f' || echo '$(srcdir)/'`    src/fortran/linpack/icopy.f
 
 # This target enables tests for Scilab
 check-local: $(top_builddir)/scilab-bin test
index 7c23b16..86b65af 100644 (file)
@@ -16,6 +16,7 @@
 #include <stdlib.h>
 #include <math.h>
 
+#include "dynlib_elementary_functions.h"
 #include "BOOL.h"
 #include "elem_common.h"
 
@@ -55,7 +56,7 @@ double dblNearFloat(double _dblVal, double _dblMode);
 void vDmProd(int _iMode, double* _pdblIn, int _iLeadDim, int _iRows, int _iCols, double* _pdblOut, int _iInc);
 void vWDmProd(int _iMode, double* _pdblIn1, double* _pdblIn2, int _iLeadDim, int _iRows, int _iCols, double* _pdblOut1, double* _pdblOut2, int _iInc);
 
-double durands(int *_iVal);
+ELEMENTARY_FUNCTIONS_IMPEXP double durands(int *_iVal);
 int nint(double _iVal);
 double danints(double _dblVal);
 
index 8c8c7b1..bbc7228 100644 (file)
@@ -61,7 +61,7 @@ extern double C2F(dlamch)  (char *_pszCommand, unsigned long int);
 extern double C2F(logp1) (double *_pdblVal);
 extern int C2F(dgemm)();
 extern int C2F(dswap)();
-extern double C2F(dasum)();
+extern double C2F(dasum)(int* _iSize, double* _pdbl, int* _iInc);
 extern int C2F(dcopy)(int *_iSize, double *_pdblSrc, int* _piIncSrc, double *_pdblDest, int *_piDest);
 extern int C2F(dscal)(int *_iSize, double *_pdblVal, double *_pdblDest, int *_iInc);
 extern int C2F(zscal)(int *_iSize, doublecomplex *_pdblVal, doublecomplex *_pdblDest, int *_iInc);
index 48d8d9f..fd96c92 100644 (file)
@@ -40,5 +40,7 @@ CPP_GATEWAY_PROTOTYPE(sci_size);
 CPP_GATEWAY_PROTOTYPE(sci_eye);
 CPP_GATEWAY_PROTOTYPE(sci_zeros);
 CPP_GATEWAY_PROTOTYPE(sci_ones);
+CPP_GATEWAY_PROTOTYPE(sci_rand);
+CPP_GATEWAY_PROTOTYPE(sci_sum);
 
 #endif /* __ELEM_FUNC_GW_HXX__ */
diff --git a/scilab/modules/elementary_functions/includes/getmode.hxx b/scilab/modules/elementary_functions/includes/getmode.hxx
new file mode 100644 (file)
index 0000000..62898e3
--- /dev/null
@@ -0,0 +1,21 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2011 - DIGITEO - Antoine ELIAS
+ *
+ * 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 __GETMODE_HXX__
+#define __GETMODE_HXX__
+#include "internal.hxx"
+
+int getMode(types::typed_list &in, int _iProcess, int _iRef);
+
+
+#endif /* !__GETMODE_HXX__ */
index cae1594..902daa9 100644 (file)
@@ -44,7 +44,6 @@ ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_gsort);
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_imag);
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_imult);
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_int);
-//ELEMENTARY_FUNCTIONS_IMPEXP int sci_isequal(char *fname, int* _piKey); C++ interface
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_isreal);
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_kron);
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_log);
@@ -55,13 +54,12 @@ ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_mini);
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_nearfloat);
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_number_properties);
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_prod);
-ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_rand);
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_real);
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_round);
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_sign);
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_sin);
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_sqrt);
-ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_sum);
+//ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_sum);
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_tan);
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_testmatrix);
 ELEMENTARY_FUNCTIONS_IMPEXP C_GATEWAY_PROTOTYPE(sci_tril);
index 8c96a3e..3d97fe4 100644 (file)
 #include "api_scilab.h"
 #include "api_oldstack.h"
 
-#define Ran1           siRandSave              //old C2F(com).ran[0]
-#define Ran2           siRandType              //old C2F(com).ran[1]
-
-const char g_pstConfigInfo[] = {"info"};
-const char g_pstConfigSeed[] = {"seed"};
-
-const char g_pstTypeUniform[] = {"uniform"};
-const char g_pstTypeNormal[] = {"normal"};
-
-int setRandType(char _cType);
-double getNextRandValue(int _iRandType, int* _piRandSave, int _iForceInit);
-
 /*--------------------------------------------------------------------------*/
 int sci_rand(char *fname, int* _piKey)
 {
@@ -280,57 +268,3 @@ int sci_rand(char *fname, int* _piKey)
        PutLhsVar();
        return 0;
 }
-
-double getNextRandValue(int _iRandType, int* _piRandSave, int _iForceInit)
-{
-       static int siInit                               = TRUE;
-       static double sdblImg           = 0;
-       static double sdblR                     = 0;
-       double dblReal                                  = 0;
-       double dblVal                                           = 0;
-       double dblTemp                                  = 2;
-
-       if(_iForceInit)
-       {
-               siInit = TRUE;
-       }
-
-       if(_iRandType == 0)
-       {
-               dblVal = durands(_piRandSave);
-       }
-       else
-       {
-               if(siInit == TRUE)
-               {
-                       while(dblTemp > 1)
-                       {
-                               dblReal = 2 * durands(_piRandSave) - 1;
-                               sdblImg = 2 * durands(_piRandSave) - 1;
-                               dblTemp = dblReal * dblReal + sdblImg * sdblImg;
-                       }
-                       sdblR                   = dsqrts(-2 * dlogs(dblTemp) / dblTemp);
-                       dblVal          = dblReal * sdblR;
-               }
-               else
-               {
-                       dblVal  = sdblImg * sdblR;
-               }
-               siInit = !siInit;
-       }
-       return dblVal;
-}
-
-int setRandType(char _cType)
-{
-       switch(_cType)
-       {
-       case 'g' :
-       case 'n' :
-               return 1;
-               break;
-       default :
-               return 0;
-       }
-}
-/*--------------------------------------------------------------------------*/
index e4638e3..598080d 100644 (file)
@@ -76,7 +76,7 @@
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
     <ClCompile>
       <Optimization>Disabled</Optimization>
-      <AdditionalIncludeDirectories>..\..\..\includes;..\..\..\..\functions_manager\includes;..\..\..\..\symbol\includes;..\..\..\..\types\includes;..\..\..\..\operations\includes;..\..\..\..\core\includes;../../../../ast/includes;../../../../api_scilab/includes;../../../../output_stream/includes;../../../../localization/includes;../../../../../libs/intl/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>..\..\..\includes;..\..\..\..\functions_manager\includes;..\..\..\..\symbol\includes;..\..\..\..\types\includes;..\..\..\..\operations\includes;..\..\..\..\core\includes;../../../../ast/includes;../../../../api_scilab/includes;../../../../output_stream/includes;../../../../localization/includes;../../../../../libs/intl/;../../../../threads/includes;../../../../system_env/includes;../../../../string/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;ELEM_FUNC_GW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <MinimalRebuild>true</MinimalRebuild>
       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
     </Midl>
     <ClCompile>
       <Optimization>Disabled</Optimization>
-      <AdditionalIncludeDirectories>..\..\..\includes;..\..\..\..\functions_manager\includes;..\..\..\..\symbol\includes;..\..\..\..\types\includes;..\..\..\..\operations\includes;..\..\..\..\core\includes;../../../../ast/includes;../../../../api_scilab/includes;../../../../output_stream/includes;../../../../localization/includes;../../../../../libs/intl/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>..\..\..\includes;..\..\..\..\functions_manager\includes;..\..\..\..\symbol\includes;..\..\..\..\types\includes;..\..\..\..\operations\includes;..\..\..\..\core\includes;../../../../ast/includes;../../../../api_scilab/includes;../../../../output_stream/includes;../../../../localization/includes;../../../../../libs/intl/;../../../../threads/includes;../../../../system_env/includes;../../../../string/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;ELEM_FUNC_GW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <MinimalRebuild>true</MinimalRebuild>
       <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
     <ClCompile>
       <Optimization>MaxSpeed</Optimization>
       <IntrinsicFunctions>true</IntrinsicFunctions>
-      <AdditionalIncludeDirectories>..\..\..\includes;..\..\..\..\functions_manager\includes;..\..\..\..\symbol\includes;..\..\..\..\types\includes;..\..\..\..\operations\includes;..\..\..\..\core\includes;../../../../ast/includes;../../../../api_scilab/includes;../../../../output_stream/includes;../../../../localization/includes;../../../../../libs/intl/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>..\..\..\includes;..\..\..\..\functions_manager\includes;..\..\..\..\symbol\includes;..\..\..\..\types\includes;..\..\..\..\operations\includes;..\..\..\..\core\includes;../../../../ast/includes;../../../../api_scilab/includes;../../../../output_stream/includes;../../../../localization/includes;../../../../../libs/intl/;../../../../threads/includes;../../../../system_env/includes;../../../../string/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;ELEM_FUNC_GW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
       <FunctionLevelLinking>true</FunctionLevelLinking>
     <ClCompile>
       <Optimization>MaxSpeed</Optimization>
       <IntrinsicFunctions>true</IntrinsicFunctions>
-      <AdditionalIncludeDirectories>..\..\..\includes;..\..\..\..\functions_manager\includes;..\..\..\..\symbol\includes;..\..\..\..\types\includes;..\..\..\..\operations\includes;..\..\..\..\core\includes;../../../../ast/includes;../../../../api_scilab/includes;../../../../output_stream/includes;../../../../localization/includes;../../../../../libs/intl/;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>..\..\..\includes;..\..\..\..\functions_manager\includes;..\..\..\..\symbol\includes;..\..\..\..\types\includes;..\..\..\..\operations\includes;..\..\..\..\core\includes;../../../../ast/includes;../../../../api_scilab/includes;../../../../output_stream/includes;../../../../localization/includes;../../../../../libs/intl/;../../../../threads/includes;../../../../system_env/includes;../../../../string/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;ELEM_FUNC_GW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
       <FunctionLevelLinking>true</FunctionLevelLinking>
     </Link>
   </ItemDefinitionGroup>
   <ItemGroup>
+    <ClCompile Include="..\..\..\src\cpp\getmode.cpp" />
     <ClCompile Include="..\elem_func_gw.cpp" />
     <ClCompile Include="..\sci_eye.cpp" />
     <ClCompile Include="..\sci_isequal.cpp" />
     <ClCompile Include="..\sci_ones.cpp" />
+    <ClCompile Include="..\sci_rand.cpp" />
     <ClCompile Include="..\sci_size.cpp" />
+    <ClCompile Include="..\sci_sum.cpp" />
     <ClCompile Include="..\sci_zeros.cpp" />
   </ItemGroup>
   <ItemGroup>
     <ClInclude Include="..\..\..\includes\elem_func_gw.hxx" />
+    <ClInclude Include="..\..\..\includes\getmode.hxx" />
   </ItemGroup>
   <ItemGroup>
     <None Include="libScilab_import.def" />
       <Project>{43c5bab1-1dca-4743-a183-77e0d42fe7d0}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     </ProjectReference>
+    <ProjectReference Include="..\..\..\..\ast\ast.vcxproj">
+      <Project>{0d3fa25b-8116-44ec-a45e-260789daa3d9}</Project>
+    </ProjectReference>
     <ProjectReference Include="..\..\..\..\cacsd\src\c\cacsd.vcxproj">
       <Project>{d5dd1407-3926-4f6c-ad7b-3a6b2de56049}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
       <Project>{2c60033b-0dbd-4ca4-80d3-176c9be9ce2f}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     </ProjectReference>
+    <ProjectReference Include="..\..\..\..\system_env\system_env.vcxproj">
+      <Project>{7ca60aef-9afa-4d06-af28-613c0aa27640}</Project>
+    </ProjectReference>
     <ProjectReference Include="..\..\..\..\types\types.vcxproj">
       <Project>{64e090da-dcb5-4f4d-93d7-e88ddec9c2ef}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
     </ProjectReference>
+    <ProjectReference Include="..\..\..\..\types\typesmacro\typesmacro.vcxproj">
+      <Project>{9252a034-7f22-4cb1-a634-4577da69f2d0}</Project>
+    </ProjectReference>
     <ProjectReference Include="..\..\..\src\cpp\elem_func\elem_func.vcxproj">
       <Project>{e1284d3e-4b3f-446b-b541-f661a8a166a7}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
index bda2081..8a78ba7 100644 (file)
     <ClCompile Include="..\sci_zeros.cpp">
       <Filter>Source Files</Filter>
     </ClCompile>
+    <ClCompile Include="..\sci_sum.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\..\..\src\cpp\getmode.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+    <ClCompile Include="..\sci_rand.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
   </ItemGroup>
   <ItemGroup>
     <ClInclude Include="..\..\..\includes\elem_func_gw.hxx">
       <Filter>Header Files</Filter>
     </ClInclude>
+    <ClInclude Include="..\..\..\includes\getmode.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
   </ItemGroup>
   <ItemGroup>
     <None Include="libScilab_import.def">
diff --git a/scilab/modules/elementary_functions/sci_gateway/cpp/sci_rand.cpp b/scilab/modules/elementary_functions/sci_gateway/cpp/sci_rand.cpp
new file mode 100644 (file)
index 0000000..bbb62cd
--- /dev/null
@@ -0,0 +1,245 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2011 - DIGITEO - Antoine ELIAS
+ *
+ * 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 "elem_func_gw.hxx"
+#include "function.hxx"
+#include "double.hxx"
+#include "string.hxx"
+
+extern "C"
+{
+#include "Scierror.h"
+#include "localization.h"
+#include "basic_functions.h"
+}
+
+#define Ran1           siRandSave              //old C2F(com).ran[0]
+#define Ran2           siRandType              //old C2F(com).ran[1]
+
+const wchar_t g_pwstConfigInfo[] = {L"info"};
+const wchar_t g_pwstConfigSeed[] = {L"seed"};
+
+const wchar_t g_pwstTypeUniform[] = {L"uniform"};
+const wchar_t g_pwstTypeNormal[] = {L"normal"};
+
+int setRandType(wchar_t _wcType);
+double getNextRandValue(int _iRandType, int* _piRandSave, int _iForceInit);
+
+types::Function::ReturnValue sci_rand(types::typed_list &in, int _iRetCount, types::typed_list &out)
+{
+       static int siRandType = 0;
+       static int siRandSave = 0;
+       static int iForceInit   = 0;
+
+    int iSizeIn = (int)in.size();
+
+    if(iSizeIn == 0 || iSizeIn == -1)
+    {//rand or rand()
+        double dblRand = getNextRandValue(siRandType, &siRandSave, 0);
+        out.push_back(new types::Double(dblRand));
+        return types::Function::OK;
+    }
+
+    if(in[0]->isString())
+    {//rand("xxx")
+        types::String* pS = in[0]->getAs<types::String>();
+        if(pS->getSize() != 1)
+        {
+            ScierrorW(999, _W("%ls: Wrong size for input argument #%d: A string expected.\n"), L"rand", 1);
+            return types::Function::Error;
+        }
+
+        wchar_t* pwstKey = pS->get(0);
+
+        if(pwstKey[0] == g_pwstConfigInfo[0])
+        {//info
+            if(iSizeIn > 1)
+            {
+                ScierrorW(77, _W("%ls: Wrong number of input argument(s): %d expected.\n"), L"rand", 1);
+                return types::Function::Error;
+            }
+
+            if(siRandType == 0)
+            {
+                out.push_back(new types::String(g_pwstTypeUniform));
+            }
+            else
+            {
+                out.push_back(new types::String(g_pwstTypeNormal));
+            }
+        }
+        else if(pwstKey[0] == g_pwstConfigSeed[0])
+        {//seed
+            if(iSizeIn == 1)
+            {//get
+                out.push_back(new types::Double(siRandSave));
+            }
+            else if(iSizeIn == 2)
+            {
+                types::Double* pSeed = in[1]->getAs<types::Double>();
+                if(pSeed == NULL || pSeed->isScalar() == false)
+                {
+                    ScierrorW(999, _W("%ls: Wrong size for input argument #%d: A scalar expected.\n"), L"rand", 2);
+                    return types::Function::Error;
+                }
+
+                siRandSave = (int)Max(pSeed->get(0), 0);
+                iForceInit = 1;
+            }
+            else
+            {
+                ScierrorW(77, _W("%ls: Wrong number of input argument(s): %d expected.\n"), L"rand", 2);
+                return types::Function::Error;
+            }
+        }
+        else
+        {
+                       siRandType = setRandType(pwstKey[0]);
+        }
+    }
+    else if(in[0]->isDouble())
+    {
+        int iRandSave = siRandType;
+        if(in[iSizeIn-1]->isString())
+        {//uniform ou normal
+            types::String* pS = in[iSizeIn-1]->getAs<types::String>();
+            if(pS->getSize() != 1)
+            {
+                ScierrorW(999, _W("%ls: Wrong size for input argument #%d: A string expected.\n"), L"rand", iSizeIn);
+                return types::Function::Error;
+            }
+
+            //set randomize law
+                       iRandSave = siRandType;
+            siRandType = setRandType(pS->get(0)[0]);
+            iSizeIn--;
+        }
+        
+        if(iSizeIn == 1)
+        {//rand(X) or rand(X, "")
+            types::Double* pD = in[0]->getAs<types::Double>();
+            if(pD == NULL)
+            {
+                ScierrorW(999, _W("%ls: Wrong type for argument %d: Real or complex matrix expected.\n"), L"rand" , 1);
+                return types::Function::Error;
+            }
+
+            types::Double* pOut = new types::Double(pD->getDims(), pD->getDimsArray(), pD->isComplex());
+
+            double* pReal = pOut->getReal();
+            for(int i = 0 ; i < pOut->getSize() ; i++)
+            {
+                pReal[i] = getNextRandValue(siRandType, &siRandSave, iForceInit);
+            }
+
+            if(pD->isComplex())
+            {
+                double* pImg = pOut->getImg();
+                for(int i = 0 ; i < pOut->getSize() ; i++)
+                {
+                    pImg[i] = getNextRandValue(siRandType, &siRandSave, iForceInit);
+                }
+            }
+
+            out.push_back(pOut);
+
+            //retore previous law
+            siRandType = iRandSave;
+        }
+        else
+        {
+            int iDims = iSizeIn;
+            int *piDims = new int[iDims];
+
+            //check others parameter type and size
+            for(int i = 0 ; i < iSizeIn ; i++)
+            {
+                types::Double* pD = in[i]->getAs<types::Double>();
+                if(pD == NULL || pD->getSize() != 1)
+                {
+                    ScierrorW(999, _W("%ls: Wrong type for input argument #%d: A scalar expected.\n"), L"rand" , i+1);
+                    return types::Function::Error;
+                }
+
+                piDims[i] = (int)pD->get(0);
+            }
+
+            types::Double* pOut = new types::Double(iDims, piDims);
+            delete[] piDims;
+
+            double* pd = pOut->get();
+            for(int i = 0 ; i < pOut->getSize() ; i++)
+            {
+                pd[i] = getNextRandValue(siRandType, &siRandSave, iForceInit);
+                iForceInit = 0;
+            }
+            out.push_back(pOut);
+        }
+    }
+    else
+    {
+        ScierrorW(999, _W("%ls: Wrong type for input argument #%d: A string or a real expected.\n"), L"rand", 1);
+        return types::Function::Error;
+    }
+    
+    return types::Function::OK;
+}
+/*--------------------------------------------------------------------------*/
+double getNextRandValue(int _iRandType, int* _piRandSave, int _iForceInit)
+{
+       static int siInit       = TRUE;
+       static double sdblImg   = 0;
+       static double sdblR     = 0;
+       double dblReal          = 0;
+       double dblVal           = 0;
+       double dblTemp          = 2;
+
+       if(_iForceInit)
+       {
+               siInit = TRUE;
+       }
+
+       if(_iRandType == 0)
+       {
+               dblVal = durands(_piRandSave);
+       }
+       else
+       {
+               if(siInit == TRUE)
+               {
+                       while(dblTemp > 1)
+                       {
+                               dblReal = 2 * durands(_piRandSave) - 1;
+                               sdblImg = 2 * durands(_piRandSave) - 1;
+                               dblTemp = dblReal * dblReal + sdblImg * sdblImg;
+                       }
+                       sdblR   = dsqrts(-2 * dlogs(dblTemp) / dblTemp);
+                       dblVal  = dblReal * sdblR;
+               }
+               else
+               {
+                       dblVal = sdblImg * sdblR;
+               }
+               siInit = !siInit;
+       }
+       return dblVal;
+}
+
+int setRandType(wchar_t _wcType)
+{
+    if(_wcType == L'g' || _wcType == L'n')
+    {
+        return 1;
+    }
+    return 0;
+}
+/*--------------------------------------------------------------------------*/
index fdcc7f6..f3d9214 100644 (file)
@@ -16,6 +16,7 @@
 #include "types.hxx"
 #include "string.hxx"
 #include "container.hxx"
+#include "getmode.hxx"
 
 extern "C"
 {
@@ -23,11 +24,8 @@ extern "C"
 #include "localization.h"
 }
 
-int getProcessMode(types::typed_list &in, int _iProcess, int _iRef);
-
-/*--------------------------------------------------------------------------*/
 using namespace types;
-
+/*--------------------------------------------------------------------------*/
 Function::ReturnValue sci_size(types::typed_list &in, int _iRetCount, types::typed_list &out)
 {
     if(in.size() < 1)
@@ -66,19 +64,13 @@ Function::ReturnValue sci_size(types::typed_list &in, int _iRetCount, types::typ
 
             if(in.size() == 2)
             {
-                iMode = getProcessMode(in, 1, 0);
-                if((iMode == 1 || iMode == 2) && in[0]->getAsGenericType()->getDims() > 2)
+                iMode = getMode(in, 1, 0);
+                if(iMode == -2)
                 {
-                    ScierrorW(999, _W("%ls: Wrong values for input argument #%d: '%ls' or '%ls' expected.\n"), L"size", 2, L"*", L"0");
                     return Function::Error;
                 }
             }
 
-            if(iMode == -2)
-            {
-                return Function::Error;
-            }
-
             int iDims   = in[0]->getAsGenericType()->getDims();
             int* piDims = in[0]->getAsGenericType()->getDimsArray();
 
@@ -92,20 +84,9 @@ Function::ReturnValue sci_size(types::typed_list &in, int _iRetCount, types::typ
                 {
                 case -1 : //lhs == 1
                     iColsOut = iDims;
-                    //pdblReal[0] = iRows;
-                    //pdblReal[1] = iCols;
-                    break;
-                case 0 : //"*"
-                    iColsOut = 1;
-                    //pdblReal[0] = iRows * iCols;
-                    break;
-                case 1 : //"r"
-                    iColsOut = 1;
-                    //pdblReal[0] = iRows;
                     break;
-                case 2 : //"c"
+                default : //"*"
                     iColsOut = 1;
-                    //pdblReal[0] = iCols;
                     break;
                 }
 
@@ -124,13 +105,15 @@ Function::ReturnValue sci_size(types::typed_list &in, int _iRetCount, types::typ
                 case 0 : //"*"
                     pdbl[0] = in[0]->getAsGenericType()->getSize();
                     break;
-                case 1 : //"r"
-                    iColsOut = 1;
-                    pdbl[0] = in[0]->getAsGenericType()->getRows();
-                    break;
-                case 2 : //"c"
+                default : //"r"
+                    if(iMode > iDims)
+                    {
+                        ScierrorW(999, _W("%ls: Wrong value for input argument #%d.\n"), L"size", 2);
+                        return Function::Error;
+                    }
+
                     iColsOut = 1;
-                    pdbl[0] = in[0]->getAsGenericType()->getCols();
+                    pdbl[0] = piDims[iMode - 1];
                     break;
                 }
                 out.push_back(pD);
@@ -148,75 +131,4 @@ Function::ReturnValue sci_size(types::typed_list &in, int _iRetCount, types::typ
     }
     return Function::OK;
 }
-
-/*return process mode, "r", "c", "*", 0, 1, 2*/
-int getProcessMode(types::typed_list &in, int _iProcess, int _iRef)
-{
-    int iMode = 0;
-    if(in[_iProcess]->isString())
-    {
-        String* pS = in[_iProcess]->getAs<types::String>();
-        if(pS->getSize() != 1)
-        {
-            Scierror(999, _("%s: Wrong size for argument %d: (%d,%d) expected.\n"), "size", _iProcess + 1, 1, 1);
-        }
-
-        switch(pS->get(0)[0])
-        {
-        case 'r' :
-            iMode = 1;
-            break;
-        case 'c' :
-            iMode = 2;
-            break;
-        case '*' :
-            iMode = 0;
-            break;
-        case 'm' :
-            iMode = -1;
-            break;
-        default :
-            Scierror(999,_("%s: Wrong value for input argument #%d: '%s', '%s', '%s' or '%s' expected.\n"), "size", _iProcess + 1, "m" , "*" , "r", "c");
-            iMode = -2;
-            break;
-        }
-    }
-    else if(in[1]->isDouble() && in[1]->getAs<Double>()->isComplex() == false)
-    {
-        Double* pD = in[_iProcess]->getAs<Double>();
-        if(pD->getSize() != 1)
-        {
-            Scierror(999, _("%s: Wrong size for argument %d: (%d,%d) expected.\n"), "size", _iProcess + 1, 1, 1);
-            iMode = -2;
-        }
-
-        iMode = static_cast<int>(pD->getReal()[0]);
-        if(iMode != -1 && iMode != 0 && iMode != 1 && iMode != 2)
-        {
-            Scierror(999,_("%s: Wrong value for input argument #%d: '%s', '%s', '%s' or '%s' expected.\n"), "size", _iProcess + 1, "-1" , "0" , "1", "2");
-            iMode = -2;
-        }
-    }
-    else
-    {
-        Scierror(999, _("%s: Wrong type for input argument #%d: A string or a scalar expected.\n"), "size", 2);
-        iMode = -2;
-    }
-
-    //special case for -1
-    if(iMode == -1)
-    {
-        iMode = 0;
-        if(in[_iRef]->getAsGenericType()->getRows() > 1)
-        {
-            iMode = 1;
-        }
-        else if(in[_iRef]->getAsGenericType()->getCols() > 1)
-        {
-            iMode = 2;
-        }
-    }
-
-    return iMode;
-}
 /*--------------------------------------------------------------------------*/
diff --git a/scilab/modules/elementary_functions/sci_gateway/cpp/sci_sum.cpp b/scilab/modules/elementary_functions/sci_gateway/cpp/sci_sum.cpp
new file mode 100644 (file)
index 0000000..1ed27a7
--- /dev/null
@@ -0,0 +1,144 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006 - INRIA - Allan CORNET
+ * Copyright (C) 2011 - DIGITEO - Antoine ELIAS
+ *
+ * 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 "elem_func_gw.hxx"
+#include "function.hxx"
+#include "double.hxx"
+#include "string.hxx"
+#include "overload.hxx"
+#include "execvisitor.hxx"
+#include "getmode.hxx"
+
+extern "C"
+{
+#include "Scierror.h"
+#include "localization.h"
+#include "charEncoding.h"
+#include "basic_functions.h"
+}
+
+using namespace types;
+/*--------------------------------------------------------------------------*/
+Function::ReturnValue sci_sum(types::typed_list &in, int _iRetCount, types::typed_list &out)
+{
+    int iMode = 0;
+
+    if(in.size() < 1 && in.size() > 3)
+    {
+        Scierror(999,_("%s: Wrong number of input arguments: %d or %d expected.\n"), L"sum", 1, 2);
+        return Function::Error;
+    }
+
+    if(in[0]->isDouble() == false && in[0]->isPoly() == false /*&& in[0]->isSparse() == false*/)
+    {//call overload
+        std::wstring wstFuncName = L"%"  + in[0]->getShortTypeStr() + L"_sum";
+        return Overload::call(wstFuncName, in, _iRetCount, out, new ExecVisitor());
+    }
+
+    //don't care of 3rd paramter for double or equivalent type
+    if(in.size() >= 2)
+    {
+         iMode = getMode(in, 1, 0);
+    }
+
+    if(in[0]->isDouble())
+    {
+        Double* pIn = in[0]->getAs<Double>();
+        if(pIn->isEmpty())
+        {
+            if(iMode == 0)
+            {
+                out.push_back(new Double(0));
+            }
+            else
+            {
+                out.push_back(Double::Empty());
+            }
+        }
+        else
+        {
+            Double* pOut = NULL;
+            if(iMode == 0)
+            {
+                double dblR = 0;
+                double dblI = 0;
+
+                for(int i = 0 ; i < pIn->getSize() ; i++)
+                {
+                    dblR += pIn->get(i);
+                }
+
+                pOut = new Double(dblR);
+                if(pIn->isComplex())
+                {
+                    pOut->setComplex(true);
+                    for(int i = 0 ; i < pIn->getSize() ; i++)
+                    {
+                        dblI += pIn->getImg(i);
+                    }
+                    pOut->setImg(0, dblI);
+                }
+            }
+            else
+            {
+                int iDims = pIn->getDims();
+                int* piDims = new int[iDims];
+
+                for(int i = 0 ; i < iDims ; i++)
+                {
+                    if(iMode == i + 1)
+                    {
+                        piDims[i] = 1;
+                    }
+                    else
+                    {
+                        piDims[i] = pIn->getDimsArray()[i];
+                    }
+                }
+
+                pOut = new Double(iDims, piDims);
+                pOut->setZeros();
+
+                double* pdblIn  = pIn->get();
+                double* pdblOut = pOut->get();
+
+                int* piIndex = new int[iDims];
+
+                for(int i = 0 ; i < pIn->getSize() ; i++)
+                {
+                    //get value
+                    double dbl = pdblIn[i];
+
+                    //get array of dim
+                    pIn->getIndexes(i, piIndex);
+
+                    //convert indexes for result
+                    piIndex[iMode - 1] = 0;
+                    int iIndex = pOut->getIndex(piIndex);
+                    pdblOut[iIndex] += dbl;
+                }
+            }
+
+            out.push_back(pOut);
+        }
+    }
+    else if(in[0]->isPoly())
+    {
+    }
+    //else if(in[0]->isSparse())
+    //{
+    //}
+
+    return Function::OK;
+}
+/*--------------------------------------------------------------------------*/
index c2dcb46..6750c7f 100644 (file)
@@ -322,7 +322,6 @@ lib /DEF:"$(ProjectDir)linpack_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platf
     <ClCompile Include="..\..\sci_gateway\c\sci_nearfloat.c" />
     <ClCompile Include="..\..\sci_gateway\c\sci_number_properties.c" />
     <ClCompile Include="..\..\sci_gateway\c\sci_prod.c" />
-    <ClCompile Include="..\..\sci_gateway\c\sci_rand.c" />
     <ClCompile Include="..\..\sci_gateway\c\sci_rat.c" />
     <ClCompile Include="..\..\sci_gateway\c\sci_real.c" />
     <ClCompile Include="..\..\sci_gateway\c\sci_round.c" />
@@ -352,6 +351,7 @@ lib /DEF:"$(ProjectDir)linpack_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platf
     <ClCompile Include="xerhlt.c" />
   </ItemGroup>
   <ItemGroup>
+    <ClInclude Include="..\..\includes\basic_functions.h" />
     <ClInclude Include="..\..\includes\dynlib_elementary_functions.h" />
     <ClInclude Include="..\..\includes\elementary_functions.h" />
     <ClInclude Include="..\..\includes\finite.h" />
index 37b1bad..d769f40 100644 (file)
     <ClCompile Include="..\..\sci_gateway\c\sci_prod.c">
       <Filter>Source Files</Filter>
     </ClCompile>
-    <ClCompile Include="..\..\sci_gateway\c\sci_rand.c">
-      <Filter>Source Files</Filter>
-    </ClCompile>
     <ClCompile Include="..\..\sci_gateway\c\sci_rat.c">
       <Filter>Source Files</Filter>
     </ClCompile>
     <ClInclude Include="..\..\includes\xerhlt.h">
       <Filter>Header Files</Filter>
     </ClInclude>
+    <ClInclude Include="..\..\includes\basic_functions.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
   </ItemGroup>
   <ItemGroup>
     <None Include="api_scilab_Import.def">
diff --git a/scilab/modules/elementary_functions/src/cpp/getmode.cpp b/scilab/modules/elementary_functions/src/cpp/getmode.cpp
new file mode 100644 (file)
index 0000000..7f239ee
--- /dev/null
@@ -0,0 +1,91 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2011 - DIGITEO - Antoine ELIAS
+ *
+ * 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 "getmode.hxx"
+#include "double.hxx"
+#include "string.hxx"
+
+extern "C"
+{
+#include "Scierror.h"
+#include "localization.h"
+}
+
+
+using namespace types;
+
+int getMode(typed_list &in, int _iProcess, int _iRef)
+{
+    int iMode = 0;
+    if(in[_iProcess]->isString())
+    {
+        String* pS = in[_iProcess]->getAs<String>();
+        if(pS->getSize() != 1)
+        {
+            Scierror(999, _("%s: Wrong size for argument %d: (%d,%d) expected.\n"), "size", _iProcess + 1, 1, 1);
+        }
+
+        switch(pS->get(0)[0])
+        {
+        case 'r' :
+            iMode = 1;
+            break;
+        case 'c' :
+            iMode = 2;
+            break;
+        case '*' :
+            iMode = 0;
+            break;
+        case 'm' :
+            iMode = -1;
+            break;
+        default :
+            Scierror(999,_("%s: Wrong value for input argument #%d: '%s', '%s', '%s' or '%s' expected.\n"), "size", _iProcess + 1, "m" , "*" , "r", "c");
+            iMode = -2;
+            break;
+        }
+    }
+    else if(in[1]->isDouble() && in[1]->getAs<Double>()->isComplex() == false)
+    {
+        Double* pD = in[_iProcess]->getAs<Double>();
+        if(pD->getSize() != 1)
+        {
+            Scierror(999, _("%s: Wrong size for argument %d: (%d,%d) expected.\n"), "size", _iProcess + 1, 1, 1);
+            iMode = -2;
+        }
+
+        iMode = static_cast<int>(pD->getReal()[0]);
+    }
+    else
+    {
+        Scierror(999, _("%s: Wrong type for input argument #%d: A string or a scalar expected.\n"), "size", 2);
+        iMode = -2;
+    }
+
+    //special case for -1
+    if(iMode == -1)
+    {
+        iMode = 0;
+        if(in[_iRef]->getAsGenericType()->getRows() > 1)
+        {
+            iMode = 1;
+        }
+        else if(in[_iRef]->getAsGenericType()->getCols() > 1)
+        {
+            iMode = 2;
+        }
+    }
+
+    return iMode;
+}
+
index 3436a11..d930385 100644 (file)
     <ProjectReference Include="..\signal_processing\sci_gateway\cpp\signal_processing_gw.vcxproj">
       <Project>{a968a82e-b2dc-4ed2-bd9b-12c1e97abbb4}</Project>
     </ProjectReference>
+    <ProjectReference Include="..\statistics\sci_gateway\cpp\statistics_gw.vcxproj">
+      <Project>{eae1009f-b967-43c4-9408-97a37efa8678}</Project>
+    </ProjectReference>
     <ProjectReference Include="..\string\sci_gateway\cpp\string_gw.vcxproj">
       <Project>{aec1f7b5-28f2-4c1f-a436-98d0352fd3f5}</Project>
       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
index 3ee244e..ba4f719 100644 (file)
@@ -38,5 +38,6 @@
 #include "../../console/includes/console_gw.hxx"
 #include "../../signal_processing/includes/signal_gw.hxx"
 #include "../../linear_algebra/includes/linear_algebra_gw.hxx"
+#include "../../statistics/includes/statistics_gw.hxx"
 
 #endif /* !__MODULE_DECLARATION_HXX__ */
index c0a9f72..0625586 100644 (file)
@@ -306,6 +306,8 @@ bool FuncManager::CreateModuleList(void)
     m_ModuleMap.insert(pair<wstring, GW_MOD>(L"console", &ConsoleModule::Load));
     m_ModuleMap.insert(pair<wstring, GW_MOD>(L"signal_processing", &SignalProcessingModule::Load));
     m_ModuleMap.insert(pair<wstring, GW_MOD>(L"linear_algebra", &LinearAlgebraModule::Load));
+    m_ModuleMap.insert(pair<wstring, GW_MOD>(L"statistics", &StatisticsModule::Load));
+
     if (ConfigVariable::getScilabMode() != SCILAB_NWNI)
     {
         m_ModuleMap.insert(pair<wstring, GW_MOD>(L"jvm", &JvmModule::Load));
index c72bfdd..8175568 100644 (file)
 #include "double.hxx"
 #include "polynom.hxx"
 
+// operator /
 EXTERN_OP types::InternalType *GenericRDivide(types::InternalType *_pLeftOperand, types::InternalType *_pRightOperand);
 
-int DivideDoubleByDouble(types::Double *_pDouble1, types::Double *_pDouble2, types::Double **_pDoubleOut);
-int DividePolyByDouble(types::Polynom* _pPoly, types::Double* _pDouble, types::Polynom** _pPolyOut);
-int DivideDoubleByPoly(types::Double* _pDouble, types::Polynom* _pPoly, types::Polynom** _pPolyOut);
+int RDivideDoubleByDouble(types::Double *_pDouble1, types::Double *_pDouble2, types::Double **_pDoubleOut);
+int RDividePolyByDouble(types::Polynom* _pPoly, types::Double* _pDouble, types::Polynom** _pPolyOut);
+int RDivideDoubleByPoly(types::Double* _pDouble, types::Polynom* _pPoly, types::Polynom** _pPolyOut);
 
+// operator ./
+EXTERN_OP types::InternalType *GenericDotRDivide(types::InternalType *_pLeftOperand, types::InternalType *_pRightOperand);
+int DotRDivideDoubleByDouble(types::Double *_pDouble1, types::Double *_pDouble2, types::Double **_pDoubleOut);
 
 #endif /* !__TYPES_DIVIDE_HXX__ */
index eec2721..92d928d 100644 (file)
@@ -325,6 +325,24 @@ InternalType *GenericComparisonEqual(InternalType *_pLeftOperand, InternalType *
         }
         return pB;
     }
+
+
+    /*
+    ** DOUBLE == STRING
+    */
+    if(TypeL == GenericType::RealDouble && TypeR == GenericType::RealString)
+    {
+        return new types::Bool(0);;
+    }
+
+   /*
+    ** STRING == DOUBLE
+    */
+    if(TypeL == GenericType::RealString && TypeR == GenericType::RealDouble)
+    {
+        return new types::Bool(0);;
+    }
+
     /*
     ** Default case : Return NULL will Call Overloading.
     */
index 18bd374..a085092 100644 (file)
@@ -27,8 +27,7 @@ using namespace types;
 
 InternalType *GenericRDivide(InternalType *_pLeftOperand, InternalType *_pRightOperand)
 {
-
-    InternalType *pResult = NULL;
+    InternalType *pResult       = NULL;
     GenericType::RealType TypeL = _pLeftOperand->getType();
     GenericType::RealType TypeR = _pRightOperand->getType();
 
@@ -37,10 +36,10 @@ InternalType *GenericRDivide(InternalType *_pLeftOperand, InternalType *_pRightO
     */
     if(TypeL == GenericType::RealDouble && TypeR == GenericType::RealDouble)
     {
-        Double *pL                     = _pLeftOperand->getAs<Double>();
-        Double *pR                     = _pRightOperand->getAs<Double>();
+        Double *pL  = _pLeftOperand->getAs<Double>();
+        Double *pR  = _pRightOperand->getAs<Double>();
 
-        int iResult = DivideDoubleByDouble(pL, pR, (Double**)&pResult);
+        int iResult = RDivideDoubleByDouble(pL, pR, (Double**)&pResult);
         if(iResult)
         {//manage errors
             throw ast::ScilabError(_W("Inconsistent row/column dimensions.\n"));
@@ -53,10 +52,10 @@ InternalType *GenericRDivide(InternalType *_pLeftOperand, InternalType *_pRightO
     */
     else if(TypeL == GenericType::RealPoly && TypeR == GenericType::RealDouble)
     {
-        Polynom *pL          = _pLeftOperand->getAs<types::Polynom>();
-        Double *pR              = _pRightOperand->getAs<Double>();
+        Polynom *pL = _pLeftOperand->getAs<types::Polynom>();
+        Double *pR  = _pRightOperand->getAs<Double>();
 
-        int iResult = DividePolyByDouble(pL, pR, (Polynom**)&pResult);
+        int iResult = RDividePolyByDouble(pL, pR, (Polynom**)&pResult);
         if(iResult)
         {//manage errors
             throw ast::ScilabError(_W("Inconsistent row/column dimensions.\n"));
@@ -70,10 +69,38 @@ InternalType *GenericRDivide(InternalType *_pLeftOperand, InternalType *_pRightO
     */
     else if(TypeL == GenericType::RealDouble && TypeR == GenericType::RealPoly)
     {
-        Double *pL      = _pLeftOperand->getAs<Double>();
-        Polynom *pR  = _pRightOperand->getAs<types::Polynom>();
+        Double *pL  = _pLeftOperand->getAs<Double>();
+        Polynom *pR = _pRightOperand->getAs<types::Polynom>();
+
+        int iResult = RDivideDoubleByPoly(pL, pR, (Polynom**)&pResult);
+        if(iResult)
+        {//manage errors
+            throw ast::ScilabError(_W("Inconsistent row/column dimensions.\n"));
+        }
+        return pResult;
+    }
+
+    /*
+    ** Default case : Return NULL will Call Overloading.
+    */
+    return NULL;
+}
+
+InternalType *GenericDotRDivide(InternalType *_pLeftOperand, InternalType *_pRightOperand)
+{
+    InternalType *pResult       = NULL;
+    GenericType::RealType TypeL = _pLeftOperand->getType();
+    GenericType::RealType TypeR = _pRightOperand->getType();
+
+    /*
+    ** DOUBLE / DOUBLE
+    */
+    if(TypeL == GenericType::RealDouble && TypeR == GenericType::RealDouble)
+    {
+        Double *pL  = _pLeftOperand->getAs<Double>();
+        Double *pR  = _pRightOperand->getAs<Double>();
 
-        int iResult = DivideDoubleByPoly(pL, pR, (Polynom**)&pResult);
+        int iResult = DotRDivideDoubleByDouble(pL, pR, (Double**)&pResult);
         if(iResult)
         {//manage errors
             throw ast::ScilabError(_W("Inconsistent row/column dimensions.\n"));
@@ -87,12 +114,12 @@ InternalType *GenericRDivide(InternalType *_pLeftOperand, InternalType *_pRightO
     return NULL;
 }
 
-int DivideDoubleByDouble(Double *_pDouble1, Double *_pDouble2, Double **_pDoubleOut)
+int RDivideDoubleByDouble(Double *_pDouble1, Double *_pDouble2, Double **_pDoubleOut)
 {
-    bool bComplex1             = _pDouble1->isComplex();
-    bool bComplex2             = _pDouble2->isComplex();
-    bool bScalar1                      = _pDouble1->getRows() == 1 && _pDouble1->getCols() == 1;
-    bool bScalar2                      = _pDouble2->getRows() == 1 && _pDouble2->getCols() == 1;
+    bool bComplex1  = _pDouble1->isComplex();
+    bool bComplex2  = _pDouble2->isComplex();
+    bool bScalar1   = _pDouble1->isScalar();
+    bool bScalar2   = _pDouble2->isScalar();
 
     //check finite values of _pDouble1 and _pDouble2
     if(isDoubleFinite(_pDouble1) == false || isDoubleFinite(_pDouble2) == false)
@@ -107,14 +134,14 @@ int DivideDoubleByDouble(Double *_pDouble1, Double *_pDouble2, Double **_pDouble
     }
     else if(bScalar2)
     {//[] / x
-        int iErr                               = 0;
-        int iRowResult = _pDouble1->getRows();
+        int iErr        = 0;
+        int iRowResult  = _pDouble1->getRows();
         int iColResult = _pDouble1->getCols();
-        int iInc1                              = 1;
-        int iInc2                              = 0;
+        int iInc1       = 1;
+        int iInc2       = 0;
         int iSizeResult        = iRowResult * iColResult;
 
-        *_pDoubleOut = new Double(iRowResult, iColResult, _pDouble1->isComplex() || _pDouble2->isComplex());
+        *_pDoubleOut    = new Double(iRowResult, iColResult, _pDouble1->isComplex() || _pDouble2->isComplex());
 
         if(bComplex1 == false && bComplex2 == false)
         {// Real1 \ Real2 -> Real2 / Real1
@@ -226,7 +253,7 @@ int DivideDoubleByDouble(Double *_pDouble1, Double *_pDouble2, Double **_pDouble
     return 0;
 }
 
-int DividePolyByDouble(Polynom* _pPoly, Double* _pDouble, Polynom** _pPolyOut)
+int RDividePolyByDouble(Polynom* _pPoly, Double* _pDouble, Polynom** _pPolyOut)
 {
     bool bComplex1             = _pPoly->isComplex();
     bool bComplex2             = _pDouble->isComplex();
@@ -387,7 +414,165 @@ int DividePolyByDouble(Polynom* _pPoly, Double* _pDouble, Polynom** _pPolyOut)
     return 0;
 }
 
-int DivideDoubleByPoly(Double* _pDouble, Polynom* _pPoly, Polynom** _pPolyOut)
+int RDivideDoubleByPoly(Double* _pDouble, Polynom* _pPoly, Polynom** _pPolyOut)
 {
     return 0;
 }
+
+int DotRDivideDoubleByDouble(Double* _pDouble1, Double* _pDouble2, Double** _pDoubleOut)
+{
+    int iErr        = 0;
+    bool bComplex1  = _pDouble1->isComplex();
+    bool bComplex2  = _pDouble2->isComplex();
+    bool bScalar1   = _pDouble1->isScalar();
+    bool bScalar2   = _pDouble2->isScalar();
+
+    //check finite values of _pDouble1 and _pDouble2
+    if(isDoubleFinite(_pDouble1) == false || isDoubleFinite(_pDouble2) == false)
+    {
+        return 2;
+    }
+
+    if(_pDouble1->getSize() == 0 || _pDouble2->getSize() == 0)
+    {
+        //return an empty matrix of double
+        *_pDoubleOut   = Double::Empty();
+    }
+    else if(bScalar1)
+    {//x ./ Y
+        int iInc1       = 0;
+        int iInc2       = 1;
+        int iIncOut     = 1;
+        int iSizeResult        = _pDouble2->getSize();
+
+        *_pDoubleOut    = new Double(_pDouble2->getDims(), _pDouble2->getDimsArray(), bComplex1 || bComplex2);
+
+        if(bComplex1 == false && bComplex2 == false)
+        {// r ./ R
+            iErr = iRightDivisionRealMatrixByRealMatrix(
+                _pDouble1->getReal(), iInc1, 
+                _pDouble2->getReal(), iInc2, 
+                (*_pDoubleOut)->getReal(), iIncOut, iSizeResult);
+        }
+        else if(bComplex1 == false && bComplex2 == true)
+        {// r ./ C
+            iErr = iRightDivisionRealMatrixByComplexMatrix(
+                _pDouble1->getReal(), iInc1, 
+                _pDouble2->getReal(), _pDouble2->getImg(), iInc2, 
+                (*_pDoubleOut)->getReal(),     (*_pDoubleOut)->getImg(), iIncOut, iSizeResult);
+        }
+        else if(bComplex1 == true && bComplex2 == false)
+        {// c ./ R
+            iErr = iRightDivisionComplexMatrixByRealMatrix(
+                _pDouble1->getReal(), _pDouble1->getImg(), iInc1, 
+                _pDouble2->getReal(), iInc2,
+                (*_pDoubleOut)->getReal(),     (*_pDoubleOut)->getImg(), iIncOut, iSizeResult);
+        }
+        else if(bComplex1 == true && bComplex2 == true)
+        {// c ./ C
+            iErr = iRightDivisionComplexMatrixByComplexMatrix(
+                _pDouble1->getReal(), _pDouble1->getImg(), iInc1,
+                _pDouble2->getReal(), _pDouble2->getImg(), iInc2, 
+                (*_pDoubleOut)->getReal(),     (*_pDoubleOut)->getImg(), iIncOut, iSizeResult);
+        }
+    }
+    else if(bScalar2)
+    {//X ./ y
+        int iInc1       = 1;
+        int iInc2       = 0;
+        int iIncOut     = 1;
+        int iSizeResult        = _pDouble1->getSize();
+
+        *_pDoubleOut    = new Double(_pDouble1->getDims(), _pDouble1->getDimsArray(), bComplex1 || bComplex2);
+
+        if(bComplex1 == false && bComplex2 == false)
+        {// r ./ R
+            iErr = iRightDivisionRealMatrixByRealMatrix(
+                _pDouble1->getReal(), iInc1, 
+                _pDouble2->getReal(), iInc2, 
+                (*_pDoubleOut)->getReal(), iIncOut, iSizeResult);
+        }
+        else if(bComplex1 == false && bComplex2 == true)
+        {// r ./ C
+            iErr = iRightDivisionRealMatrixByComplexMatrix(
+                _pDouble1->getReal(), iInc1, 
+                _pDouble2->getReal(), _pDouble2->getImg(), iInc2, 
+                (*_pDoubleOut)->getReal(),     (*_pDoubleOut)->getImg(), iIncOut, iSizeResult);
+        }
+        else if(bComplex1 == true && bComplex2 == false)
+        {// c ./ R
+            iErr = iRightDivisionComplexMatrixByRealMatrix(
+                _pDouble1->getReal(), _pDouble1->getImg(), iInc1, 
+                _pDouble2->getReal(), iInc2,
+                (*_pDoubleOut)->getReal(),     (*_pDoubleOut)->getImg(), iIncOut, iSizeResult);
+        }
+        else if(bComplex1 == true && bComplex2 == true)
+        {// c ./ C
+            iErr = iRightDivisionComplexMatrixByComplexMatrix(
+                _pDouble1->getReal(), _pDouble1->getImg(), iInc1,
+                _pDouble2->getReal(), _pDouble2->getImg(), iInc2, 
+                (*_pDoubleOut)->getReal(),     (*_pDoubleOut)->getImg(), iIncOut, iSizeResult);
+        }
+    }
+    else
+    {//X ./ Y
+        //check dimension compatibilities ( same number of dimension and same size for each dimension
+        int iDims1      = _pDouble1->getDims();
+        int* piDims1    = _pDouble1->getDimsArray();
+        int iDims2      = _pDouble2->getDims();
+        int* piDims2    = _pDouble2->getDimsArray();
+
+        if(iDims1 != iDims2)
+        {
+            return 1;
+        }
+
+        for(int i = 0 ; i < iDims1 ; i++)
+        {
+            if(piDims1[i] != piDims2[i])
+            {
+                return 1;
+            }
+        }
+
+        (*_pDoubleOut) = new Double(iDims2, piDims2, bComplex1 || bComplex2);
+
+        int iErr        = 0;
+        int iInc1       = 1;
+        int iInc2       = 1;
+        int iIncOut     = 1;
+        int iSizeResult        = _pDouble1->getSize();
+
+        *_pDoubleOut    = new Double(_pDouble1->getDims(), _pDouble1->getDimsArray(), bComplex1 || bComplex2);
+
+        if(bComplex1 == false && bComplex2 == false)
+        {// r ./ R
+            iErr = iRightDivisionRealMatrixByRealMatrix(
+                _pDouble1->getReal(), iInc1, 
+                _pDouble2->getReal(), iInc2, 
+                (*_pDoubleOut)->getReal(), iIncOut, iSizeResult);
+        }
+        else if(bComplex1 == false && bComplex2 == true)
+        {// r ./ C
+            iErr = iRightDivisionRealMatrixByComplexMatrix(
+                _pDouble1->getReal(), iInc1, 
+                _pDouble2->getReal(), _pDouble2->getImg(), iInc2, 
+                (*_pDoubleOut)->getReal(),     (*_pDoubleOut)->getImg(), iIncOut, iSizeResult);
+        }
+        else if(bComplex1 == true && bComplex2 == false)
+        {// c ./ R
+            iErr = iRightDivisionComplexMatrixByRealMatrix(
+                _pDouble1->getReal(), _pDouble1->getImg(), iInc1, 
+                _pDouble2->getReal(), iInc2,
+                (*_pDoubleOut)->getReal(),     (*_pDoubleOut)->getImg(), iIncOut, iSizeResult);
+        }
+        else if(bComplex1 == true && bComplex2 == true)
+        {// c ./ C
+            iErr = iRightDivisionComplexMatrixByComplexMatrix(
+                _pDouble1->getReal(), _pDouble1->getImg(), iInc1,
+                _pDouble2->getReal(), _pDouble2->getImg(), iInc2, 
+                (*_pDoubleOut)->getReal(),     (*_pDoubleOut)->getImg(), iIncOut, iSizeResult);
+        }
+    }
+    return iErr;
+}
\ No newline at end of file
index fefea2d..304414f 100644 (file)
@@ -482,3 +482,4 @@ int DotPowerDoubleByDouble(Double* _pDouble1, Double* _pDouble2, Double** _pDoub
     }
     return 0;
 }
+
index be9aa16..79229de 100644 (file)
@@ -50,9 +50,9 @@ int  Scierror(int iv,const char *fmt,...)
     pwstError = to_wide_string(s_buf);
     setLastError(iv, pwstError, 0, NULL);
 
-    scilabErrorW(L"Error: ");
-    scilabErrorW(pwstError);
-    scilabErrorW(L"\n");
+    scilabWriteW(L"Error: ");
+    scilabWriteW(pwstError);
+    scilabWriteW(L"\n");
     FREE(pwstError);
   return retval;
 }
index d51bf03..3338a4d 100644 (file)
 #
 # This file is distributed under the same license as the Scilab package.
 
-STATISTICS_C_SOURCES = src/c/CdfBase.c \
-src/c/ipmpar1.c \
-src/c/sci_string_matrix.c
-
-STATISTICS_FORTRAN_SOURCES = src/dcdflib/psi.f \
-src/dcdflib/alngam.f \
-src/dcdflib/erfc1.f \
-src/dcdflib/cdff.f \
-src/dcdflib/spmpar.f \
-src/dcdflib/cumnor.f \
-src/dcdflib/cdfpoi.f \
-src/dcdflib/bcorr.f \
-src/dcdflib/cumchi.f \
-src/dcdflib/apser.f \
-src/dcdflib/gamln1.f \
-src/dcdflib/cdft.f \
-src/dcdflib/gaminv.f \
-src/dcdflib/cumnbn.f \
-src/dcdflib/cdffnc.f \
-src/dcdflib/rlog1.f \
-src/dcdflib/cdfchn.f \
-src/dcdflib/dt1.f \
-src/dcdflib/bgrat.f \
-src/dcdflib/dinvnr.f \
-src/dcdflib/rlog.f \
-src/dcdflib/basym.f \
-src/dcdflib/bfrac.f \
-src/dcdflib/cumbin.f \
-src/dcdflib/cumbet.f \
-src/dcdflib/rcomp.f \
-src/dcdflib/cdfgam.f \
-src/dcdflib/gratio.f \
-src/dcdflib/gam1.f \
-src/dcdflib/exparg.f \
-src/dcdflib/ipmpar.f \
-src/dcdflib/cumf.f \
-src/dcdflib/cumpoi.f \
-src/dcdflib/gamln.f \
-src/dcdflib/betaln.f \
-src/dcdflib/stvaln.f \
-src/dcdflib/cumt.f \
-src/dcdflib/esum.f \
-src/dcdflib/bpser.f \
-src/dcdflib/cdfnor.f \
-src/dcdflib/cumfnc.f \
-src/dcdflib/erf.f \
-src/dcdflib/alnrel.f \
-src/dcdflib/cumchn.f \
-src/dcdflib/rexp.f \
-src/dcdflib/fpser.f \
-src/dcdflib/bratio.f \
-src/dcdflib/cdfchi.f \
-src/dcdflib/gamma.f \
-src/dcdflib/dinvr.f \
-src/dcdflib/brcomp.f \
-src/dcdflib/devlpl.f \
-src/dcdflib/cdfnbn.f \
-src/dcdflib/dzror.f \
-src/dcdflib/gsumln.f \
-src/dcdflib/algdiv.f \
-src/dcdflib/cumgam.f \
-src/dcdflib/grat1.f \
-src/dcdflib/brcmp1.f \
-src/dcdflib/cdfbin.f \
-src/dcdflib/bup.f \
-src/dcdflib/cdfbet.f
-
-GATEWAY_C_SOURCES = sci_gateway/c/gw_statistics.c \
-sci_gateway/c/sci_cdfchi.c \
-sci_gateway/c/sci_cdft.c \
-sci_gateway/c/sci_cdfgam.c \
-sci_gateway/c/sci_cdff.c \
-sci_gateway/c/sci_cdffnc.c \
-sci_gateway/c/sci_cdfpoi.c \
-sci_gateway/c/sci_cdfbin.c \
-sci_gateway/c/sci_cdfchn.c \
-sci_gateway/c/sci_cdfbet.c \
-sci_gateway/c/sci_cdfnbn.c \
-sci_gateway/c/sci_cdfnor.c
-
-libscistatistics_la_CFLAGS=    -I$(srcdir)/includes/ \
-                               -I$(srcdir)/src/c/ \
-                               -I$(top_srcdir)/modules/output_stream/includes \
-                               -I$(top_srcdir)/modules/api_scilab/includes \
-                               -I$(top_srcdir)/modules/operations/includes \
-                               -I$(top_srcdir)/modules/output_stream/includes
+STATISTICS_C_SOURCES = \
+       src/c/CdfBase.c \
+       src/c/ipmpar1.c \
+       src/c/sci_string_matrix.c
+
+STATISTICS_FORTRAN_SOURCES = \
+       src/dcdflib/psi.f \
+       src/dcdflib/alngam.f \
+    src/dcdflib/erfc1.f \
+    src/dcdflib/cdff.f \
+    src/dcdflib/spmpar.f \
+    src/dcdflib/cumnor.f \
+    src/dcdflib/cdfpoi.f \
+    src/dcdflib/bcorr.f \
+    src/dcdflib/cumchi.f \
+    src/dcdflib/apser.f \
+    src/dcdflib/gamln1.f \
+    src/dcdflib/cdft.f \
+    src/dcdflib/gaminv.f \
+    src/dcdflib/cumnbn.f \
+    src/dcdflib/cdffnc.f \
+    src/dcdflib/rlog1.f \
+    src/dcdflib/cdfchn.f \
+    src/dcdflib/dt1.f \
+    src/dcdflib/bgrat.f \
+    src/dcdflib/dinvnr.f \
+    src/dcdflib/rlog.f \
+    src/dcdflib/basym.f \
+    src/dcdflib/bfrac.f \
+    src/dcdflib/cumbin.f \
+    src/dcdflib/cumbet.f \
+    src/dcdflib/rcomp.f \
+    src/dcdflib/cdfgam.f \
+    src/dcdflib/gratio.f \
+    src/dcdflib/gam1.f \
+    src/dcdflib/exparg.f \
+    src/dcdflib/ipmpar.f \
+    src/dcdflib/cumf.f \
+    src/dcdflib/cumpoi.f \
+    src/dcdflib/gamln.f \
+    src/dcdflib/betaln.f \
+    src/dcdflib/stvaln.f \
+    src/dcdflib/cumt.f \
+    src/dcdflib/esum.f \
+    src/dcdflib/bpser.f \
+    src/dcdflib/cdfnor.f \
+    src/dcdflib/cumfnc.f \
+    src/dcdflib/erf.f \
+    src/dcdflib/alnrel.f \
+    src/dcdflib/cumchn.f \
+    src/dcdflib/rexp.f \
+    src/dcdflib/fpser.f \
+    src/dcdflib/bratio.f \
+    src/dcdflib/cdfchi.f \
+    src/dcdflib/gamma.f \
+    src/dcdflib/dinvr.f \
+    src/dcdflib/brcomp.f \
+    src/dcdflib/devlpl.f \
+    src/dcdflib/cdfnbn.f \
+    src/dcdflib/dzror.f \
+    src/dcdflib/gsumln.f \
+    src/dcdflib/algdiv.f \
+    src/dcdflib/cumgam.f \
+    src/dcdflib/grat1.f \
+    src/dcdflib/brcmp1.f \
+    src/dcdflib/cdfbin.f \
+    src/dcdflib/bup.f \
+    src/dcdflib/cdfbet.f
+
+GATEWAY_C_SOURCES = \
+       sci_gateway/c/gw_statistics.c \
+       sci_gateway/c/sci_cdfchi.c \
+       sci_gateway/c/sci_cdft.c \
+       sci_gateway/c/sci_cdfgam.c \
+       sci_gateway/c/sci_cdff.c \
+       sci_gateway/c/sci_cdffnc.c \
+       sci_gateway/c/sci_cdfpoi.c \
+       sci_gateway/c/sci_cdfbin.c \
+       sci_gateway/c/sci_cdfchn.c \
+       sci_gateway/c/sci_cdfbet.c \
+       sci_gateway/c/sci_cdfnbn.c \
+       sci_gateway/c/sci_cdfnor.c
+
+GATEWAY_CPP_SOURCES = \
+       sci_gateway/cpp/statistics_gw.cpp
+
+libscistatistics_la_CFLAGS= \
+       -I$(srcdir)/includes/ \
+    -I$(srcdir)/src/c/ \
+    -I$(top_srcdir)/modules/output_stream/includes \
+    -I$(top_srcdir)/modules/api_scilab/includes \
+    -I$(top_srcdir)/modules/operations/includes \
+    -I$(top_srcdir)/modules/output_stream/includes
+
+libscistatistics_la_CPPFLAGS = \
+       -I$(srcdir)/includes/ \
+    -I$(top_srcdir)/modules/api_scilab/includes \
+    -I$(top_srcdir)/modules/symbol/includes \
+       -I$(top_srcdir)/modules/types/includes \
+    -I$(top_srcdir)/modules/ast/includes \
+    -I$(top_srcdir)/modules/operations/includes
 
 pkglib_LTLIBRARIES = libscistatistics.la
 noinst_LTLIBRARIES = libscistatistics-algo.la
@@ -97,7 +112,7 @@ noinst_LTLIBRARIES = libscistatistics-algo.la
 libscistatistics_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION)
 
 libscistatistics_algo_la_SOURCES = $(STATISTICS_C_SOURCES) $(STATISTICS_FORTRAN_SOURCES)
-libscistatistics_la_SOURCES = $(GATEWAY_C_SOURCES)
+libscistatistics_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES)
 libscistatistics_algo_la_CFLAGS = $(libscistatistics_la_CFLAGS)
 
 # For the code check (splint)
index d099dbc..ddef4b4 100644 (file)
@@ -142,12 +142,12 @@ am__objects_3 = libscistatistics_la-gw_statistics.lo \
        libscistatistics_la-sci_cdfbet.lo \
        libscistatistics_la-sci_cdfnbn.lo \
        libscistatistics_la-sci_cdfnor.lo
-am_libscistatistics_la_OBJECTS = $(am__objects_3)
+am__objects_4 = libscistatistics_la-statistics_gw.lo
+am_libscistatistics_la_OBJECTS = $(am__objects_3) $(am__objects_4)
 libscistatistics_la_OBJECTS = $(am_libscistatistics_la_OBJECTS)
-libscistatistics_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
-       $(LIBTOOLFLAGS) --mode=link $(CCLD) \
-       $(libscistatistics_la_CFLAGS) $(CFLAGS) \
-       $(libscistatistics_la_LDFLAGS) $(LDFLAGS) -o $@
+libscistatistics_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
+       $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
+       $(CXXFLAGS) $(libscistatistics_la_LDFLAGS) $(LDFLAGS) -o $@
 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes
 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
 am__depfiles_maybe = depfiles
@@ -161,6 +161,15 @@ CCLD = $(CC)
 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
        --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
        $(LDFLAGS) -o $@
+CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+       --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+       $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
+CXXLD = $(CXX)
+CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+       --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
+       $(LDFLAGS) -o $@
 F77COMPILE = $(F77) $(AM_FFLAGS) $(FFLAGS)
 LTF77COMPILE = $(LIBTOOL) --tag=F77 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
        --mode=compile $(F77) $(AM_FFLAGS) $(FFLAGS)
@@ -437,98 +446,113 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 yacc_present = @yacc_present@
-STATISTICS_C_SOURCES = src/c/CdfBase.c \
-src/c/ipmpar1.c \
-src/c/sci_string_matrix.c
-
-STATISTICS_FORTRAN_SOURCES = src/dcdflib/psi.f \
-src/dcdflib/alngam.f \
-src/dcdflib/erfc1.f \
-src/dcdflib/cdff.f \
-src/dcdflib/spmpar.f \
-src/dcdflib/cumnor.f \
-src/dcdflib/cdfpoi.f \
-src/dcdflib/bcorr.f \
-src/dcdflib/cumchi.f \
-src/dcdflib/apser.f \
-src/dcdflib/gamln1.f \
-src/dcdflib/cdft.f \
-src/dcdflib/gaminv.f \
-src/dcdflib/cumnbn.f \
-src/dcdflib/cdffnc.f \
-src/dcdflib/rlog1.f \
-src/dcdflib/cdfchn.f \
-src/dcdflib/dt1.f \
-src/dcdflib/bgrat.f \
-src/dcdflib/dinvnr.f \
-src/dcdflib/rlog.f \
-src/dcdflib/basym.f \
-src/dcdflib/bfrac.f \
-src/dcdflib/cumbin.f \
-src/dcdflib/cumbet.f \
-src/dcdflib/rcomp.f \
-src/dcdflib/cdfgam.f \
-src/dcdflib/gratio.f \
-src/dcdflib/gam1.f \
-src/dcdflib/exparg.f \
-src/dcdflib/ipmpar.f \
-src/dcdflib/cumf.f \
-src/dcdflib/cumpoi.f \
-src/dcdflib/gamln.f \
-src/dcdflib/betaln.f \
-src/dcdflib/stvaln.f \
-src/dcdflib/cumt.f \
-src/dcdflib/esum.f \
-src/dcdflib/bpser.f \
-src/dcdflib/cdfnor.f \
-src/dcdflib/cumfnc.f \
-src/dcdflib/erf.f \
-src/dcdflib/alnrel.f \
-src/dcdflib/cumchn.f \
-src/dcdflib/rexp.f \
-src/dcdflib/fpser.f \
-src/dcdflib/bratio.f \
-src/dcdflib/cdfchi.f \
-src/dcdflib/gamma.f \
-src/dcdflib/dinvr.f \
-src/dcdflib/brcomp.f \
-src/dcdflib/devlpl.f \
-src/dcdflib/cdfnbn.f \
-src/dcdflib/dzror.f \
-src/dcdflib/gsumln.f \
-src/dcdflib/algdiv.f \
-src/dcdflib/cumgam.f \
-src/dcdflib/grat1.f \
-src/dcdflib/brcmp1.f \
-src/dcdflib/cdfbin.f \
-src/dcdflib/bup.f \
-src/dcdflib/cdfbet.f
-
-GATEWAY_C_SOURCES = sci_gateway/c/gw_statistics.c \
-sci_gateway/c/sci_cdfchi.c \
-sci_gateway/c/sci_cdft.c \
-sci_gateway/c/sci_cdfgam.c \
-sci_gateway/c/sci_cdff.c \
-sci_gateway/c/sci_cdffnc.c \
-sci_gateway/c/sci_cdfpoi.c \
-sci_gateway/c/sci_cdfbin.c \
-sci_gateway/c/sci_cdfchn.c \
-sci_gateway/c/sci_cdfbet.c \
-sci_gateway/c/sci_cdfnbn.c \
-sci_gateway/c/sci_cdfnor.c
-
-libscistatistics_la_CFLAGS = -I$(srcdir)/includes/ \
-                               -I$(srcdir)/src/c/ \
-                               -I$(top_srcdir)/modules/output_stream/includes \
-                               -I$(top_srcdir)/modules/api_scilab/includes \
-                               -I$(top_srcdir)/modules/operations/includes \
-                               -I$(top_srcdir)/modules/output_stream/includes
+STATISTICS_C_SOURCES = \
+       src/c/CdfBase.c \
+       src/c/ipmpar1.c \
+       src/c/sci_string_matrix.c
+
+STATISTICS_FORTRAN_SOURCES = \
+       src/dcdflib/psi.f \
+       src/dcdflib/alngam.f \
+    src/dcdflib/erfc1.f \
+    src/dcdflib/cdff.f \
+    src/dcdflib/spmpar.f \
+    src/dcdflib/cumnor.f \
+    src/dcdflib/cdfpoi.f \
+    src/dcdflib/bcorr.f \
+    src/dcdflib/cumchi.f \
+    src/dcdflib/apser.f \
+    src/dcdflib/gamln1.f \
+    src/dcdflib/cdft.f \
+    src/dcdflib/gaminv.f \
+    src/dcdflib/cumnbn.f \
+    src/dcdflib/cdffnc.f \
+    src/dcdflib/rlog1.f \
+    src/dcdflib/cdfchn.f \
+    src/dcdflib/dt1.f \
+    src/dcdflib/bgrat.f \
+    src/dcdflib/dinvnr.f \
+    src/dcdflib/rlog.f \
+    src/dcdflib/basym.f \
+    src/dcdflib/bfrac.f \
+    src/dcdflib/cumbin.f \
+    src/dcdflib/cumbet.f \
+    src/dcdflib/rcomp.f \
+    src/dcdflib/cdfgam.f \
+    src/dcdflib/gratio.f \
+    src/dcdflib/gam1.f \
+    src/dcdflib/exparg.f \
+    src/dcdflib/ipmpar.f \
+    src/dcdflib/cumf.f \
+    src/dcdflib/cumpoi.f \
+    src/dcdflib/gamln.f \
+    src/dcdflib/betaln.f \
+    src/dcdflib/stvaln.f \
+    src/dcdflib/cumt.f \
+    src/dcdflib/esum.f \
+    src/dcdflib/bpser.f \
+    src/dcdflib/cdfnor.f \
+    src/dcdflib/cumfnc.f \
+    src/dcdflib/erf.f \
+    src/dcdflib/alnrel.f \
+    src/dcdflib/cumchn.f \
+    src/dcdflib/rexp.f \
+    src/dcdflib/fpser.f \
+    src/dcdflib/bratio.f \
+    src/dcdflib/cdfchi.f \
+    src/dcdflib/gamma.f \
+    src/dcdflib/dinvr.f \
+    src/dcdflib/brcomp.f \
+    src/dcdflib/devlpl.f \
+    src/dcdflib/cdfnbn.f \
+    src/dcdflib/dzror.f \
+    src/dcdflib/gsumln.f \
+    src/dcdflib/algdiv.f \
+    src/dcdflib/cumgam.f \
+    src/dcdflib/grat1.f \
+    src/dcdflib/brcmp1.f \
+    src/dcdflib/cdfbin.f \
+    src/dcdflib/bup.f \
+    src/dcdflib/cdfbet.f
+
+GATEWAY_C_SOURCES = \
+       sci_gateway/c/gw_statistics.c \
+       sci_gateway/c/sci_cdfchi.c \
+       sci_gateway/c/sci_cdft.c \
+       sci_gateway/c/sci_cdfgam.c \
+       sci_gateway/c/sci_cdff.c \
+       sci_gateway/c/sci_cdffnc.c \
+       sci_gateway/c/sci_cdfpoi.c \
+       sci_gateway/c/sci_cdfbin.c \
+       sci_gateway/c/sci_cdfchn.c \
+       sci_gateway/c/sci_cdfbet.c \
+       sci_gateway/c/sci_cdfnbn.c \
+       sci_gateway/c/sci_cdfnor.c
+
+GATEWAY_CPP_SOURCES = \
+       sci_gateway/cpp/statistics_gw.cpp
+
+libscistatistics_la_CFLAGS = \
+       -I$(srcdir)/includes/ \
+    -I$(srcdir)/src/c/ \
+    -I$(top_srcdir)/modules/output_stream/includes \
+    -I$(top_srcdir)/modules/api_scilab/includes \
+    -I$(top_srcdir)/modules/operations/includes \
+    -I$(top_srcdir)/modules/output_stream/includes
+
+libscistatistics_la_CPPFLAGS = \
+       -I$(srcdir)/includes/ \
+    -I$(top_srcdir)/modules/api_scilab/includes \
+    -I$(top_srcdir)/modules/symbol/includes \
+       -I$(top_srcdir)/modules/types/includes \
+    -I$(top_srcdir)/modules/ast/includes \
+    -I$(top_srcdir)/modules/operations/includes
 
 pkglib_LTLIBRARIES = libscistatistics.la
 noinst_LTLIBRARIES = libscistatistics-algo.la
 libscistatistics_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION)
 libscistatistics_algo_la_SOURCES = $(STATISTICS_C_SOURCES) $(STATISTICS_FORTRAN_SOURCES)
-libscistatistics_la_SOURCES = $(GATEWAY_C_SOURCES)
+libscistatistics_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES)
 libscistatistics_algo_la_CFLAGS = $(libscistatistics_la_CFLAGS)
 
 # For the code check (splint)
@@ -616,7 +640,7 @@ HELP_CHAPTERLANG = en_US fr_FR pt_BR
 all: all-am
 
 .SUFFIXES:
-.SUFFIXES: .sci .bin .c .f .lo .o .obj
+.SUFFIXES: .sci .bin .c .cpp .f .lo .o .obj
 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
        @for dep in $?; do \
          case '$(am__configure_deps)' in \
@@ -713,6 +737,7 @@ distclean-compile:
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscistatistics_la-sci_cdfnor.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscistatistics_la-sci_cdfpoi.Plo@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscistatistics_la-sci_cdft.Plo@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libscistatistics_la-statistics_gw.Plo@am__quote@
 
 .c.o:
 @am__fastdepCC_TRUE@   $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@@ -757,88 +782,116 @@ libscistatistics_algo_la-sci_string_matrix.lo: src/c/sci_string_matrix.c
 @am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_algo_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_algo_la-sci_string_matrix.lo `test -f 'src/c/sci_string_matrix.c' || echo '$(srcdir)/'`src/c/sci_string_matrix.c
 
 libscistatistics_la-gw_statistics.lo: sci_gateway/c/gw_statistics.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-gw_statistics.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-gw_statistics.Tpo -c -o libscistatistics_la-gw_statistics.lo `test -f 'sci_gateway/c/gw_statistics.c' || echo '$(srcdir)/'`sci_gateway/c/gw_statistics.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-gw_statistics.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-gw_statistics.Tpo -c -o libscistatistics_la-gw_statistics.lo `test -f 'sci_gateway/c/gw_statistics.c' || echo '$(srcdir)/'`sci_gateway/c/gw_statistics.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscistatistics_la-gw_statistics.Tpo $(DEPDIR)/libscistatistics_la-gw_statistics.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/gw_statistics.c' object='libscistatistics_la-gw_statistics.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-gw_statistics.lo `test -f 'sci_gateway/c/gw_statistics.c' || echo '$(srcdir)/'`sci_gateway/c/gw_statistics.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-gw_statistics.lo `test -f 'sci_gateway/c/gw_statistics.c' || echo '$(srcdir)/'`sci_gateway/c/gw_statistics.c
 
 libscistatistics_la-sci_cdfchi.lo: sci_gateway/c/sci_cdfchi.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdfchi.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdfchi.Tpo -c -o libscistatistics_la-sci_cdfchi.lo `test -f 'sci_gateway/c/sci_cdfchi.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfchi.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdfchi.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdfchi.Tpo -c -o libscistatistics_la-sci_cdfchi.lo `test -f 'sci_gateway/c/sci_cdfchi.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfchi.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscistatistics_la-sci_cdfchi.Tpo $(DEPDIR)/libscistatistics_la-sci_cdfchi.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_cdfchi.c' object='libscistatistics_la-sci_cdfchi.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdfchi.lo `test -f 'sci_gateway/c/sci_cdfchi.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfchi.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdfchi.lo `test -f 'sci_gateway/c/sci_cdfchi.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfchi.c
 
 libscistatistics_la-sci_cdft.lo: sci_gateway/c/sci_cdft.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdft.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdft.Tpo -c -o libscistatistics_la-sci_cdft.lo `test -f 'sci_gateway/c/sci_cdft.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdft.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdft.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdft.Tpo -c -o libscistatistics_la-sci_cdft.lo `test -f 'sci_gateway/c/sci_cdft.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdft.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscistatistics_la-sci_cdft.Tpo $(DEPDIR)/libscistatistics_la-sci_cdft.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_cdft.c' object='libscistatistics_la-sci_cdft.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdft.lo `test -f 'sci_gateway/c/sci_cdft.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdft.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdft.lo `test -f 'sci_gateway/c/sci_cdft.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdft.c
 
 libscistatistics_la-sci_cdfgam.lo: sci_gateway/c/sci_cdfgam.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdfgam.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdfgam.Tpo -c -o libscistatistics_la-sci_cdfgam.lo `test -f 'sci_gateway/c/sci_cdfgam.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfgam.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdfgam.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdfgam.Tpo -c -o libscistatistics_la-sci_cdfgam.lo `test -f 'sci_gateway/c/sci_cdfgam.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfgam.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscistatistics_la-sci_cdfgam.Tpo $(DEPDIR)/libscistatistics_la-sci_cdfgam.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_cdfgam.c' object='libscistatistics_la-sci_cdfgam.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdfgam.lo `test -f 'sci_gateway/c/sci_cdfgam.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfgam.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdfgam.lo `test -f 'sci_gateway/c/sci_cdfgam.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfgam.c
 
 libscistatistics_la-sci_cdff.lo: sci_gateway/c/sci_cdff.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdff.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdff.Tpo -c -o libscistatistics_la-sci_cdff.lo `test -f 'sci_gateway/c/sci_cdff.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdff.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdff.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdff.Tpo -c -o libscistatistics_la-sci_cdff.lo `test -f 'sci_gateway/c/sci_cdff.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdff.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscistatistics_la-sci_cdff.Tpo $(DEPDIR)/libscistatistics_la-sci_cdff.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_cdff.c' object='libscistatistics_la-sci_cdff.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdff.lo `test -f 'sci_gateway/c/sci_cdff.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdff.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdff.lo `test -f 'sci_gateway/c/sci_cdff.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdff.c
 
 libscistatistics_la-sci_cdffnc.lo: sci_gateway/c/sci_cdffnc.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdffnc.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdffnc.Tpo -c -o libscistatistics_la-sci_cdffnc.lo `test -f 'sci_gateway/c/sci_cdffnc.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdffnc.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdffnc.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdffnc.Tpo -c -o libscistatistics_la-sci_cdffnc.lo `test -f 'sci_gateway/c/sci_cdffnc.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdffnc.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscistatistics_la-sci_cdffnc.Tpo $(DEPDIR)/libscistatistics_la-sci_cdffnc.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_cdffnc.c' object='libscistatistics_la-sci_cdffnc.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdffnc.lo `test -f 'sci_gateway/c/sci_cdffnc.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdffnc.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdffnc.lo `test -f 'sci_gateway/c/sci_cdffnc.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdffnc.c
 
 libscistatistics_la-sci_cdfpoi.lo: sci_gateway/c/sci_cdfpoi.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdfpoi.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdfpoi.Tpo -c -o libscistatistics_la-sci_cdfpoi.lo `test -f 'sci_gateway/c/sci_cdfpoi.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfpoi.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdfpoi.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdfpoi.Tpo -c -o libscistatistics_la-sci_cdfpoi.lo `test -f 'sci_gateway/c/sci_cdfpoi.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfpoi.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscistatistics_la-sci_cdfpoi.Tpo $(DEPDIR)/libscistatistics_la-sci_cdfpoi.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_cdfpoi.c' object='libscistatistics_la-sci_cdfpoi.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdfpoi.lo `test -f 'sci_gateway/c/sci_cdfpoi.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfpoi.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdfpoi.lo `test -f 'sci_gateway/c/sci_cdfpoi.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfpoi.c
 
 libscistatistics_la-sci_cdfbin.lo: sci_gateway/c/sci_cdfbin.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdfbin.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdfbin.Tpo -c -o libscistatistics_la-sci_cdfbin.lo `test -f 'sci_gateway/c/sci_cdfbin.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfbin.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdfbin.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdfbin.Tpo -c -o libscistatistics_la-sci_cdfbin.lo `test -f 'sci_gateway/c/sci_cdfbin.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfbin.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscistatistics_la-sci_cdfbin.Tpo $(DEPDIR)/libscistatistics_la-sci_cdfbin.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_cdfbin.c' object='libscistatistics_la-sci_cdfbin.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdfbin.lo `test -f 'sci_gateway/c/sci_cdfbin.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfbin.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdfbin.lo `test -f 'sci_gateway/c/sci_cdfbin.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfbin.c
 
 libscistatistics_la-sci_cdfchn.lo: sci_gateway/c/sci_cdfchn.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdfchn.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdfchn.Tpo -c -o libscistatistics_la-sci_cdfchn.lo `test -f 'sci_gateway/c/sci_cdfchn.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfchn.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdfchn.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdfchn.Tpo -c -o libscistatistics_la-sci_cdfchn.lo `test -f 'sci_gateway/c/sci_cdfchn.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfchn.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscistatistics_la-sci_cdfchn.Tpo $(DEPDIR)/libscistatistics_la-sci_cdfchn.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_cdfchn.c' object='libscistatistics_la-sci_cdfchn.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdfchn.lo `test -f 'sci_gateway/c/sci_cdfchn.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfchn.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdfchn.lo `test -f 'sci_gateway/c/sci_cdfchn.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfchn.c
 
 libscistatistics_la-sci_cdfbet.lo: sci_gateway/c/sci_cdfbet.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdfbet.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdfbet.Tpo -c -o libscistatistics_la-sci_cdfbet.lo `test -f 'sci_gateway/c/sci_cdfbet.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfbet.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdfbet.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdfbet.Tpo -c -o libscistatistics_la-sci_cdfbet.lo `test -f 'sci_gateway/c/sci_cdfbet.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfbet.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscistatistics_la-sci_cdfbet.Tpo $(DEPDIR)/libscistatistics_la-sci_cdfbet.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_cdfbet.c' object='libscistatistics_la-sci_cdfbet.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdfbet.lo `test -f 'sci_gateway/c/sci_cdfbet.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfbet.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdfbet.lo `test -f 'sci_gateway/c/sci_cdfbet.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfbet.c
 
 libscistatistics_la-sci_cdfnbn.lo: sci_gateway/c/sci_cdfnbn.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdfnbn.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdfnbn.Tpo -c -o libscistatistics_la-sci_cdfnbn.lo `test -f 'sci_gateway/c/sci_cdfnbn.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfnbn.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdfnbn.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdfnbn.Tpo -c -o libscistatistics_la-sci_cdfnbn.lo `test -f 'sci_gateway/c/sci_cdfnbn.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfnbn.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscistatistics_la-sci_cdfnbn.Tpo $(DEPDIR)/libscistatistics_la-sci_cdfnbn.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_cdfnbn.c' object='libscistatistics_la-sci_cdfnbn.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdfnbn.lo `test -f 'sci_gateway/c/sci_cdfnbn.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfnbn.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdfnbn.lo `test -f 'sci_gateway/c/sci_cdfnbn.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfnbn.c
 
 libscistatistics_la-sci_cdfnor.lo: sci_gateway/c/sci_cdfnor.c
-@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdfnor.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdfnor.Tpo -c -o libscistatistics_la-sci_cdfnor.lo `test -f 'sci_gateway/c/sci_cdfnor.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfnor.c
+@am__fastdepCC_TRUE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -MT libscistatistics_la-sci_cdfnor.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-sci_cdfnor.Tpo -c -o libscistatistics_la-sci_cdfnor.lo `test -f 'sci_gateway/c/sci_cdfnor.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfnor.c
 @am__fastdepCC_TRUE@   $(am__mv) $(DEPDIR)/libscistatistics_la-sci_cdfnor.Tpo $(DEPDIR)/libscistatistics_la-sci_cdfnor.Plo
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sci_gateway/c/sci_cdfnor.c' object='libscistatistics_la-sci_cdfnor.lo' libtool=yes @AMDEPBACKSLASH@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdfnor.lo `test -f 'sci_gateway/c/sci_cdfnor.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfnor.c
+@am__fastdepCC_FALSE@  $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(libscistatistics_la_CFLAGS) $(CFLAGS) -c -o libscistatistics_la-sci_cdfnor.lo `test -f 'sci_gateway/c/sci_cdfnor.c' || echo '$(srcdir)/'`sci_gateway/c/sci_cdfnor.c
+
+.cpp.o:
+@am__fastdepCXX_TRUE@  $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
+
+.cpp.obj:
+@am__fastdepCXX_TRUE@  $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
+
+.cpp.lo:
+@am__fastdepCXX_TRUE@  $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
+
+libscistatistics_la-statistics_gw.lo: sci_gateway/cpp/statistics_gw.cpp
+@am__fastdepCXX_TRUE@  $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libscistatistics_la-statistics_gw.lo -MD -MP -MF $(DEPDIR)/libscistatistics_la-statistics_gw.Tpo -c -o libscistatistics_la-statistics_gw.lo `test -f 'sci_gateway/cpp/statistics_gw.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/statistics_gw.cpp
+@am__fastdepCXX_TRUE@  $(am__mv) $(DEPDIR)/libscistatistics_la-statistics_gw.Tpo $(DEPDIR)/libscistatistics_la-statistics_gw.Plo
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     source='sci_gateway/cpp/statistics_gw.cpp' object='libscistatistics_la-statistics_gw.lo' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCXX_FALSE@     DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCXX_FALSE@ $(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscistatistics_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libscistatistics_la-statistics_gw.lo `test -f 'sci_gateway/cpp/statistics_gw.cpp' || echo '$(srcdir)/'`sci_gateway/cpp/statistics_gw.cpp
 
 .f.o:
        $(F77COMPILE) -c -o $@ $<
diff --git a/scilab/modules/statistics/includes/dynlib_statistics_gw.h b/scilab/modules/statistics/includes/dynlib_statistics_gw.h
new file mode 100644 (file)
index 0000000..d716234
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+* Copyright (C) DIGITEO - 2009 - Allan CORNET
+* 
+* 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 __DYNLIB_STATISTICS_GW_H__
+#define __DYNLIB_STATISTICS_GW_H__
+
+#ifdef _MSC_VER
+       #if STATISTICS_GW_EXPORTS
+               #define EXTERN_STATISTICS_GW __declspec (dllexport)
+       #else
+               #define EXTERN_STATISTICS_GW __declspec (dllimport)
+       #endif
+#else
+       #define EXTERN_STATISTICS_GW
+#endif
+
+#endif /* __DYNLIB_STATISTICS_GW_H__ */
+/*--------------------------------------------------------------------------*/ 
index 08f2b02..33f4d7e 100644 (file)
 #include "machine.h"
 #include "dynlib_statistics.h"
 #include "api_scilab.h"
+#include "c_gateway_prototype.h"
 /*--------------------------------------------------------------------------*/ 
 STATISTICS_IMPEXP int gw_statistics(void);
 /*--------------------------------------------------------------------------*/ 
 
+STATISTICS_IMPEXP C_GATEWAY_PROTOTYPE(sci_cdfbet);
+STATISTICS_IMPEXP C_GATEWAY_PROTOTYPE(sci_cdfbin);
+STATISTICS_IMPEXP C_GATEWAY_PROTOTYPE(sci_cdfchi);
+STATISTICS_IMPEXP C_GATEWAY_PROTOTYPE(sci_cdfchn);
+STATISTICS_IMPEXP C_GATEWAY_PROTOTYPE(sci_cdff);
+STATISTICS_IMPEXP C_GATEWAY_PROTOTYPE(sci_cdffnc);
+STATISTICS_IMPEXP C_GATEWAY_PROTOTYPE(sci_cdfgam);
+STATISTICS_IMPEXP C_GATEWAY_PROTOTYPE(sci_cdfnbn);
+STATISTICS_IMPEXP C_GATEWAY_PROTOTYPE(sci_cdfnor);
+STATISTICS_IMPEXP C_GATEWAY_PROTOTYPE(sci_cdfpoi);
+STATISTICS_IMPEXP C_GATEWAY_PROTOTYPE(sci_cdft);
+
+/*
 //YaSp
 STATISTICS_IMPEXP int cdfchiI(char* fname, int* _piKey);
 STATISTICS_IMPEXP int cdftI(char* fname, int* _piKey);
@@ -32,6 +46,7 @@ STATISTICS_IMPEXP int cdfbetI(char* fname, int* _piKey);
 STATISTICS_IMPEXP int cdfchnI(char* fname, int* _piKey);
 STATISTICS_IMPEXP int cdfnbnI(char* fname, int* _piKey);
 STATISTICS_IMPEXP int cdfnorI(char* fname, int* _piKey);
+*/
 /*--------------------------------------------------------------------------*/ 
 #endif /*  __GW_STATISTICS__ */
 /*--------------------------------------------------------------------------*/
diff --git a/scilab/modules/statistics/includes/statistics_gw.hxx b/scilab/modules/statistics/includes/statistics_gw.hxx
new file mode 100644 (file)
index 0000000..99d8687
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2011 - DIGITEO - Cedric DELAMARRE
+ *
+ *  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 __STATISTICS_GW_HXX__
+#define __STATISTICS_GW_HXX__
+
+extern "C"
+{
+#include "dynlib_statistics_gw.h"
+}
+
+class StatisticsModule
+{
+private :
+   StatisticsModule(){};
+   ~StatisticsModule(){};
+public :
+   EXTERN_STATISTICS_GW static int Load();
+};
+
+#endif /* !__STATISTICS_GW_HXX__ */
index 2642001..cd0b547 100644 (file)
@@ -20,43 +20,53 @@ function [y] = mean(x,orient)
 //    - mean([]) return nan but mean([],orient) return [] (this
 //      is strange but corresponds to matlab behavior)
 
-[lhs,rhs] = argn()
-// some arguments checking
-if rhs == 0 | rhs > 2 then
-  error(msprintf(gettext("%s: Wrong number of input argument: %d to %d expected.\n"),"mean",1,2)),
-else
-  if type(x) ~= 1  &  typeof(x) ~= "hypermat" then
-       error(msprintf(gettext("%s: Wrong type for input argument #%d: Real vector or matrix expected.\n"), "mean",1))
-  end
-  if type(x) ~= 1 then  // that is x is an hypermat !
-       if type(x.entries) ~= 1 then
-         error(msprintf(gettext("%s: Wrong type for input argument #%d.\n"),"mean",1))
-       end
-  end
-  if rhs == 2 then
-       if orient == "r" then, orient = 1, end 
-       if orient == "c" then, orient = 2, end
-       if orient == "m" then 
-         flag=find(size(x)>1,1)
-         if flag==[] then
-               y=mean(x)
-               return
-         else
-               y=mean(x,flag)
-               return
-         end
-       end
-       if floor(orient)~=orient | orient < 1 | orient > length(size(x)) then
-         error(msprintf(gettext("%s: Wrong type for input argument #%d: Scalar or vector expected.\n"),"mean",2)),
-       end
-  end 
-end
-
-if rhs==1 then
-  if x==[] then y=%nan;return,end
-  y=sum(x)/size(x,'*')
-else
-  if x==[] then y=[];return,end
-  y=sum(x,orient)/size(x,orient)
-end
+    [lhs,rhs] = argn()
+    // some arguments checking
+    if rhs == 0 | rhs > 2 then
+        error(msprintf(gettext("%s: Wrong number of input argument: %d to %d expected.\n"), "mean", 1, 2)),
+    else
+        if type(x) <> 1 then
+            error(msprintf(gettext("%s: Wrong type for input argument #%d: Real vector or matrix expected.\n"), "mean", 1))
+        end
+
+        if rhs == 2 then
+               if orient == "r" then
+                orient = 1;
+            end 
+
+               if orient == "c" then
+                orient = 2;
+            end
+       
+            if orient == "m" then 
+                   flag = find(size(x) > 1, 1);
+                   if flag == [] then
+                           y = mean(x);
+                           return
+                   else
+                           y = mean(x, flag);
+                           return
+                   end
+               end
+               if floor(orient) <> orient | orient < 1 | orient > length(size(x)) then
+                   error(msprintf(gettext("%s: Wrong type for input argument #%d: Scalar or vector expected.\n"), "mean", 2)),
+               end
+        end 
+    end
+
+    if rhs == 1 then
+        if x == [] then
+            y = %nan;
+            return
+        end
+
+        y = sum(x) / size(x, '*');
+    else
+        if x == [] then
+            y = [];
+            return
+        end
+
+        y = sum(x, orient) / size(x, orient);
+    end
 endfunction
index 91032df..cd336cd 100644 (file)
@@ -20,7 +20,7 @@ extern int C2F(cdfbet)(int *,double *,double *,double *,double *,double *,double
  * SUBROUTINE CDFBET( WHICH, P, Q, X, Y, A, B, STATUS, BOUND )
  * Cumulative Distribution Function, BETa Distribution
  */
-int cdfbetI(char* fname, int* _piKey) 
+int sci_cdfbet(char* fname, int* _piKey) 
 {
   struct cdf_item items[] =
     {{"PQ", 4, 2, 2},
index 0bf488f..4e2ee8e 100644 (file)
@@ -20,7 +20,7 @@ extern int C2F(cdfbin)(int *,double *,double *,double *,double *,double *,double
  * SUBROUTINE CDFBIN ( WHICH, P, Q, S, XN, PR, OMPR, STATUS, BOUND )
  * Cumulative Distribution Function, BINomial distribution
  */
-int cdfbinI(char* fname, int* _piKey) 
+int sci_cdfbin(char* fname, int* _piKey) 
 { 
   struct cdf_item items[] =
     {{"PQ"    , 4, 2, 2},
index 2c82074..fd49e01 100644 (file)
@@ -20,7 +20,7 @@ extern int C2F(cdfchi)(int *, double *, double *, double *, double *, int *, dou
  * SUBROUTINE CDFCHI( WHICH, P, Q, X, DF, STATUS, BOUND )
  * Cumulative Distribution Function, CHI-square distribution
  */
-int cdfchiI(char *fname, int* _piKey)
+int sci_cdfchi(char *fname, int* _piKey)
 {
   struct cdf_item items[] = 
     {{"PQ", 2, 2, 2},
index c846f2e..1c028c5 100644 (file)
@@ -20,7 +20,7 @@ extern int C2F(cdfchn)(int *,double *,double *,double*,double *,double *, int *,
  * SUBROUTINE CDFCHN( WHICH, P, Q, X, DF, PNONC, STATUS, BOUND )
  * Cumulative Distribution Function, CHi-square Non-central 
  */
-int cdfchnI(char* fname, int* _piKey) 
+int sci_cdfchn(char* fname, int* _piKey) 
 { 
   struct cdf_item items[] =
     {{"PQ"   , 3, 2, 2},
index 449c5b1..a4066f2 100644 (file)
@@ -20,7 +20,7 @@ extern int C2F(cdff)(int *,double *,double *,double*,double *,double *, int *,do
  * SUBROUTINE CDFF( WHICH, P, Q, F, DFN, DFD, STATUS, BOUND )
  * Cumulative Distribution Function, F distribution
  */
-int cdffI(char* fname, int* _piKey)
+int sci_cdff(char* fname, int* _piKey)
 {
   struct cdf_item items[] =
     {{"PQ",  3, 2, 2},
index 6eba2a7..5384f1a 100644 (file)
@@ -20,7 +20,7 @@ extern int C2F(cdffnc)(int *,double *,double *,double*,double *,double *, int *,
  * SUBROUTINE CDFFNC( WHICH, P, Q, F, DFN, DFD, PNONC, STATUS, BOUND )
  * Cumulative Distribution Function, F distribution Non-Central 
  */
-int cdffncI(char* fname, int* _piKey)
+int sci_cdffnc(char* fname, int* _piKey)
 {
   struct cdf_item items[] =
     {{"PQ"   , 4, 2, 2},
index e5660ef..d4e0b9a 100644 (file)
@@ -20,7 +20,7 @@ extern int C2F(cdfgam)(int *, double *, double *, double*, double *, double *, i
  * SUBROUTINE CDFGAM( WHICH, P, Q, X, SHAPE, SCALE, STATUS, BOUND )
  * Cumulative Distribution Function, GAMma distribution
  */
-int cdfgamI(char* fname, int* _piKey)
+int sci_cdfgam(char* fname, int* _piKey)
 {
   struct cdf_item items[] =
     {{"PQ",    3, 2, 2},
index 8c7371d..ea9b2ba 100644 (file)
@@ -20,7 +20,7 @@ extern int C2F(cdfnbn)(int *, double *, double *, double *, double *, double *,
  * SUBROUTINE CDFNBN ( WHICH, P,Q, S, XN, PR, STATUS, BOUND )
  * Cumulative Distribution Function, Negative BiNomial distribution
  */
-int cdfnbnI(char* fname, int* _piKey)
+int sci_cdfnbn(char* fname, int* _piKey)
 {
   struct cdf_item items[] =
     {{"PQ"    , 4, 2, 2},
index e712200..5b49766 100644 (file)
@@ -20,7 +20,7 @@ extern int C2F(cdfnor)(int *,double *,double *,double*,double *,double *, int *,
  * SUBROUTINE CDFNOR ( WHICH, P, Q, X, MEAN, SD, STATUS, BOUND )
  * Cumulative Distribution Function, NORmal distribution
  */
-int cdfnorI(char* fname, int* _piKey)
+int sci_cdfnor(char* fname, int* _piKey)
 {
   struct cdf_item items[] =
     {{"PQ"  , 3, 2, 2},
index 093321f..5945523 100644 (file)
@@ -20,7 +20,7 @@ extern int C2F(cdfpoi)(int *, double *, double *, double *, double *, int *, dou
  * SUBROUTINE CDFPOI( WHICH, P, Q, S, XLAM, STATUS, BOUND )
  * Cumulative Distribution Function, POIsson distribution
  */
-int cdfpoiI(char* fname, int* _piKey)
+int sci_cdfpoi(char* fname, int* _piKey)
 {
   struct cdf_item items[] =
     {{"PQ"  , 2, 2, 2},
index 6b58d4d..bd204fe 100644 (file)
@@ -20,7 +20,7 @@ extern int C2F(cdft)(int *, double *, double *, double *, double *, int *, doubl
  * SUBROUTINE CDFT( WHICH, P, Q, T, DF, STATUS, BOUND )
  * Cumulative Distribution Function, T distribution
  */
-int cdftI(char* fname, int* _piKey)
+int sci_cdft(char* fname, int* _piKey)
 {
   struct cdf_item items[] =
     {{"PQ", 2, 2, 2},
diff --git a/scilab/modules/statistics/sci_gateway/cpp/statistics_gw.cpp b/scilab/modules/statistics/sci_gateway/cpp/statistics_gw.cpp
new file mode 100644 (file)
index 0000000..d0ccb05
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ *  Copyright (C) 2011 - DIGITEO - Cedric DELAMARRE
+ *
+ *  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 "context.hxx"
+#include "function.hxx"
+#include "statistics_gw.hxx"
+
+extern "C"
+{
+    #include "gw_statistics.h"
+}
+
+#define MODULE_NAME L"statistics"
+
+int StatisticsModule::Load()
+{
+    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"cdfbet", &sci_cdfbet, MODULE_NAME));
+    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"cdfbin", &sci_cdfbin, MODULE_NAME));
+    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"cdfchi", &sci_cdfchi, MODULE_NAME));
+    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"cdfchn", &sci_cdfchn, MODULE_NAME));
+    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"cdff",   &sci_cdff,   MODULE_NAME));
+    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"cdffnc", &sci_cdffnc, MODULE_NAME));
+    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"cdfgam", &sci_cdfgam, MODULE_NAME));
+    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"cdfnbn", &sci_cdfnbn, MODULE_NAME));
+    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"cdfnor", &sci_cdfnor, MODULE_NAME));
+    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"cdfpoi", &sci_cdfpoi, MODULE_NAME));
+    symbol::Context::getInstance()->AddFunction(types::Function::createFunction(L"cdft",   &sci_cdft,   MODULE_NAME));
+
+    return true;
+}
diff --git a/scilab/modules/statistics/sci_gateway/cpp/statistics_gw.vcxproj b/scilab/modules/statistics/sci_gateway/cpp/statistics_gw.vcxproj
new file mode 100644 (file)
index 0000000..0039ded
--- /dev/null
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Debug|x64">
+      <Configuration>Debug</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|x64">
+      <Configuration>Release</Configuration>
+      <Platform>x64</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{EAE1009F-B967-43C4-9408-97A37EFA8678}</ProjectGuid>
+    <RootNamespace>statistics_gw</RootNamespace>
+    <Keyword>Win32Proj</Keyword>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>Unicode</CharacterSet>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>Unicode</CharacterSet>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup>
+    <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
+    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)bin\</OutDir>
+    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)$(Configuration)\</IntDir>
+    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <Optimization>Disabled</Optimization>
+      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;STATISTICS_GW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <MinimalRebuild>true</MinimalRebuild>
+      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
+      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
+      <AdditionalIncludeDirectories>../../includes;../../../symbol/includes;../../../types/includes;../../../core/includes;../../../localization/includes;../../../ast/includes;../../../api_scilab/includes;../../../../libs/intl;../../../operations/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+    </ClCompile>
+    <Link>
+      <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <TargetMachine>MachineX86</TargetMachine>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+    <Midl>
+      <TargetEnvironment>X64</TargetEnvironment>
+    </Midl>
+    <ClCompile>
+      <Optimization>Disabled</Optimization>
+      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;STATISTICS_GW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <MinimalRebuild>true</MinimalRebuild>
+      <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
+      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+      <AdditionalIncludeDirectories>../../includes;../../../symbol/includes;../../../types/includes;../../../core/includes;../../../localization/includes;../../../ast/includes;../../../api_scilab/includes;../../../../libs/intl;../../../operations/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+    </ClCompile>
+    <Link>
+      <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <TargetMachine>MachineX64</TargetMachine>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <Optimization>MaxSpeed</Optimization>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;STATISTICS_GW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
+      <AdditionalIncludeDirectories>../../includes;../../../symbol/includes;../../../types/includes;../../../core/includes;../../../localization/includes;../../../ast/includes;../../../api_scilab/includes;../../../../libs/intl;../../../operations/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+    </ClCompile>
+    <Link>
+      <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <OptimizeReferences>true</OptimizeReferences>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <TargetMachine>MachineX86</TargetMachine>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
+    <Midl>
+      <TargetEnvironment>X64</TargetEnvironment>
+    </Midl>
+    <ClCompile>
+      <Optimization>MaxSpeed</Optimization>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;STATISTICS_GW_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <PrecompiledHeader>
+      </PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+      <MultiProcessorCompilation>true</MultiProcessorCompilation>
+      <AdditionalIncludeDirectories>../../includes;../../../symbol/includes;../../../types/includes;../../../core/includes;../../../localization/includes;../../../ast/includes;../../../api_scilab/includes;../../../../libs/intl;../../../operations/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+    </ClCompile>
+    <Link>
+      <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <SubSystem>Windows</SubSystem>
+      <OptimizeReferences>true</OptimizeReferences>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <TargetMachine>MachineX64</TargetMachine>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <ClCompile Include="statistics_gw.cpp" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="..\..\includes\dynlib_statistics_gw.h" />
+    <ClInclude Include="..\..\includes\statistics_gw.hxx" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\symbol\symbol.vcxproj">
+      <Project>{2c60033b-0dbd-4ca4-80d3-176c9be9ce2f}</Project>
+    </ProjectReference>
+    <ProjectReference Include="..\..\..\types\types.vcxproj">
+      <Project>{64e090da-dcb5-4f4d-93d7-e88ddec9c2ef}</Project>
+    </ProjectReference>
+    <ProjectReference Include="..\..\src\c\statistics.vcxproj">
+      <Project>{fe9eb721-b3c1-41d8-b585-3fb3a0083cec}</Project>
+    </ProjectReference>
+  </ItemGroup>
+  <ItemGroup>
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
\ No newline at end of file
diff --git a/scilab/modules/statistics/sci_gateway/cpp/statistics_gw.vcxproj.filters b/scilab/modules/statistics/sci_gateway/cpp/statistics_gw.vcxproj.filters
new file mode 100644 (file)
index 0000000..e84fb87
--- /dev/null
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup>
+    <Filter Include="Source Files">
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+    </Filter>
+    <Filter Include="Header Files">
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+    </Filter>
+    <Filter Include="Resource Files">
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
+    </Filter>
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="statistics_gw.cpp">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="..\..\includes\statistics_gw.hxx">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+    <ClInclude Include="..\..\includes\dynlib_statistics_gw.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+  </ItemGroup>
+</Project>
\ No newline at end of file
index c8869c0..6a491d8 100644 (file)
@@ -2,6 +2,7 @@
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) 2006-2008 - INRIA
  * Copyright (C) 2009 - Digiteo - Vincent LIARD
+ * Copyright (C) 2009 - DIGITEO - Antoine ELIAS
  *
  * This file must be used under the terms of the CeCILL.
  * This source file is licensed as described in the file COPYING, which
 #include "sci_string_matrix.h"
 #include <string.h>
 
+#include "api_scilab.h"
+#include "api_oldstack.h"
+
 int mod(int a, int b);
 int rotate(int i, int step, int length);
 char *cdf_options(struct cdf_descriptor const * const desc);
 void cdf_error(char const * const fname, int status, double bound);
-int CdfBase(char const * const fname, int* _piKey, int inarg, int oarg, int shift, int which,
-           int (*fun)(int *, ...));
+int CdfBase(char const * const fname, int* _piKey, int inarg, int oarg, int shift, int which, int (*fun)(int *, ...));
 
-int
-cdf_generic(char *fname, int* _piKey, struct cdf_descriptor *cdf)
+int cdf_generic(char *fname, int* _piKey, struct cdf_descriptor *cdf)
 {
-  struct cdf_item const * it;
-  char *option;
-
-  CheckRhs(cdf->minrhs, cdf->maxrhs);
-  CheckLhs(cdf->minlhs, cdf->maxlhs);
-  option = create_string(_piKey, 1);
-  for (it = cdf->items; it != cdf->end_item; ++it)
-    if (strcmp(option, it->option) == 0) {
-      /* "which" argument (5th) inferred from position in item list */
-      CdfBase(fname, _piKey, it->inarg, it->oarg, it->shift, it - cdf->items + 1, cdf->fun);
-      break;
+    int iErr = 0;
+    struct cdf_item const * it;
+    char *option;
+
+    CheckRhs(cdf->minrhs, cdf->maxrhs);
+    CheckLhs(cdf->minlhs, cdf->maxlhs);
+    option = create_string(_piKey, 1);
+    for (it = cdf->items; it != cdf->end_item; ++it)
+    {
+        if(strcmp(option, it->option) == 0)
+        {
+            /* "which" argument (5th) inferred from position in item list */
+            iErr = CdfBase(fname, _piKey, it->inarg, it->oarg, it->shift, it - cdf->items + 1, cdf->fun);
+            break;
+        }
     }
-  destroy_string(option);
-  if (it == cdf->end_item) { /* no target found */
-    char *optlist;
-    optlist = cdf_options(cdf);
-    Scierror(999, _("%s: Wrong value for input argument #%d: Must be in the set {%s}.\n"), fname, 1, optlist);
-    FREE(optlist);
-    return 1;
-  }
-  return 0;
+
+    destroy_string(option);
+    if(it == cdf->end_item)
+    { /* no target found */
+        char *optlist;
+        optlist = cdf_options(cdf);
+        Scierror(999, _("%s: Wrong value for input argument #%d: Must be in the set {%s}.\n"), fname, 1, optlist);
+        FREE(optlist);
+        return 1;
+    }
+
+    return iErr;
 }
 
 /**
  * Remainder r > 0 of a div b.
  */
-int
-mod(int a, int b)
+int mod(int a, int b)
 {
-  int m = a % b;
-  return (m >= 0) ? m : m + b;
+    int m = a % b;
+    return (m >= 0) ? m : m + b;
 }
 
 /**
@@ -71,89 +79,89 @@ mod(int a, int b)
  * r(T, 3) = {3, 4, 5, 6, 7, 8, 0, 1, 2}
  * hence rotate(7,3,9) = 4
  */
-int
-rotate(int i, int step, int length)
+int rotate(int i, int step, int length)
 {
-  return mod((i - step), length);
+    return mod(i - step, length);
 }
 
 /**
  * Collect options from a cdf_descriptor in a user readable string.
  * Allocates space for its return value. To be freed afterwards.
  */
-char *
-cdf_options(struct cdf_descriptor const * const cdf)
+char* cdf_options(struct cdf_descriptor const * const cdf)
 {
-  char *ret;
-  size_t len = 0;
-  char const * const spc = ", ";
-  struct cdf_item const * it;
-
-  for (it = cdf->items; it != cdf->end_item; ++it)
-    len += strlen(spc) + strlen(it->option);
-  ret = (char *) MALLOC(len * sizeof(char));
-  ret[0] = '\0';
-  for (it = cdf->items; it != cdf->end_item; ++it) {
-    strcat(ret, it->option);
-    if (it + 1 != cdf->end_item)
-      strcat(ret, spc);
-  }
-  return ret;
+    char *ret;
+    size_t len = 0;
+    char const * const spc = ", ";
+    struct cdf_item const * it;
+
+    for(it = cdf->items ; it != cdf->end_item ; ++it)
+    {
+        len += strlen(spc) + strlen(it->option);
+    }
+    ret = (char*)MALLOC(len * sizeof(char));
+    ret[0] = '\0';
+    for (it = cdf->items ; it != cdf->end_item ; ++it) {
+        strcat(ret, it->option);
+        if(it + 1 != cdf->end_item)
+        {
+            strcat(ret, spc);
+        }
+    }
+
+    return ret;
 }
 
 /**
  * Interpret and signal DCDFLIB's error return values.
  */
-void
-cdf_error(char const * const fname, int status, double bound)
+void cdf_error(char const * const fname, int status, double bound)
 {
-  switch (status)
-  {
-  case 1:
-      Scierror(999, _("%s: Answer appears to be lower than lowest search bound %f\n"), fname, (bound > ZERO_FOR_CDF ? bound : 0));
-      break;
-  case 2:
-      if (bound >= INFINITY_FOR_CDF)
-      {
-          Scierror(999, _("%s: Answer appears to be higher than greatest search bound %s\n"), fname, "%inf");
-      }
-      else
-      {
-          Scierror(999, _("%s: Answer appears to be higher than greatest search bound %f\n"), fname, bound);
-      }
-    break;
-  case 3:
-      Scierror(999, "%s: P + Q ≠ 1\n", fname);
-      break;
-  case 4:
-      if (strcmp(fname, "cdfbet") == 0)
-      {
-          Scierror(999, "%s: X + Y ≠ 1", fname);
-      }
-      else if (strcmp(fname, "cdfbin") == 0 ||
-            strcmp(fname, "cdfnbn") == 0)
-      {
-          Scierror(999, "%s: Pr + Ompr ≠ 1\n", fname);
-      }
-      else if (strcmp(fname, "cdfnor") == 0)
-      {
-          Scierror(999, _("%s: Std must not be zero\n"), fname);
-      }
-    break;
-  case 10:
-      if (strcmp(fname, "cdfchi") == 0)
-      {
-          Scierror(999, _("%s: cumgam returned an error\n"), fname);
-      }
-      else if (strcmp(fname, "cdfchi") == 0)
-      {
-          Scierror(999, _("%s: gamma or inverse gamma routine failed\n"), fname);
-      }
-      break;
-  default:
-      Scierror(999, _("%s: Argument #%d out of range. Bound exceeded: %f.\n"),
-               fname, - status, bound);
-  }
+    switch (status)
+    {
+    case 1:
+        Scierror(999, _("%s: Answer appears to be lower than lowest search bound %f\n"), fname, (bound > ZERO_FOR_CDF ? bound : 0));
+        break;
+    case 2:
+        if(bound >= INFINITY_FOR_CDF)
+        {
+            Scierror(999, _("%s: Answer appears to be higher than greatest search bound %s\n"), fname, "%inf");
+        }
+        else
+        {
+            Scierror(999, _("%s: Answer appears to be higher than greatest search bound %f\n"), fname, bound);
+        }
+        break;
+    case 3:
+        Scierror(999, "%s: P + Q ≠ 1\n", fname);
+        break;
+    case 4:
+        if(strcmp(fname, "cdfbet") == 0)
+        {
+            Scierror(999, "%s: X + Y ≠ 1", fname);
+        }
+        else if(strcmp(fname, "cdfbin") == 0 || strcmp(fname, "cdfnbn") == 0)
+        {
+            Scierror(999, "%s: Pr + Ompr ≠ 1\n", fname);
+        }
+        else if(strcmp(fname, "cdfnor") == 0)
+        {
+            Scierror(999, _("%s: Std must not be zero\n"), fname);
+        }
+        break;
+    case 10:
+        if(strcmp(fname, "cdfchi") == 0)
+        {
+            Scierror(999, _("%s: cumgam returned an error\n"), fname);
+        }
+        else if(strcmp(fname, "cdfchi") == 0)
+        {
+            Scierror(999, _("%s: gamma or inverse gamma routine failed\n"), fname);
+        }
+        break;
+    default:
+        Scierror(999, _("%s: Argument #%d out of range. Bound exceeded: %f.\n"), fname, - status, bound);
+    }
 }
 
 /**
@@ -166,74 +174,70 @@ cdf_error(char const * const fname, int status, double bound)
  * @param fun actual computation function
  * @return error code
  */
-int
-CdfBase(char const * const fname, int* _piKey, int inarg, int oarg, int shift, int which,
-       int (*fun)(int*, ...))
+int CdfBase(char const * const fname, int* _piKey, int inarg, int oarg, int shift, int which, int (*fun)(int*, ...))
 {
-  #define MAXARG 6
-  double *data[MAXARG];
-  int rows[MAXARG], cols[MAXARG];
-  #undef MAXARG
-
-  double bound;
-  int errlevel;
-  int i;
-  int *p;
-
-  if ( Rhs != inarg + 1 ) {
-    Scierror(999, _("%s: Wrong number of input argument(s): %d expected.\n"), fname, inarg + 1);
-    return 1;
-  }
-  for (i = 0; i < inarg; ++i) {
-    getVarAddressFromPosition(_piKey, i + 2, &p);
-    getMatrixOfDouble(_piKey, p, &rows[i], &cols[i], &data[i]);
-  }
-  for (i = 1; i < inarg ; ++i)
-    if (rows[i] != rows[i-1] || cols[i] != cols[i-1]) {
-      Scierror(999, _("%s: Incompatible input arguments #%d and #%d': Same sizes expected.\n"), fname, i + 1, i + 2);
-      return 1;
+#define MAXARG 6
+    double *data[MAXARG];
+    int rows[MAXARG], cols[MAXARG];
+#undef MAXARG
+
+    double bound;
+    int errlevel;
+    int i;
+    int *p;
+
+    if( Rhs != inarg + 1 ) 
+    {
+        Scierror(999, _("%s: Wrong number of input argument(s): %d expected.\n"), fname, inarg + 1);
+        return 1;
     }
-  for (i = 0; i < oarg; ++i)
-    allocMatrixOfDouble(_piKey, Rhs + i + 1, rows[0], cols[0], &data[i + inarg]);
-#define callpos(i) rotate(i, shift, inarg + oarg)
-  for (i = 0; i < rows[0] * cols[0]; ++i) {
-    switch (inarg + oarg) {
-    case 4: /* cdfchi, cdfpoi, cdft */
-      (*fun)(&which,
-            &(data[callpos(0)][i]),
-            &(data[callpos(1)][i]),
-            &(data[callpos(2)][i]),
-            &(data[callpos(3)][i]),
-            &errlevel, &bound);
-      break;
-    case 5: /* cdfchn, cdff, cdfgam, cdfnor */
-      (*fun)(&which,
-            &(data[callpos(0)][i]),
-            &(data[callpos(1)][i]),
-            &(data[callpos(2)][i]),
-            &(data[callpos(3)][i]),
-            &(data[callpos(4)][i]),
-            &errlevel, &bound);
-      break;
-    case 6: /* cdfbet, cdfbin, cdffnc, cdfnbn, */
-      (*fun)(&which,
-            &(data[callpos(0)][i]),
-            &(data[callpos(1)][i]),
-            &(data[callpos(2)][i]),
-            &(data[callpos(3)][i]),
-            &(data[callpos(4)][i]),
-            &(data[callpos(5)][i]),
-            &errlevel, &bound);
-      break;
+
+    for (i = 0; i < inarg; ++i)
+    {
+        getVarAddressFromPosition(_piKey, i + 2, &p);
+        getMatrixOfDouble(_piKey, p, &rows[i], &cols[i], &data[i]);
+    }
+    for (i = 1; i < inarg ; ++i)
+    {
+        if(rows[i] != rows[i-1] || cols[i] != cols[i-1])
+        {
+            Scierror(999, _("%s: Incompatible input arguments #%d and #%d': Same sizes expected.\n"), fname, i + 1, i + 2);
+            return 1;
+        }
     }
-    if (errlevel != 0) {
-      cdf_error(fname, errlevel, bound);
-      return 1;
+        
+    for (i = 0; i < oarg; ++i)
+    {
+            allocMatrixOfDouble(_piKey, Rhs + i + 1, rows[0], cols[0], &data[i + inarg]);
+    }
+#define callpos(i) rotate(i, shift, inarg + oarg)
+    for (i = 0; i < rows[0] * cols[0]; ++i)
+    {
+        switch (inarg + oarg) 
+        {
+        case 4: /* cdfchi, cdfpoi, cdft */
+            (*fun)(&which, &(data[callpos(0)][i]), &(data[callpos(1)][i]), &(data[callpos(2)][i]), &(data[callpos(3)][i]), &errlevel, &bound);
+            break;
+        case 5: /* cdfchn, cdff, cdfgam, cdfnor */
+            (*fun)(&which, &(data[callpos(0)][i]), &(data[callpos(1)][i]), &(data[callpos(2)][i]), &(data[callpos(3)][i]), &(data[callpos(4)][i]), &errlevel, &bound);
+            break;
+        case 6: /* cdfbet, cdfbin, cdffnc, cdfnbn, */
+            (*fun)(&which, &(data[callpos(0)][i]), &(data[callpos(1)][i]), &(data[callpos(2)][i]), &(data[callpos(3)][i]), &(data[callpos(4)][i]), &(data[callpos(5)][i]), &errlevel, &bound);
+            break;
+        }
+
+        if(errlevel != 0) 
+        {
+            cdf_error(fname, errlevel, bound);
+            return 1;
+        }
     }
-  }
 #undef callpos
-  for (i = 0; i < oarg; ++i)
-    LhsVar(i + 1) = Rhs + i + 1;
-  PutLhsVar();
-  return 0;
+    for (i = 0; i < oarg; ++i)
+    {
+        LhsVar(i + 1) = Rhs + i + 1;
+    }
+
+    PutLhsVar();
+    return 0;
 }
index 6815aac..75aee0c 100644 (file)
@@ -77,7 +77,7 @@
     <ClCompile>
       <AdditionalOptions>%(AdditionalOptions)</AdditionalOptions>
       <Optimization>Disabled</Optimization>
-      <AdditionalIncludeDirectories>.;../jni;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../includes;../../../../libs/MALLOC/includes;../../../../libs/hashtable;../../../core/includes;../../../graphics/includes;../../../graphic_export/includes;../../../graphics/src/c/getHandleProperty;../../../renderer/src/cpp;../../../renderer/src/jni;../../../localization/includes;../../../jvm/includes;../../../output_stream/includes;../../../dynamic_link/includes;../../../../libs/intl;../../../../libs/doublylinkedlist/includes;../../../string/includes;../../../windows_tools/includes;../../../renderer/includes;../../../api_scilab/includes;../../../operations/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>.;../jni;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../includes;../../../../libs/MALLOC/includes;../../../../libs/hashtable;../../../core/includes;../../../graphics/includes;../../../graphic_export/includes;../../../graphics/src/c/getHandleProperty;../../../renderer/src/cpp;../../../renderer/src/jni;../../../localization/includes;../../../jvm/includes;../../../output_stream/includes;../../../dynamic_link/includes;../../../../libs/intl;../../../../libs/doublylinkedlist/includes;../../../string/includes;../../../windows_tools/includes;../../../renderer/includes;../../../api_scilab/includes;../../../operations/includes;../../../types/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;STATISTICS_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <MinimalRebuild>true</MinimalRebuild>
       <BasicRuntimeChecks>Default</BasicRuntimeChecks>
@@ -114,7 +114,7 @@ lib /DEF:"$(ProjectDir)dcd_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(PlatformS
     </Midl>
     <ClCompile>
       <Optimization>Disabled</Optimization>
-      <AdditionalIncludeDirectories>.;../jni;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../includes;../../../../libs/MALLOC/includes;../../../../libs/hashtable;../../../core/includes;../../../graphics/includes;../../../graphic_export/includes;../../../graphics/src/c/getHandleProperty;../../../renderer/src/cpp;../../../renderer/src/jni;../../../localization/includes;../../../jvm/includes;../../../output_stream/includes;../../../dynamic_link/includes;../../../../libs/intl;../../../../libs/doublylinkedlist/includes;../../../string/includes;../../../windows_tools/includes;../../../renderer/includes;../../../api_scilab/includes;../../../operations/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>.;../jni;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../includes;../../../../libs/MALLOC/includes;../../../../libs/hashtable;../../../core/includes;../../../graphics/includes;../../../graphic_export/includes;../../../graphics/src/c/getHandleProperty;../../../renderer/src/cpp;../../../renderer/src/jni;../../../localization/includes;../../../jvm/includes;../../../output_stream/includes;../../../dynamic_link/includes;../../../../libs/intl;../../../../libs/doublylinkedlist/includes;../../../string/includes;../../../windows_tools/includes;../../../renderer/includes;../../../api_scilab/includes;../../../operations/includes;../../../types/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;_DEBUG;_WINDOWS;_USRDLL;STATISTICS_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <MinimalRebuild>true</MinimalRebuild>
       <BasicRuntimeChecks>Default</BasicRuntimeChecks>
@@ -151,7 +151,7 @@ lib /DEF:"$(ProjectDir)dcd_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(PlatformS
       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
       <WholeProgramOptimization>false</WholeProgramOptimization>
-      <AdditionalIncludeDirectories>.;../jni;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../includes;../../../../libs/MALLOC/includes;../../../../libs/hashtable;../../../core/includes;../../../graphics/includes;../../../graphic_export/includes;../../../graphics/src/c/getHandleProperty;../../../renderer/src/cpp;../../../renderer/src/jni;../../../localization/includes;../../../jvm/includes;../../../output_stream/includes;../../../dynamic_link/includes;../../../../libs/intl;../../../../libs/doublylinkedlist/includes;../../../string/includes;../../../windows_tools/includes;../../../renderer/includes;../../../api_scilab/includes;../../../operations/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>.;../jni;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../includes;../../../../libs/MALLOC/includes;../../../../libs/hashtable;../../../core/includes;../../../graphics/includes;../../../graphic_export/includes;../../../graphics/src/c/getHandleProperty;../../../renderer/src/cpp;../../../renderer/src/jni;../../../localization/includes;../../../jvm/includes;../../../output_stream/includes;../../../dynamic_link/includes;../../../../libs/intl;../../../../libs/doublylinkedlist/includes;../../../string/includes;../../../windows_tools/includes;../../../renderer/includes;../../../api_scilab/includes;../../../operations/includes;../../../types/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;STATISTICS_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <StringPooling>true</StringPooling>
       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
@@ -196,7 +196,7 @@ lib /DEF:"$(ProjectDir)dcd_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(PlatformS
       <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
       <WholeProgramOptimization>false</WholeProgramOptimization>
-      <AdditionalIncludeDirectories>.;../jni;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../includes;../../../../libs/MALLOC/includes;../../../../libs/hashtable;../../../core/includes;../../../graphics/includes;../../../graphic_export/includes;../../../graphics/src/c/getHandleProperty;../../../renderer/src/cpp;../../../renderer/src/jni;../../../localization/includes;../../../jvm/includes;../../../output_stream/includes;../../../dynamic_link/includes;../../../../libs/intl;../../../../libs/doublylinkedlist/includes;../../../string/includes;../../../windows_tools/includes;../../../renderer/includes;../../../api_scilab/includes;../../../operations/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+      <AdditionalIncludeDirectories>.;../jni;../../../../java/jdk/include;../../../../java/jdk/include/win32;../../includes;../../../../libs/MALLOC/includes;../../../../libs/hashtable;../../../core/includes;../../../graphics/includes;../../../graphic_export/includes;../../../graphics/src/c/getHandleProperty;../../../renderer/src/cpp;../../../renderer/src/jni;../../../localization/includes;../../../jvm/includes;../../../output_stream/includes;../../../dynamic_link/includes;../../../../libs/intl;../../../../libs/doublylinkedlist/includes;../../../string/includes;../../../windows_tools/includes;../../../renderer/includes;../../../api_scilab/includes;../../../operations/includes;../../../types/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
       <PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;FORDLL;NDEBUG;_WINDOWS;_USRDLL;STATISTICS_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <StringPooling>true</StringPooling>
       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
index adab011..62f5b8c 100644 (file)
@@ -1,23 +1,37 @@
+
 // ============================================================================
+
 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+
 // Copyright (C) ????-2008 - INRIA - Sylvestre LEDRU
+
 //
+
 //  This file is distributed under the same license as the Scilab package.
+
 // ============================================================================
+
 // <-- Non-regression test for bug 316 -->
+
 //
+
 // <-- Bugzilla URL -->
+
 // http://bugzilla.scilab.org/show_bug.cgi?id=316
+
 //
+
 // <-- Short Description -->
+
 //      The description for the "Mean" function is in error:
+
 // the parameter "r" really does the column average, while the "c"
+
 // parameter does the row
-a = [ 1 1 1 ; 2 2 2 ; 3 3 3 ]
- a  =
-    1.    1.    1.  
-    2.    2.    2.  
-    3.    3.    3.  
+
+a = [ 1 1 1 ; 2 2 2 ; 3 3 3 ];
+
 if size(mean(a,'r')) <> [ 1, 3] then bugmes();quit;end
+
 if size(mean(a,'c')) <> [ 3, 1] then bugmes();quit;end
+
index d23ca7d..0b691cb 100644 (file)
@@ -15,7 +15,7 @@
 // the parameter "r" really does the column average, while the "c"
 // parameter does the row
 
-a = [ 1 1 1 ; 2 2 2 ; 3 3 3 ]
+a = [ 1 1 1 ; 2 2 2 ; 3 3 3 ];
 
 if size(mean(a,'r')) <> [ 1, 3] then pause, end
 if size(mean(a,'c')) <> [ 3, 1] then pause, end
index 7e98d07..0593d36 100644 (file)
@@ -1,37 +1,75 @@
+
 // =============================================================================
+
 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+
 // Copyright (C) 2008 - DIGITEO - Allan CORNET
+
 //
+
 //  This file is distributed under the same license as the Scilab package.
+
 // =============================================================================
+
 // <-- Non-regression test for bug 3640 -->
+
 //
+
 // <-- Bugzilla URL -->
+
 // http://bugzilla.scilab.org/show_bug.cgi?id=3640
+
 //
+
 // <-- Short Description -->
+
 // Calculating the mean value in the 3rd dimension "mean(A,3)", gives an error for input matrices of a certain size
+
 test = rand(150,1,165);
+
 ierr = execstr('r = mean(test,3);','errcatch');
+
 if ierr <> 0 then bugmes();quit;end
-if size(r) <> [1 150] then bugmes();quit;end
+
+if size(r) <> [150 1] then bugmes();quit;end
+
 test = rand(150,1,166);
+
 ierr = execstr('r = mean(test,3);','errcatch');
+
 if ierr <> 0 then bugmes();quit;end
-if size(r) <> [1 150] then bugmes();quit;end
+
+if size(r) <> [150 1] then bugmes();quit;end
+
 test = rand(1000,1,165);
+
 ierr = execstr('r = mean(test,3);','errcatch');
+
 if ierr <> 0 then bugmes();quit;end
-if size(r) <> [1 1000] then bugmes();quit;end
+
+if size(r) <> [1000 1] then bugmes();quit;end
+
 test = rand(1000,1,166);
+
 ierr = execstr('r = mean(test,3);','errcatch');
+
 if ierr <> 0 then bugmes();quit;end
-if size(r) <> [1 1000] then bugmes();quit;end
+
+if size(r) <> [1000 1] then bugmes();quit;end
+
 test = rand(250,1,165);
+
 ierr = execstr('r = mean(test,3);','errcatch');
+
 if ierr <> 0 then bugmes();quit;end
-if size(r) <> [1 250] then bugmes();quit;end
+
+if size(r) <> [250 1] then bugmes();quit;end
+
 test = rand(250,1,166);
+
 ierr = execstr('r = mean(test,3);','errcatch');
+
 if ierr <> 0 then bugmes();quit;end
-if size(r) <> [1 250] then bugmes();quit;end
+
+if size(r) <> [250 1] then bugmes();quit;end
+
index ea6863e..7456884 100644 (file)
 test = rand(150,1,165);
 ierr = execstr('r = mean(test,3);','errcatch');
 if ierr <> 0 then pause,end
-if size(r) <> [1 150] then pause,end
+if size(r) <> [150 1] then pause,end
 
 test = rand(150,1,166);
 ierr = execstr('r = mean(test,3);','errcatch');
 if ierr <> 0 then pause,end
-if size(r) <> [1 150] then pause,end
+if size(r) <> [150 1] then pause,end
 
 test = rand(1000,1,165);
 ierr = execstr('r = mean(test,3);','errcatch');
 if ierr <> 0 then pause,end
-if size(r) <> [1 1000] then pause,end
+if size(r) <> [1000 1] then pause,end
 
 test = rand(1000,1,166);
 ierr = execstr('r = mean(test,3);','errcatch');
 if ierr <> 0 then pause,end
-if size(r) <> [1 1000] then pause,end
+if size(r) <> [1000 1] then pause,end
 
 test = rand(250,1,165);
 ierr = execstr('r = mean(test,3);','errcatch');
 if ierr <> 0 then pause,end
-if size(r) <> [1 250] then pause,end
+if size(r) <> [250 1] then pause,end
 
 test = rand(250,1,166);
 ierr = execstr('r = mean(test,3);','errcatch');
 if ierr <> 0 then pause,end
-if size(r) <> [1 250] then pause,end
+if size(r) <> [250 1] then pause,end
index f1b5a58..db0583b 100644 (file)
@@ -1,24 +1,48 @@
+
 // =============================================================================
+
 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+
 // Copyright (C) 2010 - DIGITEO - Allan CORNET
+
 //
+
 //  This file is distributed under the same license as the Scilab package.
+
 // =============================================================================
+
 // <-- JVM NOT MANDATORY -->
+
 //
+
 //
+
 // <-- Non-regression test for bug 7766 -->
+
 //
+
 // <-- Bugzilla URL -->
+
 // http://bugzilla.scilab.org/show_bug.cgi?id=7744
+
 //
+
 // <-- Short Description -->
+
 // cdff, cdffnc, ... functions did not display %inf in error messages
+
 if execstr("cdff(""Dfn"", 7, .99, .01, 7.460435)", "errcatch") <> 999 then bugmes();quit;end;
+
 r = lasterror();
-ref = msprintf(_("Answer appears to be higher than greatest search bound %s\n"), "%inf");
+
+ref = msprintf(_("cdff: Answer appears to be higher than greatest search bound %s\n"), "%inf");
+
 if r <> ref then bugmes();quit;end
-if execstr("cdffnc(""Dfd"", 1.5, 0.3945792, 0.6054208, 1, 5)",  "errcatch") <> 999 then bugmes();quit;end; 
+
+if execstr("cdffnc(""Dfd"", 1.5, 0.3945792, 0.6054208, 1, 5)",  "errcatch") <> 999 then bugmes();quit;end;
 r = lasterror();
-ref = msprintf(_("Answer appears to be higher than greatest search bound %s\n"), "%inf");
+
+ref = msprintf(_("cdffnc: Answer appears to be higher than greatest search bound %s\n"), "%inf");
+
 if r <> ref then bugmes();quit;end
+
index 25bc3e0..ed6d0a2 100644 (file)
 
 if execstr("cdff(""Dfn"", 7, .99, .01, 7.460435)", "errcatch") <> 999 then pause, end;
 r = lasterror();
-ref = msprintf(_("Answer appears to be higher than greatest search bound %s\n"), "%inf");
+ref = msprintf(_("cdff: Answer appears to be higher than greatest search bound %s\n"), "%inf");
 if r <> ref then pause,end
 
 if execstr("cdffnc(""Dfd"", 1.5, 0.3945792, 0.6054208, 1, 5)",  "errcatch") <> 999 then pause, end; 
 r = lasterror();
-ref = msprintf(_("Answer appears to be higher than greatest search bound %s\n"), "%inf");
+ref = msprintf(_("cdffnc: Answer appears to be higher than greatest search bound %s\n"), "%inf");
 if r <> ref then pause,end
index 458ad8b..b2f80e7 100644 (file)
@@ -9,14 +9,16 @@
 // Tests for beta distribution
 // =============================================================================
 
+function [y]=Beta(x)
+    y=bn*(x^(A-1) * (1-x)^(B-1))
+endfunction
+
 prec = 1.e-5;
 
 A  = 2;
 B  = 3;
 bn = 1;
 
-deff('[y]=Beta(x)','y=bn*(x^(A-1) * (1-x)^(B-1))');
-
 bn = intg(0,1,Beta);
 bn = 1/bn;
 
index 5782168..34b929c 100644 (file)
@@ -1,35 +1,76 @@
+
 // =============================================================================
-// Tests for cdfbin() function
+
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+
+// Copyright (C) ????-2008 - INRIA
+
 //
-// Scilab Team
-// Copyright INRIA
+
+//  This file is distributed under the same license as the Scilab package.
+
+// =============================================================================
+
+// =============================================================================
+
+// Tests for cdfbin() function
+
 //
+
 // CN^k pr^k(1-pr)^(Xb-k)
+
 //
+
 // =============================================================================
+
+function k=fact(n)
+    if n<=1;k=1;else k=n*fact(n-1);end
+endfunction
+function cnk=CNK(N,k)
+    cnk=fact(N)/(fact(k)*fact(N-k))
+endfunction
 prec = 1.e-5;
+
 XN = 10;
+
 PR = 0.34;
-deff('k=fact(n)','if n<=1;k=1;else k=n*fact(n-1);end');
-deff('cnk=CNK(N,k)','cnk=fact(N)/(fact(k)*fact(N-k))');
+
 pr  = [];
+
 S   = 0:XN;
+
 for k=S
        pr=[pr,CNK(XN,k)*(PR)^k*(1-PR)^(XN-k)];
 end
 Sth      = cumsum(pr);
+
 [Sth1,q] = cdfbin("PQ",S,XN*ones(S),PR*ones(S),(1-PR)*ones(S));
-if norm(Sth-Sth1) > prec then bugmes();quit;end
+
+if norm(Sth-Sth1) > prec then bugmes();quit;end 
+
 XN          = 10;
+
 S           = 0:XN;
+
 PR          = rand(1,XN+1,'u');
+
 OMPR        = 1-PR;
+
 XN1         = XN*ones(1,XN+1);
+
 [P,Q]       = cdfbin("PQ",S,XN1,PR,OMPR);
+
 [S1]        = cdfbin("S",XN1,PR,OMPR,P,Q);
+
 [XN2]       = cdfbin("Xn",PR,OMPR,P,Q,S);
+
 [PR1,OMPR1] = cdfbin("PrOmpr",P,Q,S,XN1);
+
 if norm(S1-S)                  > prec  then bugmes();quit;end
+
 if norm(XN1(1:$-1)-XN2(1:$-1)) > 10*prec  then bugmes();quit;end
+
 // not good when pr is near 1 or zero
+
 if norm(PR1(1:$-1)-PR(1:$-1)) > 0.1  then bugmes();quit;end
+
index f297017..333d84d 100644 (file)
 //
 // =============================================================================
 
+function k=fact(n)
+    if n<=1;k=1;else k=n*fact(n-1);end
+endfunction
+
+function cnk=CNK(N,k)
+    cnk=fact(N)/(fact(k)*fact(N-k))
+endfunction
 prec = 1.e-5;
 
 
 XN = 10;
 PR = 0.34;
 
-deff('k=fact(n)','if n<=1;k=1;else k=n*fact(n-1);end');
-deff('cnk=CNK(N,k)','cnk=fact(N)/(fact(k)*fact(N-k))');
-
 pr  = [];
 S   = 0:XN;
 
index 9fa0280..5af6efe 100644 (file)
@@ -9,10 +9,13 @@
 // Tests for cdfchi() function
 // =============================================================================
 
+function [y]=chi1(x)
+    y=exp(-x/2)/sqrt(2*%pi*x)
+endfunction
+
 prec = 1.e-5;
 
 x  = [0.01,0.025,0.05,0.1,0.9,0.95];
-deff('[y]=chi1(x)','y=exp(-x/2)/sqrt(2*%pi*x)');
 y1 = [];
 
 for xx=x
index 2cd29ee..39a9444 100644 (file)
@@ -60,6 +60,16 @@ namespace types
         {
             m_iSize     = 1;
             m_iDims     = _iDims;
+
+            //reduce dims if it's possible
+            for(int i = _iDims - 1 ; i > 1 ; i--)
+            {
+                if(_piDims[i] == 1)
+                {//remove dimension equal to 1
+                    m_iDims--;
+                }
+            }
+
             m_piDims    = new int[m_iDims];
 
             for(int i = 0 ; i < m_iDims ; i++)
@@ -949,7 +959,7 @@ namespace types
                 else
                 {
                     //two cases, depends of original matrix/vector
-                    if((*_pArgs)[0]->isColon() == false && m_iDims == 2 && m_piDims[1] != 1)
+                    if((*_pArgs)[0]->isColon() == false && m_iDims == 2 && m_piDims[1] != 1 && m_piDims[0] == 1)
                     {//special case for row vector
                         int piRealDim[2] = {1, piCountDim[0]};
                         pOut = createEmpty(2, piRealDim, isComplex());
index 5cf356b..6585a20 100644 (file)
@@ -100,7 +100,7 @@ namespace types
                 }
 
                 //allow new Double variable
-                Double* pDbl    = new Double(iItemCount, 1);
+                Double* pDbl    = new Double(1, iItemCount);
                 double* pdbl    = pDbl->getReal();
 
                 int j = 0;