r36195 - in /packages/openturns/trunk/debian: ./ patches/ rotRPackage/ rotRPackage/R/ rotRPackage/man/

prudhomm at users.alioth.debian.org prudhomm at users.alioth.debian.org
Tue Feb 16 12:39:17 UTC 2010


Author: prudhomm
Date: Tue Feb 16 12:39:12 2010
New Revision: 36195

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36195
Log:
[svn-inject] Applying Debian modifications to trunk

Added:
    packages/openturns/trunk/debian/   (with props)
    packages/openturns/trunk/debian/README.Debian
    packages/openturns/trunk/debian/changelog
    packages/openturns/trunk/debian/compat
    packages/openturns/trunk/debian/control
    packages/openturns/trunk/debian/copyright
    packages/openturns/trunk/debian/dirs
    packages/openturns/trunk/debian/docs
    packages/openturns/trunk/debian/libopenturns-dev.install
    packages/openturns/trunk/debian/libopenturns0.docs
    packages/openturns/trunk/debian/libopenturns0.install
    packages/openturns/trunk/debian/libopenturns0.lintian-overrides
    packages/openturns/trunk/debian/openturns-doc.docs
    packages/openturns/trunk/debian/openturns-doc.install
    packages/openturns/trunk/debian/openturns-examples.install
    packages/openturns/trunk/debian/openturns-examples.lintian-overrides
    packages/openturns/trunk/debian/openturns-validation.install
    packages/openturns/trunk/debian/openturns-wrapper.install
    packages/openturns/trunk/debian/openturns-wrapper.lintian-overrides
    packages/openturns/trunk/debian/openturns.doc-base
    packages/openturns/trunk/debian/openturns.lintian-overrides
    packages/openturns/trunk/debian/patches/
    packages/openturns/trunk/debian/patches/dlopen.patch
    packages/openturns/trunk/debian/patches/fix_ftbfs_on_arm_and_mips.patch
    packages/openturns/trunk/debian/patches/install.patch
    packages/openturns/trunk/debian/patches/openturns-sh4-support.patch
    packages/openturns/trunk/debian/patches/series
    packages/openturns/trunk/debian/pycompat
    packages/openturns/trunk/debian/python-openturns.install
    packages/openturns/trunk/debian/python-openturns.lintian-overrides
    packages/openturns/trunk/debian/rotRPackage/
    packages/openturns/trunk/debian/rotRPackage/DESCRIPTION
    packages/openturns/trunk/debian/rotRPackage/R/
    packages/openturns/trunk/debian/rotRPackage/R/ad.test.R
    packages/openturns/trunk/debian/rotRPackage/R/computeLinearModel.R
    packages/openturns/trunk/debian/rotRPackage/R/computeResidualLm.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestAndersonDarlingNormal.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestChiSquaredGeometric.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestChiSquaredPoisson.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestChiSquaredUserDefined.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestCramerVonMisesNormal.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovBeta.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovExponential.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovGamma.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovGumbel.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovLogNormal.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovLogistic.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovNormal.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovStudent.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovTriangular.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovTruncatedNormal.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovUniform.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovWeibull.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestPartialPearson.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestPartialRegression.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestPartialSpearman.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestPearson.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestRegression.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestSpearman.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSampleChiSquared.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSamplePearson.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSampleSmirnov.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSampleSpearman.R
    packages/openturns/trunk/debian/rotRPackage/R/computeTruncatedNormalPdf.R
    packages/openturns/trunk/debian/rotRPackage/R/cvm.test.R
    packages/openturns/trunk/debian/rotRPackage/R/dtnorm.R
    packages/openturns/trunk/debian/rotRPackage/R/estimateTruncatedNormalParameters.R
    packages/openturns/trunk/debian/rotRPackage/R/fitdistr.R
    packages/openturns/trunk/debian/rotRPackage/R/pgumbel.R
    packages/openturns/trunk/debian/rotRPackage/R/predictValuesLm.R
    packages/openturns/trunk/debian/rotRPackage/R/ptnorm.R
    packages/openturns/trunk/debian/rotRPackage/R/ptriangle.R
    packages/openturns/trunk/debian/rotRPackage/R/testLmAdjustedRSquare.R
    packages/openturns/trunk/debian/rotRPackage/R/testLmFisher.R
    packages/openturns/trunk/debian/rotRPackage/R/testLmResidualMean.R
    packages/openturns/trunk/debian/rotRPackage/R/testLmRsquared.R
    packages/openturns/trunk/debian/rotRPackage/README
    packages/openturns/trunk/debian/rotRPackage/man/
    packages/openturns/trunk/debian/rotRPackage/man/ad.test.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeLinearModel.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeResidualLm.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestAndersonDarlingNormal.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestChiSquaredGeometric.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestChiSquaredPoisson.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestChiSquaredUserDefined.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestCramerVonMisesNormal.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovBeta.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovExponential.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovGamma.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovGumbel.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovLogNormal.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovLogistic.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovNormal.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovStudent.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovTriangular.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovTruncatedNormal.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovUniform.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovWeibull.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestPartialPearson.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestPartialRegression.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestPartialSpearman.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestPearson.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestRegression.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestSpearman.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSampleChiSquared.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSamplePearson.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSampleSmirnov.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSampleSpearman.Rd
    packages/openturns/trunk/debian/rotRPackage/man/computeTruncatedNormalPdf.Rd
    packages/openturns/trunk/debian/rotRPackage/man/cvm.test.Rd
    packages/openturns/trunk/debian/rotRPackage/man/dtnorm.Rd
    packages/openturns/trunk/debian/rotRPackage/man/estimateTruncatedNormalParameters.Rd
    packages/openturns/trunk/debian/rotRPackage/man/fitdistr.Rd
    packages/openturns/trunk/debian/rotRPackage/man/pgumbel.Rd
    packages/openturns/trunk/debian/rotRPackage/man/predictValuesLm.Rd
    packages/openturns/trunk/debian/rotRPackage/man/ptnorm.Rd
    packages/openturns/trunk/debian/rotRPackage/man/ptriangle.Rd
    packages/openturns/trunk/debian/rotRPackage/man/testLmAdjustedRSquare.Rd
    packages/openturns/trunk/debian/rotRPackage/man/testLmFisher.Rd
    packages/openturns/trunk/debian/rotRPackage/man/testLmResidualMean.Rd
    packages/openturns/trunk/debian/rotRPackage/man/testLmRsquared.Rd
    packages/openturns/trunk/debian/rules   (with props)
    packages/openturns/trunk/debian/watch

Propchange: packages/openturns/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: packages/openturns/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/README.Debian?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/README.Debian (added)
+++ packages/openturns/trunk/debian/README.Debian Tue Feb 16 12:39:12 2010
@@ -1,0 +1,10 @@
+openturns for Debian
+--------------------
+
+OpenTurns is available on sourceforge
+http://sourceforge.net/project/showfiles.php?group_id=198476
+
+OpenTurns uses trac: 
+http://trac.openturns.org/
+
+ -- Christophe Prud'homme <prudhomm at debian.org>, Sun,  6 Jul 2008 21:51:20 +0200

Added: packages/openturns/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/changelog?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/changelog (added)
+++ packages/openturns/trunk/debian/changelog Tue Feb 16 12:39:12 2010
@@ -1,0 +1,163 @@
+openturns (0.13.1-3) unstable; urgency=low
+
+  * debian/rules: enable quilt(the patches were not applied before)
+  * Bug fix: "Please support Renesas SH(sh4)", thanks to Nobuhiro Iwamatsu
+    (Closes: #565120).
+
+ -- Christophe Prud'homme <prudhomm at debian.org>  Mon, 08 Feb 2010 19:13:55 +0100
+
+openturns (0.13.1-2) unstable; urgency=low
+
+  [Christophe Prud'homme]
+  * debian/control: no more depending on xerces
+  * Bug fix: "package-installs-python-pyc
+    /usr/lib/python2.5/site-packages/openturns/__init__.pyc", thanks to
+    Manoj Srivastava (Closes: #553479).
+  * Bug fix: "FTBFS with python2.6", thanks to Fabrice Coutadeur (Closes:
+    #542524).
+  * Bug fix: "The package is empty", thanks to Jerome Robert (Closes:
+    #548794).
+  * debian/control: openturns-doc is now removed from control file as the
+    documentation is now provided by upstream in a separate archive.
+  * Bug fix: "FTBFS: XMLToolbox.cxx:207: error: &#39;vsnprintf&#39; is not
+    a member of &#39;std&#39;", thanks to Nobuhiro Iwamatsu (Closes:
+    #565118).
+  * Bug fix: "Please support Renesas SH(sh4)", thanks to Nobuhiro Iwamatsu
+    (Closes: #565120).
+
+ -- Christophe Prud'homme <prudhomm at debian.org>  Thu, 14 Jan 2010 07:34:22 +0100
+
+openturns (0.13.1-1) unstable; urgency=low
+
+  [Christophe Prud'homme]
+  * New upstream release
+  * Fix some lintian warnings
+  * Fix wrongly formatted description, thanks to Gerfried Fuchs (Closes: #530594).
+  * debian/control: updated Standard-Versions to 3.8.2 (no changes)
+
+ -- Christophe Prud'homme <prudhomm at debian.org>  Tue, 21 Jul 2009 10:52:57 +0200
+
+openturns (0.13.0-2) unstable; urgency=low
+
+  * Bug fix: "libboost1.35-dev", thanks to Lucas Nussbaum (Closes:
+    #527800).
+  * Bug fix: "Killed (program cc1plus)", thanks to Bastian Blank (Closes:
+    #499738).
+  * Bug fix: "FTBFS on sparc", thanks to Martin Zobel-Helas (Closes:
+    #500999).
+  * debian/control: -dbg in debug section now
+  * debian/python-openturns.install: create openturns subdirectory in
+    site-packages
+
+ -- Christophe Prud'homme <prudhomm at debian.org>  Sat, 09 May 2009 12:57:35 +0200
+
+openturns (0.13.0-1) unstable; urgency=low
+
+  * New upstream release
+    + Generic wrapper (compatible with Salome).
+    + Wrapper designer guide.
+    + Polynomial Chaos Expansion. WARNING! Due to a mistake, this feature
+    is only available in the C++ library and not the TUI.
+    + Support Vector Regression. WARNING! Due to a mistake, this feature
+    is only available in the C++ library and not the TUI.
+    + Sensitivity Analysis (Sobol indices).
+    + The gui module is definitely removed. A new (and simplier) GUI will
+    be proposed later.
+  * debian/{control,compat}: updated dh compat to 7
+  * debian/{control,rules}: get rid of qopenturns which was removed
+  * debian/control: get rid on lintian warnings, Depends on
+    ${misc:Depends} for openturns-{doc,validation}
+
+ -- Christophe Prud'homme <prudhomm at debian.org>  Thu, 19 Mar 2009 13:43:52 +0100
+
+openturns (0.12.2-2) unstable; urgency=low
+
+  * Bug fix: "Dynamic loading of library &#39;libOT.so&#39; failed at
+    /usr/lib/openturns ", thanks to Jerome Robert (Closes: #507162).
+
+ -- Christophe Prud'homme <prudhomm at debian.org>  Fri, 28 Nov 2008 18:56:36 +0100
+
+openturns (0.12.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Bug fix: "New upstream release available (0.12.2)", thanks to Jerome
+    Robert (Closes: #506005).
+  * Applied patch by J. Robert.
+  * debian/control: build-depends on libxml2
+
+ -- Christophe Prud'homme <prudhomm at debian.org>  Tue, 18 Nov 2008 06:32:22 +0100
+
+openturns (0.12.1-7) unstable; urgency=low
+
+  * Bug fix: "Killed (program cc1plus)", thanks to Bastian Blank (Closes:
+    #499738).
+  * Bug fix: "FTBFS on sparc", thanks to Martin Zobel-Helas (Closes:
+    #500999).
+  * debian/rules: set OT_DEBUG_LEVEL to 3 as per default
+
+ -- Christophe Prud'homme <prudhomm at debian.org>  Sat, 04 Oct 2008 08:42:57 +0200
+
+openturns (0.12.1-6) unstable; urgency=low
+
+  * debian/rules: Fix FTBS on hppa, sparc, arm, and armel because of
+    __sync_fetch_and_add_4 not being available, the remedy is to use
+    -DBOOST_SP_USE_PTHREADS
+  * debian/rules: add --disable-debug option to configure and set the
+    compiler flags to -g -O2 (no -Wall)
+
+ -- Christophe Prud'homme <prudhomm at debian.org>  Fri, 03 Oct 2008 10:55:20 +0200
+
+openturns (0.12.1-5) unstable; urgency=low
+
+  * Bug fix: "Should recommend python-rpy", thanks to Jerome Robert
+    (Closes: #500874).
+  * Bug fix: "Missing r-rot package", thanks to Jerome Robert (Closes:
+    #500872).
+
+ -- Christophe Prud'homme <prudhomm at debian.org>  Thu, 02 Oct 2008 12:57:48 +0200
+
+openturns (0.12.1-4) unstable; urgency=low
+
+  * debian/rules: use DEB_COMPRESS_EXCLUDE to avoid zipping pdf files
+  * Bug fix: "gzipped pdf", thanks to Jerome Robert (Closes: #499673).
+  * debian/qopenturns.sgml: fixed warnings and errors from docbook-to-man
+  * Bug fix: "No module named _openturns", thanks to Jerome Robert
+    (Closes: #499668).
+  * Bug fix: "short description should not contain &#39;A&#39; by policy",
+    thanks to Eugene V. Lyubimkin (Closes: #500427).
+  * Bug fix: "short description should not start with a capital letter by
+    policy", thanks to Eugene V. Lyubimkin (Closes: #500428).
+  * Bug fix: "Duplicated documentation", thanks to Jerome Robert (Closes:
+    #499672).
+
+ -- Christophe Prud'homme <prudhomm at debian.org>  Wed, 01 Oct 2008 11:06:56 +0200
+
+openturns (0.12.1-3) unstable; urgency=low
+
+  * debian/control: Fixed override disparity, python-openturns is now in
+    section python and no more in section science
+  * debian/rules: use -O2 instead -O3, it might help build OpenTURNS on
+    the other arch
+  * debian/rules: fixed typo, changed -enable-lib to --enable-lib
+
+ -- Christophe Prud'homme <prudhomm at debian.org>  Tue, 09 Sep 2008 14:59:04 +0200
+
+openturns (0.12.1-2) unstable; urgency=low
+
+
+  * debian/control: Improved package description, "the description does
+    not explain what OpenTURNS is" thanks to Helmut Grohne
+    <helmut at subdivi.de> (Closes: #498026).
+  * debian/control: Fixed FTBFS, "OpenTURNS_ArchitectureGuide.tex: command
+    not found" thanks to Kurt Roeckx <kurt at roeckx.be> (Closes: #498036).
+  * debian/control: Improved openturns-doc, "Useless long description"
+    tanks to Vincent Danjean <vdanjean at debian.org> (Closes: #498245)
+
+ -- Christophe Prud'homme <prudhomm at debian.org>  Tue, 09 Sep 2008 08:04:26 +0200
+
+openturns (0.12.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #490907)
+
+ -- Christophe Prud'homme <prudhomm at debian.org>  Sun, 06 Jul 2008 21:39:33 +0200
+

Added: packages/openturns/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/compat?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/compat (added)
+++ packages/openturns/trunk/debian/compat Tue Feb 16 12:39:12 2010
@@ -1,0 +1,1 @@
+7

Added: packages/openturns/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/control?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/control (added)
+++ packages/openturns/trunk/debian/control Tue Feb 16 12:39:12 2010
@@ -1,0 +1,178 @@
+Source: openturns
+Section: science
+Priority: extra
+Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
+Uploaders: Christophe Prud'homme <prudhomm at debian.org>
+Build-Depends: cdbs(>= 0.4.51), quilt (>= 0.46-4), debhelper (>= 7), gcc (>= 4.2), g++ (>= 4.2), gfortran (>= 4.2), libxml2-dev, liblapack-dev, libblas-dev, r-base-core (>= 2.0), python-central (>= 0.5.6), python-dev, python-rpy, ghostscript, graphviz, doxygen, docbook-to-man, texlive
+Standards-Version: 3.8.3
+Homepage: http://trac.openturns.org/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/openturns/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/openturns/trunk
+
+Package: libopenturns0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, r-base-core (>= 2.0), liblapack3gf
+Suggests: python-openturns
+Description: dynamic libraries for OpenTURNS
+ OpenTURNS is a powerful and generic tool to treat and quantify
+ uncertainties in numerical simulations in design, optimization and
+ control. It allows both sensitivity and reliability analysis studies:
+  * define the outputs of interest and decision criteria;
+  * quantify and model the source of uncertainties;
+  * propagate uncertainties and/or analyse sensitivity
+  * rank the sources of uncertainty
+ .
+ OpenTURNS is a large project with more than 300 C++ classes which
+ uses well known and supported software such as R for the statistical
+ methods and BLAS/LAPACK for the linear algebra.
+ .
+ This package provides the dynamic libraries.
+ .
+ The library implements almost all the treatments of uncertainty that
+ OpenTURNS can provide. It is designed to be linked against any user
+ specific application, or with either the textual front-end (see
+ python-openturns package).
+ .
+ The main function of that library is giving to specific applications
+ all the functionalities needed to treat uncertainties in
+ studies. Targeted users are all engineers who want to introduce the
+ probabilistic dimension in their so far deterministic studies.
+
+Package: libopenturns-dev
+Section: libdevel
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libopenturns0 (= ${binary:Version})
+Description: headers and development libraries for OpenTURNS
+ OpenTURNS is a powerful and generic tool to treat and quantify
+ uncertainties in numerical simulations in design, optimization and
+ control. It allows both sensitivity and reliability analysis studies:
+  * defining the outputs of interest and decision criterion;
+  * quantify and model the source of uncertainties;
+  * propagate uncertainties and/or analyse sensitivity and
+  * rank the sources of uncertainty
+ .
+ OpenTURNS is a large project with more than 300 C++ classes which
+ uses well known and supported software such as R for the statistical
+ methods and BLAS/LAPACK for the linear algebra.
+ .
+ This package provides the OpenTURNS headers should be used if one
+ wants to link its application against the library.
+
+Package: libopenturns-dbg
+Section: debug
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libopenturns-dev
+Description: debug symbols for OpenTURNS
+ OpenTURNS is a powerful and generic tool to treat and quantify
+ uncertainties in numerical simulations in design, optimization and
+ control. It allows both sensitivity and reliability analysis studies:
+  * defining the outputs of interest and decision criterion;
+  * quantify and model the source of uncertainties;
+  * propagate uncertainties and/or analyse sensitivity and
+  * rank the sources of uncertainty
+ .
+ OpenTURNS is a large project with more than 300 C++ classes which
+ uses well known and supported software such as R for the statistical
+ methods and BLAS/LAPACK for the linear algebra.
+ .
+ This package provides the debug symbols of the OpenTurns libraries to
+ help with debugging either your applications or OpenTURNS
+
+Package: python-openturns
+Section: python
+Architecture: any
+XS-Python-Version: >= 2.4, << 3.0
+XB-Python-Version: ${python:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}, libopenturns0, ${python:Depends}, python-qt3, python-rpy, ghostscript
+Provides: ${python:Provides}
+Description: Python front-end of OpenTURNS (aka TUI)
+ OpenTURNS is a powerful and generic tool to treat and quantify
+ uncertainties in numerical simulations in design, optimization and
+ control. It allows both sensitivity and reliability analysis studies:
+  * defining the outputs of interest and decision criterion;
+  * quantify and model the source of uncertainties;
+  * propagate uncertainties and/or analyse sensitivity and
+  * rank the sources of uncertainty
+ .
+ OpenTURNS is a large project with more than 300 C++ classes which
+ uses well known and supported software such as R for the statistical
+ methods and BLAS/LAPACK for the linear algebra.
+ .
+ This package provides a textual user interface that gives access to
+ all the functionalities provided by the OpenTURNS library.
+
+Package: openturns-examples
+Section: science
+Architecture: any
+XS-Python-Version: >= 2.4, << 3.0
+XB-Python-Version: ${python:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}, libopenturns0, ${python:Depends}, python-qt3
+Description: examples of OpenTURNS functionalities
+ OpenTURNS is a powerful and generic tool to treat and quantify
+ uncertainties in numerical simulations in design, optimization and
+ control. It allows both sensitivity and reliability analysis studies:
+  * defining the outputs of interest and decision criterion;
+  * quantify and model the source of uncertainties;
+  * propagate uncertainties and/or analyse sensitivity and
+  * rank the sources of uncertainty
+ .
+ OpenTURNS is a large project with more than 300 C++ classes which
+ uses well known and supported software such as R for the statistical
+ methods and BLAS/LAPACK for the linear algebra.
+ .
+ This package provides examples which are written either in C++ or in
+ Python.
+ .
+ They are primarly used as validation tests for the whole
+ platform but they can also be seen as tutorials for
+ beginners.
+
+Package: openturns-wrapper
+Section: science
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, libopenturns0
+Description: example of a wrapper for OpenTURNS
+ OpenTURNS is a powerful and generic tool to treat and quantify
+ uncertainties in numerical simulations in design, optimization and
+ control. It allows both sensitivity and reliability analysis studies:
+  * defining the outputs of interest and decision criterion;
+  * quantify and model the source of uncertainties;
+  * propagate uncertainties and/or analyse sensitivity and
+  * rank the sources of uncertainty
+ .
+ OpenTURNS is a large project with more than 300 C++ classes which
+ uses well known and supported software such as R for the statistical
+ methods and BLAS/LAPACK for the linear algebra.
+ .
+ This package provides a wrapper that allows any external code to be
+ linked against the OpenTURNS library and to be used through the
+ library functionalities.
+ .
+ Any code can be used provided that it can be seen as a
+ numerical function that reads N doubles and returns P doubles.
+ Notice that the wrapper of this package only shows how to link
+ against the OpenTURNS library. It does not show how to parse
+ or write the arguments of the function so they can be sent to or
+ retrieved from the code.
+
+Package: openturns-validation
+Section: science
+Architecture: all
+Depends: ${misc:Depends}
+Description: validation files for OpenTURNS
+ OpenTURNS is a powerful and generic tool to treat and quantify
+ uncertainties in numerical simulations in design, optimization and
+ control. It allows both sensitivity and reliability analysis studies:
+  * defining the outputs of interest and decision criterion;
+  * quantify and model the source of uncertainties;
+  * propagate uncertainties and/or analyse sensitivity and
+  * rank the sources of uncertainty
+ .
+ OpenTURNS is a large project with more than 300 C++ classes which
+ uses well known and supported software such as R for the statistical
+ methods and BLAS/LAPACK for the linear algebra.
+ .
+ This package includes many maple input files that validates the
+ results and the algorithms of OpenTURNS in a mathematical sense.
+

Added: packages/openturns/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/copyright?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/copyright (added)
+++ packages/openturns/trunk/debian/copyright Tue Feb 16 12:39:12 2010
@@ -1,0 +1,115 @@
+This package was debianized by Christophe Prud'homme <prudhomm at debian.org> on
+Sun, 06 Jul 2008 18:12:15 +0200.
+
+It was downloaded from 
+http://switch.dl.sourceforge.net/sourceforge/openturns/
+
+The upstream authors are:
+  * Électricité de France (EDF)
+  * European Aeronautic Defence and Space company (EADS)
+  * Phimeca
+
+Copyright:
+
+Since the beginning of 2005, a partnership of three companies has been
+working on building together on a tool designed to perform reliability
+analyses:
+
+    * Électricité de France (EDF), the main electricity generation and
+      distribution company in France;
+
+    * European Aeronautic Defence and Space company (EADS), a large
+      European aerospace corporation,
+
+    * Phimeca, an Engineering Consultancy company specialised in
+      Structural Reliability analysis.
+
+    Copyright (C) 2005-2008 Électricité de France (EDF)
+
+    Copyright (C) 2005-2008 European Aeronautic Defence and Space
+    company (EADS)
+
+    Copyright (C) 2005-2008 Phimeca
+
+License:
+
+    This package is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public License
+    as published by the Free Software Foundation; either version 2 of
+    the License, or (at your option) any later version.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this package; if not, write to the Free
+    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+    02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General Public
+License can be found in `/usr/share/common-licenses/LGPL'.
+
+The Debian packaging is (C) 2008, Christophe Prud'homme
+<prudhomm at debian.org> and is licensed under the GPL, see
+`/usr/share/common-licenses/GPL'.
+
+=====================================================================
+lib/COPYING.MuParser
+########################################################
+#                                                      #
+#   Mathematical expressions parser library            #
+#   Copyright (c) 2004,2005 Ingo Berg                  #
+#                           ingo_berg{at}gmx.de        #
+#                                                      #
+########################################################
+
+Copyright (c) 2004, 2005 Ingo Berg (info_berg at gmx.de)
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHERIN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  
+=====================================================================
+lib/COPYING.dsfmt
+Copyright (C) 2007 Takashi Takekawa. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+1. Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in the
+   documentation and/or other materials provided with the
+   distribution.
+3. Neither the name of the RIKEN nor the names of its contributors may
+   be used to endorse or promote products derived from this software
+   without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Added: packages/openturns/trunk/debian/dirs
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/dirs?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/dirs (added)
+++ packages/openturns/trunk/debian/dirs Tue Feb 16 12:39:12 2010
@@ -1,0 +1,1 @@
+

Added: packages/openturns/trunk/debian/docs
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/docs?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/docs (added)
+++ packages/openturns/trunk/debian/docs Tue Feb 16 12:39:12 2010
@@ -1,0 +1,3 @@
+NEWS
+README
+TODO

Added: packages/openturns/trunk/debian/libopenturns-dev.install
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/libopenturns-dev.install?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/libopenturns-dev.install (added)
+++ packages/openturns/trunk/debian/libopenturns-dev.install Tue Feb 16 12:39:12 2010
@@ -1,0 +1,4 @@
+debian/tmp/usr/lib/openturns/libOT.so           usr/lib/openturns
+debian/tmp/usr/lib/openturns/libOT.la           usr/lib/openturns
+debian/tmp/usr/lib/openturns/libOT.a            usr/lib/openturns
+debian/tmp/usr/include/openturns/*              usr/include/openturns

Added: packages/openturns/trunk/debian/libopenturns0.docs
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/libopenturns0.docs?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/libopenturns0.docs (added)
+++ packages/openturns/trunk/debian/libopenturns0.docs Tue Feb 16 12:39:12 2010
@@ -1,0 +1,1 @@
+

Added: packages/openturns/trunk/debian/libopenturns0.install
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/libopenturns0.install?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/libopenturns0.install (added)
+++ packages/openturns/trunk/debian/libopenturns0.install Tue Feb 16 12:39:12 2010
@@ -1,0 +1,2 @@
+debian/tmp/usr/lib/openturns/libOT.so.0*        usr/lib/openturns
+debian/tmp/etc/openturns/*                      etc/openturns

Added: packages/openturns/trunk/debian/libopenturns0.lintian-overrides
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/libopenturns0.lintian-overrides?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/libopenturns0.lintian-overrides (added)
+++ packages/openturns/trunk/debian/libopenturns0.lintian-overrides Tue Feb 16 12:39:12 2010
@@ -1,0 +1,2 @@
+libopenturns0 binary: postinst-has-useless-call-to-ldconfig
+libopenturns0 binary: postrm-has-useless-call-to-ldconfig

Added: packages/openturns/trunk/debian/openturns-doc.docs
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/openturns-doc.docs?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/openturns-doc.docs (added)
+++ packages/openturns/trunk/debian/openturns-doc.docs Tue Feb 16 12:39:12 2010
@@ -1,0 +1,1 @@
+debian/tmp/usr/share/doc/openturns/*

Added: packages/openturns/trunk/debian/openturns-doc.install
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/openturns-doc.install?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/openturns-doc.install (added)
+++ packages/openturns/trunk/debian/openturns-doc.install Tue Feb 16 12:39:12 2010
@@ -1,0 +1,2 @@
+
+

Added: packages/openturns/trunk/debian/openturns-examples.install
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/openturns-examples.install?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/openturns-examples.install (added)
+++ packages/openturns/trunk/debian/openturns-examples.install Tue Feb 16 12:39:12 2010
@@ -1,0 +1,1 @@
+debian/tmp/usr/share/openturns/examples/*     usr/lib/openturns/examples

Added: packages/openturns/trunk/debian/openturns-examples.lintian-overrides
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/openturns-examples.lintian-overrides?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/openturns-examples.lintian-overrides (added)
+++ packages/openturns/trunk/debian/openturns-examples.lintian-overrides Tue Feb 16 12:39:12 2010
@@ -1,0 +1,239 @@
+openturns-examples binary: python-script-but-no-python-dep
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_AbdoRackwitz_linear /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_AbdoRackwitz_nonlinear /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_AbdoRackwitz_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_AnalyticalResult_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Axial_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_BarPlot_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_BetaFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Beta_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Bisection_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Box_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Brent_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Cache_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_CenteredFiniteDifferenceGradient_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_CenteredFiniteDifferenceHessian_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ChiSquareFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ChiSquare_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ClaytonCopulaFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ClaytonCopula_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Cloud_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Cobyla_linear /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Cobyla_nonlinear /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Cobyla_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Collection_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ComparisonOperator_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ComposedCopula_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ComposedDistribution_large /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ComposedDistribution_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Composite_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ComputedNumericalMathEvaluationImplementationFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ComputedNumericalMathEvaluationImplementation_copy /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ComputedNumericalMathEvaluationImplementation_state /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ComputedNumericalMathEvaluationImplementation_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ComputedNumericalMathEvaluationImplementation_wrongarg /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ConfidenceInterval_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ConstantNumericalMathGradientImplementation_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ConstantNumericalMathHessianImplementation_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Contour_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_CorrelationAnalysis_sobol /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_CovarianceMatrixLapack_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Curve_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Description_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_DirectionalSampling_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Distributions_draw /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_EnumerateFunction_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Epanechnikov_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Event_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Exception_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ExponentialFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ExponentialRBF_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Exponential_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_FORM_AbdoRackwitz /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_FORM_SQP /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_FORM_draw /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_FORM_sensitivity /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_FORM_sensitivity2 /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_FORM_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Factorial_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_FittingTest_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_FrankCopulaFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_FrankCopula_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_FunctionalChaos_gsobol /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_FunctionalChaos_ishigami /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_GammaFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Gamma_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_GeometricFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Geometric_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Graph_export /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Graph_mix /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_GumbelCopulaFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_GumbelCopula_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_GumbelFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Gumbel_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_HermiteFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Histogram_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_HistoryStrategy_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_HypothesisTest_correlation /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_HypothesisTest_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_IdFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_IdentityMatrix_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ImportanceSampling_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_IndependentCopula_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Indices_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Interval_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_IsoProbabilisticTransformation_EllipticalCopula /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_IsoProbabilisticTransformation_EllipticalDistribution /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_IsoProbabilisticTransformation_IndependentCopula /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_JacobiFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_KernelMixture_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_KernelSmoothing_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LHS_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LaguerreFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LaplaceFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Laplace_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LeastSquaresAlgorithm_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LegendreFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LibraryLoader_load /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LibraryLoader_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Library_cpp /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Library_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LinearCombinationEvaluationImplementation_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LinearCombinationGradientImplementation_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LinearCombinationHessianImplementation_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LinearLeastSquares_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LinearModelFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LinearModelTest_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LinearModel_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LinearNumericalMathEvaluationImplementation_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LinearNumericalMathFunction_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LinearNumericalMathGradientImplementation_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LinearTaylor_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LogNormalFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LogNormal_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Log_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_LogisticFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Logistic_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_MatrixSolveLinearSystem_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Matrix_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_MergeRandomAndConstantInput /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_MethodBoundNumericalMathEvaluationImplementation_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_MinMax_computation /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Mixture_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_MonteCarloExperiment_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_MonteCarlo_draw /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_MonteCarlo_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_MultiNomial_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NearestPointChecker_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NonCenteredFiniteDifferenceGradient_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NonCentralStudent_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NormalCopulaFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NormalCopula_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NormalFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NormalRBF_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Normal_large /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Normal_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Normal_wrongarg /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NormalityTest_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalMathFunction_analytical /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalMathFunction_composition /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalMathFunction_exec /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalMathFunction_exec_bug63 /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalMathFunction_exec_external /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalMathFunction_exec_sample /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalMathFunction_exec_threads /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalMathFunction_grad /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalMathFunction_hess /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalMathFunction_indicator /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalMathFunction_linear_combination /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalMathFunction_minimal /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalMathFunction_product /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalMathFunction_sample /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalMathFunction_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalPoint_description /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalPoint_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalSample_computation /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalSample_csv /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalSample_csv_notfound /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalSample_large /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalSample_split /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_NumericalSample_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_OStream_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Object_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_OrthogonalBasis_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_OrthogonalProductPolynomialFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_PersistentObject_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Pie_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Pointer_cast /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Pointer_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_PoissonFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Poisson_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_PolynomialKernel_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_PostAnalyticalControlledImportanceSampling_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_PostAnalyticalImportanceSampling_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_QuadraticCumul_importanceFactors /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_QuadraticCumul_run /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_QuadraticCumul_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_QuadraticLeastSquares_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_QuadraticNumericalMathEvaluationImplementation_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_QuadraticTaylor_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_QuasiMonteCarlo_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_RandomGenerator_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_RandomMixture_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_RandomVector_constant /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_RandomVector_distribution /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_RandomVector_function /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_RationalKernel_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_RayleighFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Rayleigh_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_ResourceMap_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_SORM_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_SQP_linear /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_SQP_nonlinear /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_SQP_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_SVMKernel_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Secant_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_SensitivityAnalysis_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_SobolSequence_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_SquareMatrixLapack_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_SquareMatrix_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Staircase_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_StandardEvent_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_StrongMaximumTest_other /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_StrongMaximumTest_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_StrongMaximumTest_tabulatedValues /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_StudentFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Student_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Study_load /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Study_save /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_SymmetricMatrixLapack_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_SymmetricMatrix_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_SymmetricTensor_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_TNC_linear /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_TNC_nonlinear /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_TNC_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Tensor_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_TestResult_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_TriangularFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Triangular_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_TruncatedDistribution_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_TruncatedNormalFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_TruncatedNormal_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_UniVariatePolynomial_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_UniformFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Uniform_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_UserDefinedFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_UserDefined_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_VisualTest_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Waarts_25_quadratic_terms /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Waarts_RS2 /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Waarts_concave /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Waarts_convex /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Waarts_discontinuous_lsf /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Waarts_noisy_lsf /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Waarts_oblate /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Waarts_saddle /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Waarts_system_series /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_WeibullFactory_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Weibull_std /usr/lib/openturns
+openturns-examples binary: binary-or-shlib-defines-rpath ./usr/lib/openturns/examples/t_Wilks_std /usr/lib/openturns

Added: packages/openturns/trunk/debian/openturns-validation.install
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/openturns-validation.install?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/openturns-validation.install (added)
+++ packages/openturns/trunk/debian/openturns-validation.install Tue Feb 16 12:39:12 2010
@@ -1,0 +1,2 @@
+debian/tmp/usr/share/openturns/validation/* usr/share/openturns/validation
+

Added: packages/openturns/trunk/debian/openturns-wrapper.install
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/openturns-wrapper.install?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/openturns-wrapper.install (added)
+++ packages/openturns/trunk/debian/openturns-wrapper.install Tue Feb 16 12:39:12 2010
@@ -1,0 +1,3 @@
+debian/tmp/usr/share/openturns/wrappers/*           usr/lib/openturns/wrappers
+debian/tmp/usr/share/openturns/WrapperTemplates/*    usr/share/openturns/WrapperTemplates
+

Added: packages/openturns/trunk/debian/openturns-wrapper.lintian-overrides
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/openturns-wrapper.lintian-overrides?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/openturns-wrapper.lintian-overrides (added)
+++ packages/openturns/trunk/debian/openturns-wrapper.lintian-overrides Tue Feb 16 12:39:12 2010
@@ -1,0 +1,22 @@
+openturns-wrapper binary: postinst-has-useless-call-to-ldconfig
+openturns-wrapper binary: postrm-has-useless-call-to-ldconfig
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/TestCompositionLeft.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/TestCompositionRight.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/TestIdentity.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/TestOptimLinear.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/TestOptimNonLinear.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/TestQuadraticCumul.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/TestResponseSurface.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/TestStrongMaximumTest.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/TestStrongMaximumTest2.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/TestStrongMaximumTestDimension10.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/TestStrongMaximumTestDimension2.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/TestStrongMaximumTestDimension5.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/external_code_threads.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/minimal_wrapper.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/poutre.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/poutre_sample.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/testwrapper_1.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/testwrapper_2.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+openturns-wrapper: incorrect-libdir-in-la-file usr/lib/openturns/wrappers/testwrapper_3.la /usr/share/openturns/wrappers != /usr/lib/openturns/wrappers
+

Added: packages/openturns/trunk/debian/openturns.doc-base
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/openturns.doc-base?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/openturns.doc-base (added)
+++ packages/openturns/trunk/debian/openturns.doc-base Tue Feb 16 12:39:12 2010
@@ -1,0 +1,11 @@
+Document: openturns
+Title: Debian openturns Manual
+Author: OpenTurns Consortium
+Abstract: This manual describes what openturns is and how it can be
+ used to manage online manuals on Debian systems.  
+Section: Science/Engineering
+
+Format: PDF
+Files: /usr/share/doc/openturns-doc/*.pdf
+
+

Added: packages/openturns/trunk/debian/openturns.lintian-overrides
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/openturns.lintian-overrides?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/openturns.lintian-overrides (added)
+++ packages/openturns/trunk/debian/openturns.lintian-overrides Tue Feb 16 12:39:12 2010
@@ -1,0 +1,4 @@
+# the libraries are only used in the paraview package, so we override the
+# warnings and errors:
+
+

Added: packages/openturns/trunk/debian/patches/dlopen.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/patches/dlopen.patch?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/patches/dlopen.patch (added)
+++ packages/openturns/trunk/debian/patches/dlopen.patch Tue Feb 16 12:39:12 2010
@@ -1,0 +1,12 @@
+--- a/python/src/openturns_preload.c
++++ b/python/src/openturns_preload.c
+@@ -22,7 +22,7 @@ initopenturns_preload(void)
+   }
+
+   dlerror();    /* Clear any existing error */
+-  handle = dlopen ( LIBINSTALL_PATH "/libOT.so", RTLD_NOW | RTLD_GLOBAL );
++  handle = dlopen ( LIBINSTALL_PATH "/libOT.so.0", RTLD_NOW | RTLD_GLOBAL );
+   if (!handle) {
+     PyErr_SetString( PyExc_IOError, "Dynamic loading of library 'libOT.so'
+failed at " LIBINSTALL_PATH );
+     return;

Added: packages/openturns/trunk/debian/patches/fix_ftbfs_on_arm_and_mips.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/patches/fix_ftbfs_on_arm_and_mips.patch?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/patches/fix_ftbfs_on_arm_and_mips.patch (added)
+++ packages/openturns/trunk/debian/patches/fix_ftbfs_on_arm_and_mips.patch Tue Feb 16 12:39:12 2010
@@ -1,0 +1,11 @@
+--- a/lib/src/Base/Common/XMLToolbox.cxx	2010-01-12 04:26:20.000000000 +0000
++++ b/lib/src/Base/Common/XMLToolbox.cxx	2010-01-12 04:26:36.000000000 +0000
+@@ -204,7 +204,7 @@
+ 	while (1) {
+ 	  /* Try to print in the allocated space. */
+ 	  va_start(ap, fmt);
+-	  n = std::vsnprintf (p, size, fmt, ap);
++	  n = vsnprintf (p, size, fmt, ap);
+ 	  va_end(ap);
+ 	  /* If that worked, return the string. */
+ 	  if (n > -1 && n < size)

Added: packages/openturns/trunk/debian/patches/install.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/patches/install.patch?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/patches/install.patch (added)
+++ packages/openturns/trunk/debian/patches/install.patch Tue Feb 16 12:39:12 2010
@@ -1,0 +1,52 @@
+Index: openturns-0.12.1/lib/Makefile.am
+===================================================================
+--- openturns-0.12.1.orig/lib/Makefile.am	2008-07-31 13:17:54.000000000 +0200
++++ openturns-0.12.1/lib/Makefile.am	2008-07-31 13:18:26.000000000 +0200
+@@ -37,10 +37,7 @@
+ 	TODO \
+ 	NEWS \
+ 	AUTHORS \
+-	ChangeLog \
+-	COPYING \
+-	COPYING.MuParser \
+-	COPYING.dsfmt
++	ChangeLog
+ 
+ 
+ MAINTAINERCLEANFILES = \
+Index: openturns-0.12.1/Makefile.am
+===================================================================
+--- openturns-0.12.1.orig/Makefile.am	2008-07-31 13:24:06.000000000 +0200
++++ openturns-0.12.1/Makefile.am	2008-07-31 13:24:35.000000000 +0200
+@@ -30,12 +30,10 @@
+ docdir=$(pkgdatadir)/doc
+ dist_doc_DATA = \
+ 	README \
+-	INSTALL \
+ 	TODO \
+ 	NEWS \
+ 	AUTHORS \
+-	ChangeLog \
+-	COPYING
++	ChangeLog
+ 
+ SUBDIRS = utils wrappers
+ DIST_SUBDIRS = utils wrappers
+Index: openturns-0.12.1/doc/Makefile.am
+===================================================================
+--- openturns-0.12.1.orig/doc/Makefile.am	2008-07-31 13:41:33.000000000 +0200
++++ openturns-0.12.1/doc/Makefile.am	2008-07-31 13:44:13.000000000 +0200
+@@ -33,12 +33,10 @@
+ docdir=$(pkgdatadir)/doc
+ dist_doc_DATA = \
+ 	README \
+-	INSTALL \
+ 	TODO \
+ 	NEWS \
+ 	AUTHORS \
+-	ChangeLog \
+-	COPYING
++	ChangeLog
+ 
+ 
+ MAINTAINERCLEANFILES = \

Added: packages/openturns/trunk/debian/patches/openturns-sh4-support.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/patches/openturns-sh4-support.patch?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/patches/openturns-sh4-support.patch (added)
+++ packages/openturns/trunk/debian/patches/openturns-sh4-support.patch Tue Feb 16 12:39:12 2010
@@ -1,0 +1,11 @@
+--- a/lib/configure	2009-12-14 09:58:05.000000000 +0900
++++ b/lib/configure	2009-12-14 09:58:28.000000000 +0900
+@@ -19924,7 +19924,7 @@
+ 
+           ;;
+           # Ignore these flags.
+-        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*)
++        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little | -LANG:=* | -LIST:* | -LNO:*)
+           ;;
+         -lkernel32)
+           test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"

Added: packages/openturns/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/patches/series?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/patches/series (added)
+++ packages/openturns/trunk/debian/patches/series Tue Feb 16 12:39:12 2010
@@ -1,0 +1,2 @@
+fix_ftbfs_on_arm_and_mips.patch
+openturns-sh4-support.patch

Added: packages/openturns/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/pycompat?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/pycompat (added)
+++ packages/openturns/trunk/debian/pycompat Tue Feb 16 12:39:12 2010
@@ -1,0 +1,1 @@
+2

Added: packages/openturns/trunk/debian/python-openturns.install
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/python-openturns.install?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/python-openturns.install (added)
+++ packages/openturns/trunk/debian/python-openturns.install Tue Feb 16 12:39:12 2010
@@ -1,0 +1,4 @@
+debian/tmp/usr/lib/python*/*-packages/openturns.pth
+debian/tmp/usr/lib/python*/*-packages/openturns/*.py
+debian/tmp/usr/lib/python*/*-packages/openturns/_*
+debian/tmp/usr/lib/python*/*-packages/openturns/openturns_preload*

Added: packages/openturns/trunk/debian/python-openturns.lintian-overrides
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/python-openturns.lintian-overrides?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/python-openturns.lintian-overrides (added)
+++ packages/openturns/trunk/debian/python-openturns.lintian-overrides Tue Feb 16 12:39:12 2010
@@ -1,0 +1,7 @@
+python-openturns binary: postinst-has-useless-call-to-ldconfig
+python-openturns binary: postrm-has-useless-call-to-ldconfig
+python-openturns binary: binary-or-shlib-defines-rpath ./usr/lib/python2.5/site-packages/_ot.so.0.0.0 /usr/lib/openturns
+python-openturns binary: binary-or-shlib-defines-rpath ./usr/lib/python2.5/site-packages/openturns/_base_all.so.0.0.0 /usr/lib/openturns
+python-openturns binary: binary-or-shlib-defines-rpath ./usr/lib/python2.5/site-packages/openturns/_common.so.0.0.0 /usr/lib/openturns
+python-openturns binary: binary-or-shlib-defines-rpath ./usr/lib/python2.5/site-packages/openturns/_uncertainty_all.so.0.0.0 /usr/lib/openturns
+python-openturns binary: binary-or-shlib-defines-rpath ./usr/lib/python2.5/site-packages/openturns/_wrapper.so.0.0.0 /usr/lib/openturns

Added: packages/openturns/trunk/debian/rotRPackage/DESCRIPTION
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/DESCRIPTION?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/DESCRIPTION (added)
+++ packages/openturns/trunk/debian/rotRPackage/DESCRIPTION Tue Feb 16 12:39:12 2010
@@ -1,0 +1,10 @@
+Package: rotRPackage
+Type: Package
+Title: Statistical functions needed by the OpenTURNS project, see www.openturns.org
+Version: 1.4.3
+Date: 2007-04-01
+Author: P.M. Pair, R. Lebrun
+Maintainer: <bug at openturns.org>
+Description: this R package is part of the OpenTURNS project, an Open Source platform for the Treatment of Uncertainty, Risk aNd Statistics. It provides an implementation of some of the statistical facilities provided by OpenTURNS.
+License: GPL
+Packaged: Sun Apr  1 21:35:50 2007; regis

Added: packages/openturns/trunk/debian/rotRPackage/R/ad.test.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/ad.test.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/ad.test.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/ad.test.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,42 @@
+"ad.test" <-
+function (x) 
+{
+    # Taken from the "nortest" package by Juergen Gross, available on CRAN
+    DNAME <- deparse(substitute(x))
+    x <- sort(x[complete.cases(x)])
+    n <- length(x)
+    if (n < 8) 
+        stop("sample size must be greater than 7")
+    p <- pnorm((x - mean(x))/sd(x))
+    indOk <- (p > .Machine$double.eps) & (p < 1.0 - .Machine$double.eps)
+    n <- length(x)
+    x <- x[indOk]
+    p <- p[indOk]
+    h <- (2 * seq(1:n) - 1) * (log(p) + log(1 - rev(p)))
+    print(h)
+    A <- -n - mean(h)
+    AA <- (1 + 0.75/n + 2.25/n^2) * A
+    if (AA < -1.38) {
+      pval <- 1.0
+    }
+    else if (AA < 0.2) {
+        pval <- 1 - exp(-13.436 + 101.14 * AA - 223.73 * AA^2)
+    }
+    else if (AA < 0.34) {
+        pval <- 1 - exp(-8.318 + 42.796 * AA - 59.938 * AA^2)
+    }
+    else if (AA < 0.6) {
+        pval <- exp(0.9177 - 4.279 * AA - 1.38 * AA^2)
+    }
+    else if (AA < 153) {
+        pval <- exp(1.2937 - 5.709 * AA + 0.0186 * AA^2)
+    }
+    else {
+      pval <- 0.0
+    }
+    RVAL <- list(statistic = c(A = A), p.value = pval, method = "Anderson-Darling normality test", 
+        data.name = DNAME)
+    class(RVAL) <- "htest"
+    return(RVAL)
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeLinearModel.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeLinearModel.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeLinearModel.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeLinearModel.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,42 @@
+"computeLinearModel" <-
+function(x, y, testLevel = 0.95){
+  
+  # Checking for NAs in y, beta is assumed not to contain any
+  indexNA <- which(is.na(y))
+
+  if(length(indexNA) > 0) {
+    x[indexNA, ] <- NA 
+  }
+
+  # Checking for NAs in x, beta is assumed not to contain any
+  indexNA <- which(is.na(x), arr.ind=TRUE)
+
+  if(length(indexNA) > 0) {
+
+    x[indexNA[, 1], ] <- NA 
+    y[indexNA[, 1]] <- NA
+    # Eliminating the NAs
+    x <- matrix(x[ ! is.na(x)], ncol = ncol(x))
+    y <- y[ ! is.na(y)]
+  }
+
+  linearModel <- lm(y ~ x, data = data.frame(x, y))
+  modelSummary <- summary(linearModel)
+
+  parameterEstimate <- modelSummary$coefficients[, 1]
+
+  # Computation of the t-value used in the CIs
+  tValue <- qt(testLevel, length(x)-1)
+
+  confidenceIntervalLow <- parameterEstimate - tValue * modelSummary$coefficients[, 2]
+  confidenceIntervalHigh <- parameterEstimate + tValue * modelSummary$coefficients[, 2]
+  pValues <- modelSummary$coefficients[, 4]
+  
+  list(linearmodel = "",
+       parameterEstimate = as.numeric(parameterEstimate), 
+       confidenceIntervalLow = as.numeric(confidenceIntervalLow), 
+       confidenceIntervalHigh = as.numeric(confidenceIntervalHigh), 
+       pValues = as.numeric(pValues))
+ 
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeResidualLm.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeResidualLm.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeResidualLm.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeResidualLm.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,31 @@
+"computeResidualLm" <-
+function(x, beta, y){
+  
+  # Checking for NAs in y, beta is assumed not to contain any
+  indexNA <- which(is.na(y))
+
+  if(length(indexNA) > 0) {
+    x[indexNA, ] <- NA 
+  }
+
+  # Checking for NAs in x, beta is assumed not to contain any
+  indexNA <- which(is.na(x), arr.ind=TRUE)
+
+  if(length(indexNA) > 0) {
+
+    x[indexNA[, 1], ] <- NA 
+    y[indexNA[, 1]] <- NA
+    # Eliminating the NAs
+    x <- matrix(x[ ! is.na(x)], ncol = ncol(x))
+    y <- y[ ! is.na(y)]
+  }
+
+  # Computing the residual. 
+  completeX <- cbind(rep(1, nrow(x)), x)
+  predictedSample <- completeX %*% beta
+  residual <- y - predictedSample  
+
+  return(residual)
+
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestAndersonDarlingNormal.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestAndersonDarlingNormal.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestAndersonDarlingNormal.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestAndersonDarlingNormal.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,14 @@
+"computeTestAndersonDarlingNormal" <-
+function(numericalSample, testLevel = 0.95) {
+print("computeTestAndersonDarlingNormal")
+  # Direct application of ad.test.
+  testAd <- ad.test(numericalSample)
+print(testAd)
+  pValue <- testAd$p.value
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "AndersonDarlingNormal",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestChiSquaredGeometric.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestChiSquaredGeometric.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestChiSquaredGeometric.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestChiSquaredGeometric.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,21 @@
+"computeTestChiSquaredGeometric" <-
+function(numericalSample, p, testLevel = 0.95, estimatedParameters) {
+
+
+  # pTheoric : the theoretical values of p. 
+  pTheoric <- dgeom(0 : max(numericalSample), p)
+  pTheoric <- c(pTheoric, 1 - sum(pTheoric))
+
+  # Putting numericaSample in the correct form. 
+  x <- c(hist(numericalSample, breaks = -1 : max(numericalSample), plot = FALSE)$count, 0)
+
+  # This uses the chisq.test function from the R "stats" package.
+  testChiSquared <- chisq.test(x, p = pTheoric)    
+  
+  testResult <- ifelse(testChiSquared$p.value > 1 - testLevel, 1, 0)
+  return(list(test = "ChiSquaredGeometric",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = testChiSquared$p.value))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestChiSquaredPoisson.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestChiSquaredPoisson.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestChiSquaredPoisson.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestChiSquaredPoisson.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,20 @@
+"computeTestChiSquaredPoisson" <-
+function(numericalSample, lambda, testLevel = 0.95, estimatedParameters) {
+
+  # pTheoric : the theoretical values of p. 
+  pTheoric <- dpois(0 : max(numericalSample), lambda)
+  pTheoric <- c(pTheoric, 1 - sum(pTheoric))
+
+  # Putting numericaSample in the correct form. 
+  x <- c(hist(numericalSample, breaks = -1 : max(numericalSample), plot = FALSE)$count, 0)
+
+  # This uses the chisq.test function from the R "stats" package.
+  testChiSquared <- chisq.test(x, p = pTheoric)    
+  
+  testResult <- ifelse(testChiSquared$p.value > 1 - testLevel, 1, 0)
+  return(list(test = "ChiSquaredPoisson",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = testChiSquared$p.value))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestChiSquaredUserDefined.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestChiSquaredUserDefined.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestChiSquaredUserDefined.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestChiSquaredUserDefined.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,30 @@
+"computeTestChiSquaredUserDefined" <-
+function(numericalSample, x_i, p_i, testLevel = 0.95, estimatedParameters) {
+
+  # Putting numericaSample in the correct form. 
+  xCount <- NULL
+  
+  for (i in min(numericalSample) : max(numericalSample)) {
+
+    testPresent <- sum(numericalSample == i)
+
+    if (testPresent > 0) {
+
+      if(!any(x_i[[1]] == i)) { 
+        stop('Values outside the range!')
+      }
+
+      xCount <- c(xCount, testPresent)  
+    }  
+  }
+
+  # This uses the chisq.test function from the R "stats" package.
+  testChiSquared <- chisq.test(xCount, p = p_i[[1]])    
+  
+  testResult <- ifelse(testChiSquared$p.value > 1 - testLevel, 1, 0)
+  return(list(test = "ChiSquaredUserDefined",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = testChiSquared$p.value))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestCramerVonMisesNormal.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestCramerVonMisesNormal.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestCramerVonMisesNormal.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestCramerVonMisesNormal.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,13 @@
+"computeTestCramerVonMisesNormal" <-
+function(numericalSample, testLevel = 0.95) {
+
+  # This function directly uses the cvm.test function from the R "nortest" package by Juergen Gross.
+  testCvm <- cvm.test(numericalSample)
+  pValue <- testCvm$p.value
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "CramerVonMisesNormal",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovBeta.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovBeta.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovBeta.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovBeta.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,13 @@
+"computeTestKolmogorovBeta" <-
+function(numericalSample, r, t, a, b, testLevel = 0.95, estimatedParameters) {
+
+  # This function directly uses the ks.test function from the R "stats" package.
+  testKs <- ks.test((numericalSample - a) / (b - a), "pbeta", r, t - r)
+  pValue <- testKs$p.value
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "KolmogorovBeta",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovExponential.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovExponential.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovExponential.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovExponential.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,13 @@
+"computeTestKolmogorovExponential" <-
+function(numericalSample, lambda, gamma, testLevel = 0.95, estimatedParameters) {
+
+  # This function directly uses the ks.test function from the R "stats" package.
+  testKs <- ks.test(numericalSample - gamma, "pexp", lambda)
+  pValue <- testKs$p.value
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "KolmogorovExponential",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovGamma.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovGamma.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovGamma.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovGamma.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,13 @@
+"computeTestKolmogorovGamma" <-
+function(numericalSample, k, lambda, gamma, testLevel = 0.95, estimatedParameters) {
+
+  # This function directly uses the ks.test function from the R "stats" package.
+  testKs <- ks.test(numericalSample - gamma, "pgamma", k, lambda)
+  pValue <- testKs$p.value
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "KolmogorovGamma",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovGumbel.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovGumbel.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovGumbel.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovGumbel.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,13 @@
+"computeTestKolmogorovGumbel" <-
+function(numericalSample, alpha, beta, testLevel = 0.95, estimatedParameters) {
+
+  # This function directly uses the ks.test function from the R "stats" package.
+  testKs <- ks.test(numericalSample, "pgumbel", alpha, beta)
+  pValue <- testKs$p.value
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "KolmogorovGumbel",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovLogNormal.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovLogNormal.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovLogNormal.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovLogNormal.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,13 @@
+"computeTestKolmogorovLogNormal" <-
+function(numericalSample, muLog, sigmaLog, gamma, testLevel = 0.95, estimatedParameters) {
+
+  # This function directly uses the ks.test function from the R "stats" package.
+  testKs <- ks.test(numericalSample - gamma, "plnorm", muLog, sigmaLog)
+  pValue <- testKs$p.value
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "KolmogorovLogNormal",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovLogistic.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovLogistic.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovLogistic.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovLogistic.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,13 @@
+"computeTestKolmogorovLogistic" <-
+function(numericalSample, alpha, beta, testLevel = 0.95, estimatedParameters) {
+
+  # This function directly uses the ks.test function from the R "stats" package.
+  testKs <- ks.test(numericalSample, "plogis", alpha, beta)
+  pValue <- testKs$p.value
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "KolmogorovLogistic",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovNormal.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovNormal.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovNormal.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovNormal.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,13 @@
+"computeTestKolmogorovNormal" <-
+function(numericalSample, mu, sigma, testLevel = 0.95, estimatedParameters) {
+
+  # This function directly uses the ks.test function from the R "stats" package.
+  testKs <- ks.test(numericalSample, "pnorm", mu, sigma)
+  pValue <- testKs$p.value
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "KolmogorovNormal",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovStudent.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovStudent.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovStudent.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovStudent.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,13 @@
+"computeTestKolmogorovStudent" <-
+function(numericalSample, nu, mu, testLevel = 0.95, estimatedParameters) {
+
+  # This function directly uses the ks.test function from the R "stats" package.
+  testKs <- ks.test(numericalSample - mu, "pt", nu)
+  pValue <- testKs$p.value
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "KolmogorovStudent",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovTriangular.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovTriangular.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovTriangular.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovTriangular.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,13 @@
+"computeTestKolmogorovTriangular" <-
+function(numericalSample, a, m, b, testLevel = 0.95, estimatedParameters) {
+
+  # This function directly uses the ks.test function from the R "stats" package.
+  testKs <- ks.test(numericalSample, "ptriangle", a, m, b)
+  pValue <- testKs$p.value
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "KolmogorovTriangular",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovTruncatedNormal.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovTruncatedNormal.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovTruncatedNormal.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovTruncatedNormal.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,13 @@
+"computeTestKolmogorovTruncatedNormal" <-
+function(numericalSample, mu, sigma, a, b, testLevel = 0.95, estimatedParameters) {
+
+  # This function directly uses the ks.test function from the R "stats" package.
+  testKs <- ks.test(numericalSample, "ptnorm", mu, sigma, a, b)
+  pValue <- testKs$p.value
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "KolmogorovTruncatedNormal",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovUniform.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovUniform.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovUniform.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovUniform.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,13 @@
+"computeTestKolmogorovUniform" <-
+function(numericalSample, a, b, testLevel = 0.95, estimatedParameters) {
+
+  # This function directly uses the ks.test function from the R "stats" package.
+  testKs <- ks.test(numericalSample, "punif", a, b)
+  pValue <- testKs$p.value
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "KolmogorovUniform",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovWeibull.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovWeibull.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovWeibull.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestKolmogorovWeibull.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,14 @@
+"computeTestKolmogorovWeibull" <-
+function(numericalSample, alpha, beta, gamma, testLevel = 0.95, estimatedParameters) {
+
+  # This function directly uses the ks.test function from the R "stats" package.
+  # Warning! OpenTURNS conventions are different from R ones: alpha and beta are interverted.
+  testKs <- ks.test(numericalSample - gamma, "pweibull", beta, alpha)
+  pValue <- testKs$p.value
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "KolmogorovWeibull",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestPartialPearson.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestPartialPearson.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestPartialPearson.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestPartialPearson.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,21 @@
+"computeTestPartialPearson" <-
+function(inData, outData, selection, testLevel = 0.95) {
+
+  testResult <- numeric(length(selection))
+  pvalues <- numeric(length(selection))
+
+  # Direct application of cor.test ('stats' package) along the selection. 
+  for (i in 1:length(selection)) {
+
+    partialTest <- cor.test(inData[,selection[i]], outData, method = "pearson")
+    testResult[i] <- ifelse(partialTest$p.value > 1 - testLevel, 1, 0)
+    pvalues[i] <- as.numeric(partialTest$p.value)
+  }   
+
+  return(list(test = "Pearson",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pvalues))
+
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestPartialRegression.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestPartialRegression.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestPartialRegression.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestPartialRegression.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,21 @@
+"computeTestPartialRegression" <-
+function(outSample, inSample, selection, testLevel = 0.95) {
+
+  # Perform lm on each selection.
+  partialInSample <- inSample[,selection]
+  lmSummary <- summary(lm(outSample ~ partialInSample))
+
+  # The p-values are accessible via summary()
+  pValues <- lmSummary$coefficients[,4]
+  names(pValues) <- NULL
+  
+  testResult <- ifelse(pValues > 1 - testLevel, 1, 0)
+  names(testResult) <- NULL
+
+  return(list(test = "Regression",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValues))
+
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestPartialSpearman.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestPartialSpearman.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestPartialSpearman.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestPartialSpearman.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,21 @@
+"computeTestPartialSpearman" <-
+function(inData, outData, selection, testLevel = 0.95) {
+
+  testResult <- numeric(length(selection))
+  pvalues <- numeric(length(selection))
+
+  # Direct application of cor.test ('stats' package) along the selection. 
+  for (i in 1:length(selection)) {
+
+    partialTest <- cor.test(inData[,selection[i]], outData, method = "spearman")
+    testResult[i] <- ifelse(partialTest$p.value > 1 - testLevel, 1, 0)
+    pvalues[i] <- as.numeric(partialTest$p.value)
+  }   
+
+  return(list(test = "Spearman",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pvalues))
+
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestPearson.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestPearson.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestPearson.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestPearson.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,6 @@
+"computeTestPearson" <-
+function(inData, outData, testLevel = 0.95) {
+  # Reusing computeTestPartialPearson on the whole dataset.
+  computeTestPartialPearson(inData, outData, selection = 1 : dim(inData)[1], testLevel)
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestRegression.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestRegression.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestRegression.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestRegression.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,18 @@
+"computeTestRegression" <-
+function(outSample, inSample, testLevel = 0.95) {
+
+  # Perform lm on the dataset.
+  lmSummary <- summary(lm(outSample ~ inSample))
+
+  # The p-values are accessible via summary()
+  pValues <- lmSummary$coefficients[,4]
+  names(pValues) <- NULL
+  
+  testResult <- ifelse(pValues > 1 - testLevel, 1, 0)
+  return(list(test = "",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValues))
+
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestSpearman.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestSpearman.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestSpearman.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestSpearman.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,6 @@
+"computeTestSpearman" <-
+function(inData, outData, testLevel = 0.95) {
+  # Reusing computeTestPartialSpearman on the whole dataset.
+  computeTestPartialSpearman(inData, outData, selection = 1 : dim(inData)[1], testLevel)
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSampleChiSquared.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSampleChiSquared.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSampleChiSquared.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSampleChiSquared.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,13 @@
+"computeTestTwoSampleChiSquared" <-
+function(numericalSample1, numericalSample2, testLevel = 0.95) {
+
+  # Direct application of chisq.test ('stats' package). 
+  testChiSquared <- chisq.test(numericalSample1, numericalSample2)    
+  
+  testResult <- ifelse(testChiSquared$p.value > 1 - testLevel, 1, 0)
+  return(list(test = "TwoSampleChiSquared",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = testChiSquared$p.value))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSamplePearson.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSamplePearson.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSamplePearson.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSamplePearson.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,15 @@
+"computeTestTwoSamplePearson" <-
+function(numericalSample1, numericalSample2, testLevel = 0.95) {
+
+  # Direct application of cor.test ('stats' package).
+  testKs <- cor.test(numericalSample1, numericalSample2, method = "pearson")
+
+  pValue <- testKs$p.value
+
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "TwoSamplePearson",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSampleSmirnov.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSampleSmirnov.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSampleSmirnov.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSampleSmirnov.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,15 @@
+"computeTestTwoSampleSmirnov" <-
+function(numericalSample1, numericalSample2, testLevel = 0.95) {
+
+  # Direct application of ks.test ('stats' package).
+  testKs <- ks.test(numericalSample1, numericalSample2)
+
+  pValue <- testKs$p.value
+
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "TwoSampleSmirnov",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSampleSpearman.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSampleSpearman.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSampleSpearman.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTestTwoSampleSpearman.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,15 @@
+"computeTestTwoSampleSpearman" <-
+function(numericalSample1, numericalSample2, testLevel = 0.95) {
+
+  # Direct application of cor.test ('stats' package).
+  testKs <- cor.test(numericalSample1, numericalSample2, method = "spearman")
+
+  pValue <- testKs$p.value
+
+  testResult <- ifelse(pValue > 1 - testLevel, 1, 0)
+  return(list(test = "TwoSampleSpearman",
+              testResult = testResult,
+              threshold = 1 - testLevel,
+              pValue = pValue))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/computeTruncatedNormalPdf.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/computeTruncatedNormalPdf.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/computeTruncatedNormalPdf.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/computeTruncatedNormalPdf.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,6 @@
+"computeTruncatedNormalPdf" <-
+function(point, mu, sigma, a, b) {
+  # Call to the relevant function, taken from the msm package by C. H. Jackson, available on CRAN.
+  dtnorm(point, mu, sigma, a, b)
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/cvm.test.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/cvm.test.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/cvm.test.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/cvm.test.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,36 @@
+"cvm.test" <-
+function (x) 
+{
+    # Taken from the "nortest" package by Juergen Gross, available on CRAN
+    DNAME <- deparse(substitute(x))
+    x <- sort(x[complete.cases(x)])
+    n <- length(x)
+    if (n < 8) 
+        stop("sample size must be greater than 7")
+    p <- pnorm((x - mean(x))/sd(x))
+    W <- (1/(12 * n) + sum((p - (2 * seq(1:n) - 1)/(2 * n))^2))
+    WW <- (1 + 0.5/n) * W
+    if (WW < -0.2) {
+        pval <- 1.0
+    }
+    else if (WW < 0.0275) {
+        pval <- 1 - exp(-13.953 + 775.5 * WW - 12542.61 * WW^2)
+    }
+    else if (WW < 0.051) {
+        pval <- 1 - exp(-5.903 + 179.546 * WW - 1515.29 * WW^2)
+    }
+    else if (WW < 0.092) {
+        pval <- exp(0.886 - 31.62 * WW + 10.897 * WW^2)
+    }
+    else if (WW < 2.636) {
+        pval <- exp(1.111 - 34.242 * WW + 12.832 * WW^2)
+    }
+    else {
+        pval <- 0.0
+    }
+    RVAL <- list(statistic = c(W = W), p.value = pval, method = "Cramer-von Mises normality test", 
+        data.name = DNAME)
+    class(RVAL) <- "htest"
+    return(RVAL)
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/dtnorm.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/dtnorm.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/dtnorm.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/dtnorm.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,15 @@
+"dtnorm" <-
+function(x, mean=0, sd=1, lower=-Inf, upper=Inf)
+  {
+      # Taken from the "msm" package by C. H. Jackson, available on CRAN
+      ret <- numeric(length(x))
+      ret[x < lower | x > upper] <- 0
+      ind <- x >=lower & x <=upper
+      if (any(ind)) {
+          denom <- pnorm(upper, mean, sd) - pnorm(lower, mean, sd)
+          xtmp <- dnorm(x[ind], mean, sd) / denom
+          ret[ind] <- xtmp[ind]
+      }
+      ret
+  }
+

Added: packages/openturns/trunk/debian/rotRPackage/R/estimateTruncatedNormalParameters.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/estimateTruncatedNormalParameters.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/estimateTruncatedNormalParameters.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/estimateTruncatedNormalParameters.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,69 @@
+"estimateTruncatedNormalParameters" <-
+function(numericalSample, testLevel = 0.975){
+  
+  # Checking for NAs in sample
+  numericalSample <- numericalSample[ ! is.na(numericalSample)]
+
+  a <- min(numericalSample)
+  b <- max(numericalSample)
+  # First guess for the optimization step. Should find a better solution.
+  mean <- mean(numericalSample)
+  var <- var(numericalSample)
+  mean0 <- mean
+  var0 <- var
+  for (i in 1:100) {
+    sd <- sqrt(var)
+    phiA <- dnorm(a, mean, sd)
+    phiB <- dnorm(b, mean, sd)
+    PhiA <- pnorm(a, mean, sd)
+    PhiB <- pnorm(b, mean, sd)
+    denom <- (PhiB - PhiA - (mean0 - a) * phiA - (b - mean0) * phiB)
+    var <- var0 * (PhiB - PhiA) / denom
+    mean <- mean0 + var * (phiB - phiA) / (PhiB - PhiA)
+  }
+  
+  # For reasons of data types and calls, we need to use an auxiliary function. However, 
+  # this is just an intermediary step, we still use fitdistr on the Beta Pdf.
+  AuxiliaryTruncatedNormal <- function(numericalSample,...){
+    # Call to fitdistr (MASS package) .
+    estimation <- fitdistr(numericalSample, computeTruncatedNormalPdf, 
+                           start = list(mu = mean, sigma = sqrt(var)), ...)
+  }
+
+  estimation <- NA
+  try(estimation <- AuxiliaryTruncatedNormal(numericalSample, a = (a - .Machine$double.eps), b = (b + .Machine$double.eps)))
+  if (is.na(estimation))
+  {
+    # If the first method of estimation fails, we try the L-BFGS-B method.
+    estimation <- AuxiliaryTruncatedNormal(numericalSample, a = (a - .Machine$double.eps), b = (b + .Machine$double.eps), method = "L-BFGS-B", lower = c(-Inf,0))
+  }
+
+  # Checking whether loglikelihood is supported in the current R version. 
+  if (length(estimation$loglik) == 0) {
+    warning("Warning: the current R version does not support the loglikelihood computation")
+    estimation$loglik = "Warning: the current R version does not support the loglikelihood computation"
+  }
+
+  # Computation of the t-value used in the CIs
+
+  tValue <- qt(testLevel, length(numericalSample)-1)
+
+  confidenceIntervalmu <- c(as.numeric(estimation$estimate[1]) - 
+                              tValue * as.numeric(estimation$sd[1]),
+                            as.numeric(estimation$estimate[1]) + 
+                              tValue * as.numeric(estimation$sd[1]))
+
+  confidenceIntervalsigma <- c(as.numeric(estimation$estimate[2]) - 
+                                 tValue * as.numeric(estimation$sd[2]),
+                               as.numeric(estimation$estimate[2]) + 
+                                 tValue * as.numeric(estimation$sd[2]))
+  
+  estimatedTruncatedNormal <- list(distribution = "TruncatedNormal",
+                        mu = as.numeric(estimation$estimate[1]),
+                        sigma = as.numeric(estimation$estimate[2]),
+                        a = a,
+                        b = b,
+                        confidenceIntervalmu = confidenceIntervalmu,
+                        confidenceIntervalsigma = confidenceIntervalsigma,
+                        logLikelihood = estimation$loglik)
+}

Added: packages/openturns/trunk/debian/rotRPackage/R/fitdistr.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/fitdistr.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/fitdistr.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/fitdistr.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,160 @@
+"fitdistr" <-
+function (x, densfun, start, ...) 
+{
+    # Taken from the MASS package. 
+
+    myfn <- function(parm, ...) {
+      -sum(log(dens(parm, ...)))
+    }
+    mylogfn <- function(parm, ...) {
+      -sum(dens(parm, ..., log = TRUE))
+    }
+    mydt <- function(x, m, s, df, log) {
+      dt((x - m)/s, df, log = TRUE) - log(s)
+    }
+    Call <- match.call(expand.dots = TRUE)
+    if (missing(start)) 
+        start <- NULL
+    dots <- names(list(...))
+    dots <- dots[!is.element(dots, c("upper", "lower"))]
+    if (missing(x) || length(x) == 0 || mode(x) != "numeric") 
+        stop("'x' must be a non-empty numeric vector")
+    if (missing(densfun) || !(is.function(densfun) || is.character(densfun))) 
+        stop("'densfun' must be supplied as a function or name")
+    n <- length(x)
+    if (is.character(densfun)) {
+        distname <- tolower(densfun)
+        densfun <- switch(distname, beta = dbeta, cauchy = dcauchy, 
+            "chi-squared" = dchisq, exponential = dexp, f = df, 
+            gamma = dgamma, geometric = dgeom, "log-normal" = dlnorm, 
+            lognormal = dlnorm, logistic = dlogis, "negative binomial" = dnbinom, 
+            normal = dnorm, poisson = dpois, t = mydt, weibull = dweibull, 
+            NULL)
+        if (is.null(densfun)) 
+            stop("unsupported distribution")
+        if (distname %in% c("lognormal", "log-normal")) {
+            if (!is.null(start)) 
+                stop("supplying pars for the log-Normal is not supported")
+            if (any(x <= 0)) 
+                stop("need positive values to fit a log-Normal")
+            lx <- log(x)
+            sd0 <- sqrt((n - 1)/n) * sd(lx)
+            mx <- mean(lx)
+            estimate <- c(mx, sd0)
+            sds <- c(sd0/sqrt(n), sd0/sqrt(2 * n))
+            names(estimate) <- names(sds) <- c("meanlog", "sdlog")
+            return(structure(list(estimate = estimate, sd = sds, 
+                n = n, loglik = sum(dlnorm(x, mx, sd0, log = TRUE))), 
+                class = "fitdistr"))
+        }
+        if (distname == "normal") {
+            if (!is.null(start)) 
+                stop("supplying pars for the Normal is not supported")
+            sd0 <- sqrt((n - 1)/n) * sd(x)
+            mx <- mean(x)
+            estimate <- c(mx, sd0)
+            sds <- c(sd0/sqrt(n), sd0/sqrt(2 * n))
+            names(estimate) <- names(sds) <- c("mean", "sd")
+            return(structure(list(estimate = estimate, sd = sds, 
+                n = n, loglik = sum(dnorm(x, mx, sd0, log = TRUE))), 
+                class = "fitdistr"))
+        }
+        if (distname == "poisson") {
+            if (!is.null(start)) 
+                stop("supplying pars for the Poisson is not supported")
+            estimate <- mean(x)
+            sds <- sqrt(estimate/n)
+            names(estimate) <- names(sds) <- "lambda"
+            return(structure(list(estimate = estimate, sd = sds, 
+                n = n, loglik = sum(dpois(x, estimate, log = TRUE))), 
+                class = "fitdistr"))
+        }
+        if (distname == "exponential") {
+            if (!is.null(start)) 
+                stop("supplying pars for the exponential is not supported")
+            estimate <- 1/mean(x)
+            sds <- estimate/sqrt(n)
+            names(estimate) <- names(sds) <- "rate"
+            return(structure(list(estimate = estimate, sd = sds, 
+                n = n, loglik = sum(dexp(x, estimate, log = TRUE))), 
+                class = "fitdistr"))
+        }
+        if (distname == "geometric") {
+            if (!is.null(start)) 
+                stop("supplying pars for the geometric is not supported")
+            estimate <- 1/mean(x)
+            sds <- estimate * sqrt((1 - estimate)/n)
+            names(estimate) <- names(sds) <- "prob"
+            return(structure(list(estimate = estimate, sd = sds, 
+                n = n, loglik = sum(dexp(x, estimate, log = TRUE))), 
+                class = "fitdistr"))
+        }
+        if (distname == "weibull" && is.null(start)) {
+            m <- mean(log(x))
+            v <- var(log(x))
+            shape <- 1.2/sqrt(v)
+            scale <- exp(m + 0.572/shape)
+            start <- list(shape = shape, scale = scale)
+            start <- start[!is.element(names(start), dots)]
+        }
+        if (distname == "gamma" && is.null(start)) {
+            m <- mean(x)
+            v <- var(x)
+            start <- list(shape = m^2/v, rate = m/v)
+            start <- start[!is.element(names(start), dots)]
+        }
+        if (distname == "negative binomial" && is.null(start)) {
+            m <- mean(x)
+            v <- var(x)
+            size <- if (v > m) 
+                m^2/(v - m)
+            else 100
+            start <- list(size = size, mu = m)
+            start <- start[!is.element(names(start), dots)]
+        }
+        if (is.element(distname, c("cauchy", "logistic")) && 
+            is.null(start)) {
+            start <- list(location = median(x), scale = IQR(x)/2)
+            start <- start[!is.element(names(start), dots)]
+        }
+        if (distname == "t" && is.null(start)) {
+            start <- list(m = median(x), s = IQR(x)/2, df = 10)
+            start <- start[!is.element(names(start), dots)]
+        }
+    }
+    if (is.null(start) || !is.list(start)) 
+        stop("'start' must be a named list")
+    nm <- names(start)
+    f <- formals(densfun)
+    args <- names(f)
+    m <- match(nm, args)
+    if (any(is.na(m))) 
+        stop("'start' specifies names which are not arguments to 'densfun'")
+    formals(densfun) <- c(f[c(1, m)], f[-c(1, m)])
+    dens <- function(parm, x, ...) densfun(x, parm, ...)
+    if ((l <- length(nm)) > 1) 
+        body(dens) <- parse(text = paste("densfun(x,", paste("parm[", 
+            1:l, "]", collapse = ", "), ", ...)"))
+    Call[[1]] <- as.name("optim")
+    Call$densfun <- Call$start <- NULL
+    Call$x <- x
+    Call$par <- start
+    Call$fn <- if ("log" %in% args) 
+        mylogfn
+    else myfn
+    Call$hessian <- TRUE
+    if (is.null(Call$method)) {
+        if (any(c("lower", "upper") %in% names(Call))) 
+            Call$method <- "L-BFGS-B"
+        else if (length(start) > 1) 
+            Call$method <- "BFGS"
+        else Call$method <- "Nelder-Mead"
+    }
+    res <- eval(Call)
+    if (res$convergence > 0) 
+        stop("optimization failed")
+    sds <- sqrt(diag(solve(res$hessian)))
+    structure(list(estimate = res$par, sd = sds, loglik = -res$value, 
+        n = n), class = "fitdistr")
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/pgumbel.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/pgumbel.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/pgumbel.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/pgumbel.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,13 @@
+"pgumbel" <-
+function(q, loc = 0, scale = 1, shape = 0, lower.tail = TRUE)
+{
+    # Taken from the "evd" package by Alec Stephenson, available on CRAN
+    if(min(scale) <= 0) stop("invalid scale")
+    if(length(shape) != 1) stop("invalid shape")
+    q <- (q - loc)/scale
+    if(shape == 0) p <- exp(-exp(-q))
+    else p <- exp( - pmax(1 + shape * q, 0)^(-1/shape))
+    if(!lower.tail) p <- 1 - p
+    p
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/predictValuesLm.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/predictValuesLm.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/predictValuesLm.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/predictValuesLm.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,21 @@
+"predictValuesLm" <-
+function(x, beta){
+
+  # Checking for NAs in x, beta is assumed not to contain any
+  indexNA <- which(is.na(x), arr.ind=TRUE)
+
+  if(length(indexNA) > 0) {
+   
+    x[indexNA[, 1], ] <- NA 
+    # Eliminating the NAs
+    x <- matrix(x[ ! is.na(x)], ncol = ncol(x))
+  }
+
+  # Prediction.
+  completeX <- cbind(rep(1, nrow(x)), x)
+  predictedSample <- completeX %*% beta
+
+  return(predictedSample)
+
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/ptnorm.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/ptnorm.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/ptnorm.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/ptnorm.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,18 @@
+"ptnorm" <-
+function(q, mean=0, sd=1, lower=-Inf, upper=Inf, lower.tail=TRUE, log.p=FALSE)
+  {
+      # Taken from the "msm" package by C. H. Jackson, available on CRAN
+      ret <- numeric(length(q))
+      ret[q < lower] <- 0
+      ret[q > upper] <- 1
+      ind <- q >=lower & q <=upper
+      if (any(ind)) {
+          denom <- pnorm(upper, mean, sd) - pnorm(lower, mean, sd)
+          if (lower.tail) qtmp <- pnorm(q, mean, sd) - pnorm(lower, mean, sd)
+          else qtmp <- pnorm(upper, mean, sd) - pnorm(q, mean, sd)
+          if (log.p) qtmp <- log(qtmp) - log(denom) else qtmp <- qtmp/denom
+          ret[ind] <- qtmp[ind]
+      }
+      ret
+  }
+

Added: packages/openturns/trunk/debian/rotRPackage/R/ptriangle.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/ptriangle.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/ptriangle.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/ptriangle.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,69 @@
+################################################################################
+#
+# Program:   ptriangle.R
+# Purpose:   To calculate the CDF for a triangle distribution
+# Author:    Rob Carnell, modif. Regis Lebrun
+# Date:      June 05
+#
+# Variables
+#   used the same naming conventions as other R distributions (q,p,d)
+#   p = cumulative probability
+#   a = left triangle endpoint,
+#   m = right triangle endpoint
+#   b = distribution mode
+#   First, exclude situations which are impossible with the function definition
+#   Next, define the value of the function on the various intervals
+#
+################################################################################
+
+"ptriangle" <- function(x, a=0, m=0.5, b=1) {
+
+  q <- x
+  a <- a
+  b <- b
+  c <- m
+
+  q1 <- length(q)
+  a1 <- length(a)
+  b1 <- length(b)
+  c1 <- length(c)
+
+  pTest <- function(X){
+    if(any(is.na(X))){ # is.na is TRUE for NA, NaN, and FALSE
+      if(any(is.nan(X))) return(NaN) # to conform to qunif
+      else return(NA) # to conform to qunif
+    } else if(X[2] > X[4] | X[3] < X[4] | (X[1]==X[2] & X[2]==X[4])){
+      warning("values required to be  a <= c <= b (at least one strict inequality)")
+      return(NaN) # to conform to behavior of qunif
+    } else if(any(is.infinite(X[2:4]))){
+      return(NaN)
+    } else if(X[1] <= X[2]) {
+      return(0)
+    } else if(X[2] != X[4] & X[1] < X[4]){
+      return((X[1] - X[2])^2 / (X[3] - X[2]) / (X[4] - X[2]))
+    } else if(X[4] != X[3] & X[1] >= X[4] & X[1] < X[3]){
+      return(1 - (X[3] - X[1])^2 / (X[3] - X[2]) / (X[3] - X[4]))
+    } else if(X[1] >= X[3]){
+      return(1)
+    }
+  }
+
+  k <- max(q1, a1, b1, c1)
+  if(k==1) return(pTest(c(q, a, b, c)))
+
+  params <- matrix(nrow=k, ncol=4)
+  tryCatch(
+  {
+    params[,1] <- q
+    params[,2] <- a
+    params[,3] <- b
+    params[,4] <- c
+  }, error = function(X) {
+    stop(paste(" -- Argument Lengths: length of q = ", q1,
+                ", a = ", a1, ", b = ", b1, ", c = ", c1, " -- ", X, sep=""))
+  })
+
+  return(apply(params, 1, pTest))
+}
+
+

Added: packages/openturns/trunk/debian/rotRPackage/R/testLmAdjustedRSquare.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/testLmAdjustedRSquare.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/testLmAdjustedRSquare.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/testLmAdjustedRSquare.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,37 @@
+"testLmAdjustedRSquare" <-
+function(x, beta, y, testLevel = 0.95){
+  
+  # Checking for NAs in y, beta is assumed not to contain any
+  indexNA <- which(is.na(y))
+
+  if(length(indexNA) > 0) {
+    x[indexNA, ] <- NA 
+  }
+
+  # Checking for NAs in x, beta is assumed not to contain any
+  indexNA <- which(is.na(x), arr.ind=TRUE)
+
+  if(length(indexNA) > 0) {
+
+    x[indexNA[, 1], ] <- NA 
+    y[indexNA[, 1]] <- NA
+    # Eliminating the NAs
+    x <- matrix(x[ ! is.na(x)], ncol = ncol(x))
+    y <- y[ ! is.na(y)]
+  }
+
+  # Prediction.
+  completeX <- cbind(rep(1, nrow(x)), x)
+  predictedSample <- completeX %*% beta
+
+  # Computing Rsquared and Adjusted Rsquared. 
+  Rsquare <- 1 - (sum((y - predictedSample) ^ 2)) / (sum((y - mean(y)) ^ 2))
+  adjustedRsquare <- ((nrow(x) - 1) * Rsquare - ncol(x)) / (nrow(x) - ncol(x) - 1) 
+
+  return(list(test = "AdjustedRSquared",
+       testResult = as.numeric(adjustedRsquare > testLevel), 
+       pValue = adjustedRsquare,
+       threshold = testLevel))
+
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/testLmFisher.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/testLmFisher.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/testLmFisher.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/testLmFisher.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,45 @@
+"testLmFisher" <-
+function(x, beta, y, testLevel = 0.95){
+  
+  # Checking for NAs in y, beta is assumed not to contain any
+  indexNA <- which(is.na(y))
+
+  if(length(indexNA) > 0) {
+    x[indexNA, ] <- NA 
+  }
+
+  # Checking for NAs in x, beta is assumed not to contain any
+  indexNA <- which(is.na(x), arr.ind=TRUE)
+
+  if(length(indexNA) > 0) {
+
+    x[indexNA[, 1], ] <- NA 
+    y[indexNA[, 1]] <- NA
+    # Eliminating the NAs
+    x <- matrix(x[ ! is.na(x)], ncol = ncol(x))
+    y <- y[ ! is.na(y)]
+  }
+
+  # Prediction.
+  completeX <- cbind(rep(1, nrow(x)), x)
+  predictedSample <- completeX %*% beta
+
+  n <- length(y)
+  p <- length(beta)
+
+  sse <- sum((predictedSample - y) ** 2)
+  ssr <- sum((predictedSample - mean(y)) ** 2)
+
+  # p is the length of beta including the intercept, therefore 
+  # the DFs are p-1, hence the 'p-1' and 'n-p-2' below. 
+  valueFisher <- (ssr / (p - 1)) / (sse / (n - p - 2))
+
+  fTest <- pf(valueFisher, p - 1, n - p - 2) 
+
+  return(list(test = "Fisher",
+       testResult = as.numeric(fTest < 1 - testLevel), 
+       pValue = fTest,
+       threshold = 1 - testLevel))
+
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/testLmResidualMean.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/testLmResidualMean.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/testLmResidualMean.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/testLmResidualMean.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,36 @@
+"testLmResidualMean" <-
+function(x, beta, y, testLevel = 0.95){
+
+  # Checking for NAs in y, beta is assumed not to contain any
+  indexNA <- which(is.na(y))
+
+  if(length(indexNA) > 0) {
+    x[indexNA, ] <- NA 
+  }
+
+  # Checking for NAs in x, beta is assumed not to contain any
+  indexNA <- which(is.na(x), arr.ind=TRUE)
+
+  if(length(indexNA) > 0) {
+
+    x[indexNA[, 1], ] <- NA 
+    y[indexNA[, 1]] <- NA
+    # Eliminating the NAs
+    x <- matrix(x[ ! is.na(x)], ncol = ncol(x))
+    y <- y[ ! is.na(y)]
+  }
+
+  # Prediction.
+  completeX <- cbind(rep(1, nrow(x)), x)
+  predictedSample <- completeX %*% beta
+
+  # Residuals.
+  residual <- y - predictedSample  
+  tTest <- t.test(residual)
+
+  return(list(test = "ResidualMean",
+       testResult = as.numeric(tTest$p.value > 1 - testLevel), 
+       pValue = tTest$p.value,
+       threshold = 1 - testLevel))
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/R/testLmRsquared.R
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/R/testLmRsquared.R?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/R/testLmRsquared.R (added)
+++ packages/openturns/trunk/debian/rotRPackage/R/testLmRsquared.R Tue Feb 16 12:39:12 2010
@@ -1,0 +1,36 @@
+"testLmRsquared" <-
+function(x, beta, y, testLevel = 0.95){
+
+  # Checking for NAs in y, beta is assumed not to contain any
+  indexNA <- which(is.na(y))
+
+  if(length(indexNA) > 0) {
+    x[indexNA, ] <- NA 
+  }
+
+  # Checking for NAs in x, beta is assumed not to contain any
+  indexNA <- which(is.na(x), arr.ind=TRUE)
+
+  if(length(indexNA) > 0) {
+
+    x[indexNA[, 1], ] <- NA 
+    y[indexNA[, 1]] <- NA
+    # Eliminating the NAs
+    x <- matrix(x[ ! is.na(x)], ncol = ncol(x))
+    y <- y[ ! is.na(y)]
+  }
+
+  # Prediction.
+  completeX <- cbind(rep(1, nrow(x)), x)
+  predictedSample <- completeX %*% beta
+
+  # Computing Rsquared.
+  Rsquared <- 1 - (sum((y - predictedSample) ^ 2)) / (sum((y - mean(y)) ^ 2))
+
+  return(list(test = "RSquared",
+       testResult = as.numeric(Rsquared > testLevel), 
+       pValue = Rsquared,
+       threshold = testLevel))
+
+}
+

Added: packages/openturns/trunk/debian/rotRPackage/README
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/README?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/README (added)
+++ packages/openturns/trunk/debian/rotRPackage/README Tue Feb 16 12:39:12 2010
@@ -1,0 +1,10 @@
+1. Put any C/C++/Fortran code in 'src'
+2. If you have compiled code, add a .First.lib() function in 'R'
+   to load the shared library
+3. Edit the help file skeletons in 'man'
+4. Run R CMD build to create the index files
+5. Run R CMD check to check the package
+6. Run R CMD build to make the package file
+
+
+Read "Writing R Extensions" for more information.

Added: packages/openturns/trunk/debian/rotRPackage/man/ad.test.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/ad.test.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/ad.test.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/ad.test.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,10 @@
+\name{ad.test}
+\alias{ad.test}
+\title{This function is internal and will never be called by the user.}
+\description{}
+\usage{}
+\arguments{}
+\value{}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{}
+\keyword{internal}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeLinearModel.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeLinearModel.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeLinearModel.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeLinearModel.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,30 @@
+\name{computeLinearModel}
+\alias{computeLinearModel}
+\title{Computes a linear model}
+\description{
+This ROT function, called from a LinearModelFactory, is given two samples 
+and a confidence level, and is used to compute a linear model. 
+It returns the parameter estimates, confidence intervals and p-values.}
+\usage{
+computeLinearModel(x, y, testLevel = 0.95)
+}
+\arguments{
+  \item{x}{A m-by-n matrix containing the explanatory variables.}
+  \item{y}{A n-by-1 vector containng the response variables.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+A list is returned, containing :
+  \item{parameterEstimate}{The estimated parameters (vector).}
+  \item{confidenceIntervalLow}{The parameters confidence interval lower bounds (vector).}
+  \item{confidenceIntervalHigh}{The parameters confidence interval lower bounds (vector).}
+  \item{pValues}{The parameters p-values.}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+x <- matrix(runif(40), 10, 4)
+r <- matrix(c(1,2,3,4), 4, 1)
+y <- x %*% r + matrix(rnorm(10, 0, 0.05), 10, 1)
+computeLinearModel(x,y)
+}
+\keyword{ multivariate }

Added: packages/openturns/trunk/debian/rotRPackage/man/computeResidualLm.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeResidualLm.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeResidualLm.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeResidualLm.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,32 @@
+\name{computeResidualLm}
+\alias{computeResidualLm}
+\title{Computes a linear model's residuals}
+\description{
+This ROT function, called from a LinearModelFactory, is given two
+samples and a parameter vector. It is used to predict the values   
+corresponding to the explanatory variables through the linear model, then  
+compare them with the second sample. It returns the difference between both 
+samples.                                                                    
+}
+\usage{
+computeResidualLm(x, beta, y)
+}
+\arguments{
+  \item{x}{A m-by-n matrix containing the explanatory variables.}
+  \item{beta}{A n-by-1 vector containing the linear model parameters.}
+  \item{y}{A n-by-1 vector containing the response variables.}
+}
+\value{
+A m-by-1 vector is returned, containing the difference between 
+predicted and response values.}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+set.seed(1)
+x <- matrix(runif(40), 10, 4)
+r <- matrix(c(1,2,3,4), 4, 1)
+y <- x \%*\% r 
+e <- matrix(rnorm(10, 0, 0.05), 10, 1)
+LM <- computeLinearModel(x, y + e)
+computeResidualLm(x, LM$parameterEstimate, y)
+}
+\keyword{ multivariate }

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestAndersonDarlingNormal.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestAndersonDarlingNormal.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestAndersonDarlingNormal.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestAndersonDarlingNormal.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,30 @@
+\name{computeTestAndersonDarlingNormal}
+\alias{computeTestAndersonDarlingNormal}
+\title{Compute the Anderson-Darling test for Normal Distribution.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+and optionnaly a test level. It then returns the result of a A-D test
+against the null hypothesis that the sample has un underlying Normal 
+distribution and returns a list containing the result and test p-value.
+}
+\usage{
+computeTestAndersonDarlingNormal(numericalSample, testLevel = 0.95)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+# Standard Normal distribution example. 
+
+print(computeTestAndersonDarlingNormal(rnorm(1000, 3, 1.5)))
+print(computeTestAndersonDarlingNormal(rexp(1000, 2.5)))
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestChiSquaredGeometric.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestChiSquaredGeometric.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestChiSquaredGeometric.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestChiSquaredGeometric.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,33 @@
+\name{computeTestChiSquaredGeometric}
+\alias{computeTestChiSquaredGeometric}
+\title{Compute the chi squared test for Geometric Distribution.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+the geometric distribution parameter, and optionnaly a test level. 
+It then returns the result of a X² test against the null hypothesis 
+that the sample has un underlying Geometric distribution and returns a
+list containing the result, statistic and test p-value.
+}
+\usage{
+computeTestChiSquaredGeometric(numericalSample,  p, testLevel = 0.95, estimatedParameters)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{p}{The p parameter (scalar)}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+  \item{estimatedParameters}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+# Standard Normal distribution example. 
+
+print(computeTestChiSquaredGeometric(rgeom(1000, 0.5), 0.5))
+print(computeTestChiSquaredGeometric(rgeom(1000, 0.5), 0.25))
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestChiSquaredPoisson.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestChiSquaredPoisson.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestChiSquaredPoisson.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestChiSquaredPoisson.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,33 @@
+\name{computeTestChiSquaredPoisson}
+\alias{computeTestChiSquaredPoisson}
+\title{Compute the chi squared test for Poisson Distribution.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+the Poisson distribution parameter, and optionnaly a test level. 
+It then returns the result of a X² test against the null hypothesis 
+that the sample has un underlying Poisson distribution and returns a
+list containing the result, statistic and test p-value.
+}
+\usage{
+computeTestChiSquaredPoisson(numericalSample, lambda, testLevel = 0.95, estimatedParameters)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{lambda}{The lambda parameter (scalar)}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+  \item{estimatedParameters}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+# Standard Normal distribution example. 
+
+print(computeTestChiSquaredPoisson(rpois(1000, 5), 5))
+print(computeTestChiSquaredPoisson(rpois(1000, 5), 4))
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestChiSquaredUserDefined.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestChiSquaredUserDefined.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestChiSquaredUserDefined.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestChiSquaredUserDefined.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,31 @@
+\name{computeTestChiSquaredUserDefined}
+\alias{computeTestChiSquaredUserDefined}
+\title{Compute the chi squared test for UserDefined Distribution.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+the UserDefined distribution parameter, and optionnaly a test level. 
+It then returns the result of a X² test against the null hypothesis 
+that the sample has un underlying UserDefined distribution and returns a
+list containing the result, statistic and test p-value.
+}
+\usage{
+computeTestChiSquaredUserDefined(numericalSample,  x_i, p_i, testLevel = 0.95, estimatedParameters)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{x_i}{The UserDefined distribution $x_i$.(list containing a vector)}
+  \item{p_i}{The UserDefined distribution $p_i$.(list containing a vector)}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+  \item{estimatedParameters}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+}
+\keyword{distribution}
+

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestCramerVonMisesNormal.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestCramerVonMisesNormal.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestCramerVonMisesNormal.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestCramerVonMisesNormal.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,30 @@
+\name{computeTestCramerVonMisesNormal}
+\alias{computeTestCramerVonMisesNormal}
+\title{Compute the Cramer - Von Mises test for Normal Distribution.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+and optionnaly a test level. It then returns the result of a CVM test
+against the null hypothesis that the sample has un underlying Normal 
+distribution and returns a list containing the result and test p-value.
+}
+\usage{
+computeTestCramerVonMisesNormal(numericalSample, testLevel = 0.95)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+# Standard Normal distribution example. 
+
+print(computeTestCramerVonMisesNormal(rnorm(1000, 3, 1.5)))
+print(computeTestCramerVonMisesNormal(rexp(1000, 2.5)))
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovBeta.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovBeta.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovBeta.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovBeta.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,36 @@
+\name{computeTestKolmogorovBeta}
+\alias{computeTestKolmogorovBeta}
+\title{Compute the Kolmogorov-Smirnoff test on a Beta Distribution sample.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+a point, the necessary distribution parameters and optionnaly a test level. It then
+returns the result of a K-S test against the null hypothesis that the sample
+has un underlying Beta distribution of the given parameters and returns
+a list containing the result and test p-value.
+}
+\usage{
+computeTestKolmogorovBeta(numericalSample, r, t, a, b, testLevel = 0.95, estimatedParameters)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{r}{The Beta distribution rParameter.}
+  \item{t}{The Beta distribution tParameter.}
+  \item{a}{The Beta distribution aParameter.}
+  \item{b}{The Beta distribution bParameter.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+  \item{estimatedParameters}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+# Standard Beta distribution example. (a=0, b=1)
+
+print(computeTestKolmogorovBeta(rbeta(1000, 2, 4), 2, 4, 0, 1))
+print(computeTestKolmogorovBeta(rbeta(1000, 2.5, 4), 2, 4, 0, 1))
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovExponential.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovExponential.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovExponential.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovExponential.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,38 @@
+\name{computeTestKolmogorovExponential}
+\alias{computeTestKolmogorovExponential}
+\title{Compute the Kolmogorov-Smirnoff test on a Exponential Distribution sample.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+a point, the necessary distribution parameters and optionnaly a test level. It then
+returns the result of a K-S test against the null hypothesis that the sample
+has un underlying Exponential distribution of the given parameters and returns
+a list containing the result and test p-value.
+}
+\usage{
+computeTestKolmogorovExponential(numericalSample, lambda, gamma, testLevel = 0.95, estimatedParameters)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{lambda}{The Exponential distribution lambda.}
+  \item{gamma}{The Exponential distribution gammaParameter.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+  \item{estimatedParameters}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{# Standard Exponential distribution example. 
+
+print(computeTestKolmogorovExponential(rexp(1000, 3), 3, 0))
+print(computeTestKolmogorovExponential(rexp(1000, 2.5), 3, 0))
+
+# Non - Standard Exponential distribution example. 
+
+print(computeTestKolmogorovExponential(rexp(1000, 3) + 1, 3, 1))
+print(computeTestKolmogorovExponential(rexp(1000, 3) + 1, 3, 0.5))
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovGamma.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovGamma.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovGamma.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovGamma.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,40 @@
+\name{computeTestKolmogorovGamma}
+\alias{computeTestKolmogorovGamma}
+\title{Compute the Kolmogorov-Smirnoff test on a Gamma Distribution sample.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+a point, the necessary distribution parameters and optionnaly a test level. It then
+returns the result of a K-S test against the null hypothesis that the sample
+has un underlying Gamma distribution of the given parameters and returns
+a list containing the result and test p-value.
+}
+\usage{
+computeTestKolmogorovGamma(numericalSample, k, lambda, gamma, testLevel = 0.95, estimatedParameters)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{k}{The Gamma distribution kParameter.}
+  \item{lambda}{The Gamma distribution lambdaParameter.}
+  \item{gamma}{The Gamma distribution gammaParameter.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+  \item{estimatedParameters}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+# Standard Gamma distribution example. 
+
+print(computeTestKolmogorovGamma(rgamma(1000, 3, 1.5), 3, 1.5, 0))
+print(computeTestKolmogorovGamma(rgamma(1000, 2.5, 1.5), 3, 1.5, 0))
+
+# Non - Standard Gamma distribution example. 
+
+print(computeTestKolmogorovGamma(rgamma(1000, 3, 1.5) + 1, 3, 1.5, 1))
+print(computeTestKolmogorovGamma(rgamma(1000, 3, 1.5) + 1, 3, 1.5, 0.5))
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovGumbel.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovGumbel.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovGumbel.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovGumbel.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,34 @@
+\name{computeTestKolmogorovGumbel}
+\alias{computeTestKolmogorovGumbel}
+\title{Compute the Kolmogorov-Smirnoff test on a Gumbel Distribution sample.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+a point, the necessary distribution parameters and optionnaly a test level. It then
+returns the result of a K-S test against the null hypothesis that the sample
+has un underlying Gumbel distribution of the given parameters and returns
+a list containing the result and test p-value.
+}
+\usage{
+computeTestKolmogorovGumbel(numericalSample, alpha, beta, testLevel = 0.95, estimatedParameters)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{alpha}{The Gumbel distribution alphaParameter.}
+  \item{beta}{The Gumbel distribution betaParameter.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+  \item{estimatedParameters}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+   \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+ \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{# Standard Gumbel distribution example. 
+
+print(computeTestKolmogorovGumbel(3.0 - log(-log(runif(1000)) / 1.5), 1.5, 3))
+print(computeTestKolmogorovGumbel(2.0 - log(-log(runif(1000)) / 1.5), 1.5, 3))
+
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovLogNormal.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovLogNormal.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovLogNormal.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovLogNormal.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,40 @@
+\name{computeTestKolmogorovLogNormal}
+\alias{computeTestKolmogorovLogNormal}
+\title{Compute the Kolmogorov-Smirnoff test on a LogNormal Distribution sample.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+a point, the necessary distribution parameters and optionnaly a test level. It then
+returns the result of a K-S test against the null hypothesis that the sample
+has un underlying LogNormal distribution of the given parameters and returns
+a list containing the result and test p-value.
+}
+\usage{
+computeTestKolmogorovLogNormal(numericalSample, muLog, sigmaLog, gamma, testLevel = 0.95, estimatedParameters)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{muLog}{The LogNormal distribution mu.}
+  \item{sigmaLog}{The LogNormal distribution sigma.}
+  \item{gamma}{The LogNormal distribution gammaParameter.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+  \item{estimatedParameters}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+# Standard LogNormal distribution example. 
+
+print(computeTestKolmogorovLogNormal(exp(rnorm(1000, 3, 1.5)), 3, 1.5, 0))
+print(computeTestKolmogorovLogNormal(exp(rnorm(1000, 2.5, 1.5)), 3, 1.5, 0))
+
+# Non - Standard LogNormal distribution example. 
+
+print(computeTestKolmogorovLogNormal(exp(rnorm(1000, 3, 1.5)) + 1, 3, 1.5, 1))
+print(computeTestKolmogorovLogNormal(exp(rnorm(1000, 3, 1)) + 1, 3, 1.5, 1))
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovLogistic.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovLogistic.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovLogistic.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovLogistic.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,36 @@
+\name{computeTestKolmogorovLogistic}
+\alias{computeTestKolmogorovLogistic}
+\title{Compute the Kolmogorov-Smirnoff test on a Logistic Distribution sample.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+a point, the necessary distribution parameters and optionnaly a test level. It then
+returns the result of a K-S test against the null hypothesis that the sample
+has un underlying Logistic distribution of the given parameters and returns
+a list containing the result and test p-value.
+}
+\usage{
+computeTestKolmogorovLogistic(numericalSample, alpha, beta, testLevel = 0.95, estimatedParameters)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{alpha}{The Logistic distribution alphaParameter.}
+  \item{beta}{The Logistic distribution betaParameter.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+  \item{estimatedParameters}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+# Standard Logistic distribution example. 
+
+print(computeTestKolmogorovLogistic(3.0 + 1.5 * log(1.0 / (1.0 -
+runif(1000)) - 1.0), 3, 1.5))
+print(computeTestKolmogorovLogistic(2.5 + 1.5 * log(1.0 / (1.0 -
+runif(1000)) - 1.0), 3, 1.5))
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovNormal.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovNormal.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovNormal.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovNormal.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,35 @@
+\name{computeTestKolmogorovNormal}
+\alias{computeTestKolmogorovNormal}
+\title{Compute the Kolmogorov-Smirnoff test on a Normal Distribution sample.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+a point, the necessary distribution parameters and optionnaly a test level. It then
+returns the result of a K-S test against the null hypothesis that the sample
+has un underlying Normal distribution of the given parameters and returns
+a list containing the result and test p-value.
+}
+\usage{
+computeTestKolmogorovNormal(numericalSample, mu, sigma, testLevel =
+0.95, estimatedParameters)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{mu}{The Normal distribution mu.}
+  \item{sigma}{The Normal distribution sigma.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+  \item{estimatedParameters}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+# Standard Normal distribution example. 
+
+print(computeTestKolmogorovNormal(rnorm(1000, 3, 1.5), 3, 1.5))
+print(computeTestKolmogorovNormal(rnorm(1000, 2.5, 1.5), 3, 1.5))
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovStudent.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovStudent.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovStudent.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovStudent.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,33 @@
+\name{computeTestKolmogorovStudent}
+\alias{computeTestKolmogorovStudent}
+\title{Compute the Kolmogorov-Smirnoff test on a Student Distribution sample.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+a point, the necessary distribution parameters and optionnaly a test level. It then
+returns the result of a K-S test against the null hypothesis that the sample
+has un underlying Student distribution of the given parameters and returns
+a list containing the result and test p-value.
+}
+\usage{
+computeTestKolmogorovStudent(numericalSample, nu, mu, testLevel = 0.95, estimatedParameters)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{nu}{The Student distribution nu.}
+  \item{mu}{The Student distribution mu.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+  \item{estimatedParameters}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{# Standard Student distribution example. 
+
+print(computeTestKolmogorovStudent(rt(1000, 10), 10, 0))
+print(computeTestKolmogorovStudent(rt(1000, 2), 10, 0))
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovTriangular.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovTriangular.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovTriangular.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovTriangular.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,41 @@
+\name{computeTestKolmogorovTriangular}
+\alias{computeTestKolmogorovTriangular}
+\title{Compute the Kolmogorov-Smirnoff test on a Triangular Distribution sample.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+a point, the necessary distribution parameters and optionnaly a test level. It then
+returns the result of a K-S test against the null hypothesis that the sample
+has un underlying Triangular distribution of the given parameters and returns
+a list containing the result and test p-value.
+}
+\usage{
+computeTestKolmogorovTriangular(numericalSample, a, m,
+b, testLevel = 0.95, estimatedParameters)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{a}{The Triangular distribution aParameter.}
+  \item{m}{The Triangular distribution bParameter.}
+  \item{b}{The Triangular distribution mParameter.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+  \item{estimatedParameters}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+# Standard Triangular distribution example.
+a <- -1.0
+m <- 2.0
+b <- 6.0
+point <- runif(1000)
+sample <- ifelse(point < (m - a) / (b - a), a + sqrt(point * (b - a) *
+(m - a)), b - sqrt((1.0 - point) * (b - a) * (b - m))) 
+print(computeTestKolmogorovTriangular(sample, -1, 2, 6))
+print(computeTestKolmogorovTriangular(sample, -1, 1.5, 6))
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovTruncatedNormal.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovTruncatedNormal.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovTruncatedNormal.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovTruncatedNormal.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,38 @@
+\name{computeTestKolmogorovTruncatedNormal}
+\alias{computeTestKolmogorovTruncatedNormal}
+\title{Compute the Kolmogorov-Smirnoff test on a TruncatedNormal Distribution sample.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+a point, the necessary distribution parameters and optionnaly a test level. It then
+returns the result of a K-S test against the null hypothesis that the sample
+has un underlying TruncatedNormal distribution of the given parameters and returns
+a list containing the result and test p-value.
+}
+\usage{
+computeTestKolmogorovTruncatedNormal(numericalSample, mu, sigma, a, b,
+testLevel = 0.95, estimatedParameters)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{mu}{The TruncatedNormal distribution mu.}
+  \item{sigma}{The TruncatedNormal distribution sigma.}
+  \item{a}{The TruncatedNormal distribution aParameter.}
+  \item{b}{The TruncatedNormal distribution bParameter.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+  \item{estimatedParameters}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+# Standard TruncatedNormal distribution example. (a=0, b=1)
+sample <- rnorm(1000, 2, 4)
+sample <- sample[sample > -4 && sample < 6]
+print(computeTestKolmogorovTruncatedNormal(sample, 2, 4, -4, 6))
+print(computeTestKolmogorovTruncatedNormal(sample, 1.5, 4, -4, 6))
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovUniform.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovUniform.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovUniform.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovUniform.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,34 @@
+\name{computeTestKolmogorovUniform}
+\alias{computeTestKolmogorovUniform}
+\title{Compute the Kolmogorov-Smirnoff test on a Uniform Distribution sample.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+a point, the necessary distribution parameters and optionnaly a test level. It then
+returns the result of a K-S test against the null hypothesis that the sample
+has un underlying Uniform distribution of the given parameters and returns
+a list containing the result and test p-value.
+}
+\usage{
+computeTestKolmogorovUniform(numericalSample, a, b,
+testLevel = 0.95, estimatedParameters)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{a}{The Uniform distribution aParameter.}
+  \item{b}{The Uniform distribution bParameter.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+  \item{estimatedParameters}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{# Standard Uniform distribution example. 
+
+print(computeTestKolmogorovUniform(runif(1000) * 4 + 2, 2, 6))
+print(computeTestKolmogorovUniform(runif(1000) * 3 + 2, 2, 6))
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovWeibull.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovWeibull.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovWeibull.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestKolmogorovWeibull.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,41 @@
+\name{computeTestKolmogorovWeibull}
+\alias{computeTestKolmogorovWeibull}
+\title{Compute the Kolmogorov-Smirnoff test on a Weibull Distribution sample.}
+\description{
+This ROT function, called from a Test C++ object, is given a sample,
+a point, the necessary distribution parameters and optionnaly a test level. It then
+returns the result of a K-S test against the null hypothesis that the sample
+has un underlying Weibull distribution of the given parameters and returns
+a list containing the result and test p-value.
+}
+\usage{
+computeTestKolmogorovWeibull(numericalSample, alpha, beta, gamma,
+testLevel = 0.95, estimatedParameters)
+}
+\arguments{
+  \item{numericalSample}{the sample to be tested (numeric vector)}
+  \item{alpha}{The Weibull distribution alphaParameter.}
+  \item{beta}{The Weibull distribution betaParameter.}
+  \item{gamma}{The Weibull distribution gammaParameter.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+  \item{estimatedParameters}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+# Standard Weibull distribution example. 
+sample <- 3.0 * (-log(runif(1000)))^(1 / 5)
+print(computeTestKolmogorovWeibull(sample, 3, 5, 0))
+print(computeTestKolmogorovWeibull(sample, 2.5, 5, 0))
+
+# Non - Standard Weibull distribution example. 
+
+print(computeTestKolmogorovWeibull(sample + 1, 3, 5, 1))
+print(computeTestKolmogorovWeibull(sample + 1, 3, 5, 0.5))
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestPartialPearson.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestPartialPearson.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestPartialPearson.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestPartialPearson.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,34 @@
+\name{computeTestPartialPearson}
+\alias{computeTestPartialPearson}
+\title{Compute the Partial Pearson Test on 2 data sets.}
+\description{
+This ROT function, called from a Test C++ object, is given 2 samples,
+a vector specifying which variables are to be tested, and optionnaly 
+a test level. It then returns the result of a PP test against the 
+null hypothesis that the in/out variables are not correlated, and 
+the test p-values.
+}
+\usage{
+computeTestPartialPearson(inData, outData, selection, testLevel = 0.95)
+}
+\arguments{
+  \item{inData}{The 'in' sample. (m-by-n matrix)}
+  \item{outData}{The 'out' sample (n vector).}
+  \item{selection}{The list of partial tests (vector containing the 
+                   indexes of the variables to be tested.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pvalues}{The test pvalues. (vector)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+outData=runif(4)
+inData=matrix(runif(40), 4, 10)
+selection=c(1,2,3,6,9)
+computeTestPartialPearson(inData,outData,selection)
+}
+\keyword{multivariate}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestPartialRegression.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestPartialRegression.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestPartialRegression.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestPartialRegression.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,32 @@
+\name{computeTestPartialRegression}
+\alias{computeTestPartialRegression}
+\title{Compute the Partial Regression Test on 2 data sets.}
+\description{
+This ROT function, called from a Test C++ object, is given 2 samples, a selection
+and optionnaly a test level. It then computes the result of a regression
+test against the null hypothesis that the selected linear regression coefficients
+are significant. It returns the test result for each selected X variable, the
+statistics and the p-values. 
+}
+\usage{
+computeTestPartialRegression(outSample, inSample, selection, testLevel = 0.95)
+}
+\arguments{
+  \item{outSample}{The 'out' sample. (n vector)}
+  \item{inSample}{The 'in' sample (m-by-n matrix).}
+  \item{selection}{The partial variable selection (vector of column indexes)}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (vector)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValues}{The test pValues. (vector)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+outSample=iris[1:50,1]
+inSample=as.matrix(iris[1:50,2:4])
+computeTestPartialRegression(outSample, inSample, c(1,2))
+}
+\keyword{multivariate}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestPartialSpearman.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestPartialSpearman.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestPartialSpearman.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestPartialSpearman.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,34 @@
+\name{computeTestPartialSpearman}
+\alias{computeTestPartialSpearman}
+\title{Compute the Partial Spearman Test on 2 data sets.}
+\description{
+This ROT function, called from a Test C++ object, is given 2 samples,
+a vector specifying which variables are to be tested, and optionnaly 
+a test level. It then returns the result of a PS test against the 
+null hypothesis that the in/out variables are not correlated, and 
+the test p-values.
+}
+\usage{
+computeTestPartialSpearman(inData, outData, selection, testLevel = 0.95)
+}
+\arguments{
+  \item{inData}{The 'in' sample. (m-by-n matrix)}
+  \item{outData}{The 'out' sample (n vector).}
+  \item{selection}{The list of partial tests (vector containing the 
+                   indexes of the variables to be tested.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pvalues}{The test pvalues. (vector)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+outData=runif(4)
+inData=matrix(runif(40), 4, 10)
+selection=c(1,2,3,6,9)
+computeTestPartialSpearman(inData,outData,selection)
+}
+\keyword{multivariate}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestPearson.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestPearson.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestPearson.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestPearson.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,30 @@
+\name{computeTestPearson}
+\alias{computeTestPearson}
+\title{Compute the Pearson Test on 2 data sets.}
+\description{
+This ROT function, called from a Test C++ object, is given 2 samples,
+and optionnaly a test level. It then returns the result of a P test against the 
+null hypothesis that the in/out variables are not correlated, and 
+the test p-values.
+}
+\usage{
+computeTestPearson(inData, outData, testLevel = 0.95)
+}
+\arguments{
+  \item{inData}{The 'in' sample. (m-by-n matrix)}
+  \item{outData}{The 'out' sample (n vector).}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pvalues}{The test pvalues. (vector)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+outData=runif(4)
+inData=matrix(runif(40), 4, 10)
+computeTestPearson(inData,outData)
+}
+\keyword{multivariate}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestRegression.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestRegression.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestRegression.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestRegression.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,31 @@
+\name{computeTestRegression}
+\alias{computeTestRegression}
+\title{Compute the Regression Test on 2 data sets.}
+\description{
+This ROT function, called from a Test C++ object, is given 2 samples,
+and optionnaly a test level. It then computes the result of a regression
+test against the null hypothesis that the linear regression coefficients
+are significant. It returns the test result for each X variable, the
+statistics and the p-values. 
+}
+\usage{
+computeTestRegression(outSample, inSample, testLevel = 0.95)
+}
+\arguments{
+  \item{outSample}{The 'out' sample (n vector).}
+  \item{inSample}{The 'in' sample. (m-by-n matrix)}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pvalues}{The test pvalues. (vector)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+outSample=iris[1:50,1]
+inSample=as.matrix(iris[1:50,2:4])
+computeTestRegression(outSample, inSample)
+}
+\keyword{multivariate}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestSpearman.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestSpearman.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestSpearman.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestSpearman.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,30 @@
+\name{computeTestSpearman}
+\alias{computeTestSpearman}
+\title{Compute the Spearman Test on 2 data sets.}
+\description{
+This ROT function, called from a Test C++ object, is given 2 samples,
+and optionnaly a test level. It then returns the result of a S test against the 
+null hypothesis that the in/out variables are not correlated, and 
+the test p-values.
+}
+\usage{
+computeTestSpearman(inData, outData, testLevel = 0.95)
+}
+\arguments{
+  \item{inData}{The 'in' sample. (m-by-n matrix)}
+  \item{outData}{The 'out' sample (n vector).}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pvalues}{The test pvalues. (vector)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+outData=runif(4)
+inData=matrix(runif(40), 4, 10)
+computeTestSpearman(inData,outData)
+}
+\keyword{multivariate}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSampleChiSquared.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSampleChiSquared.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSampleChiSquared.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSampleChiSquared.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,30 @@
+\name{computeTestTwoSampleChiSquared}
+\alias{computeTestTwoSampleChiSquared}
+\title{Compute the 2-sample chi squared test.}
+\description{
+This ROT function, called from a Test C++ object, is given two samples,
+and optionnaly a test level. 
+It then computes the result of a X² test against the null hypothesis 
+that the samples have the same underlying distribution and returns a
+list containing the result, statistic and test p-value.
+}
+\usage{
+computeTestTwoSampleChiSquared(numericalSample1,  numericalSample2, testLevel = 0.95)
+}
+\arguments{
+  \item{numericalSample1}{The first sample to be tested (discrete numeric vector)}
+  \item{numericalSample2}{The second sample to be tested (discrete numeric vector)}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+?chisq.test
+}
+\keyword{multivariate}
+

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSamplePearson.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSamplePearson.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSamplePearson.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSamplePearson.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,31 @@
+\name{computeTestTwoSamplePearson}
+\alias{computeTestTwoSamplePearson}
+\title{Compute the 2-sample Pearson test.}
+\description{
+This ROT function, called from a Test C++ object, is given two samples,
+and optionnaly a test level. 
+It then computes the result of a Pearson test against the null hypothesis 
+that the samples have the same association and returns a
+list containing the result, statistic and test p-value.
+}
+\usage{
+computeTestTwoSamplePearson(numericalSample1,  numericalSample2, testLevel = 0.95)
+}
+\arguments{
+  \item{numericalSample1}{The first sample to be tested (numeric vector)}
+  \item{numericalSample2}{The second sample to be tested (numeric vector)}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+?cor.test
+}
+\keyword{multivariate}
+
+

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSampleSmirnov.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSampleSmirnov.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSampleSmirnov.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSampleSmirnov.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,29 @@
+\name{computeTestTwoSampleSmirnov}
+\alias{computeTestTwoSampleSmirnov}
+\title{Compute the 2-sample Smirnov test.}
+\description{
+This ROT function, called from a Test C++ object, is given two samples,
+and optionnaly a test level. 
+It then computes the result of a Smirnov test against the null hypothesis 
+that the samples have the same underlying distribution and returns a
+list containing the result, statistic and test p-value.
+}
+\usage{
+computeTestTwoSampleSmirnov(numericalSample1,  numericalSample2, testLevel = 0.95)
+}
+\arguments{
+  \item{numericalSample1}{The first sample to be tested (numeric vector)}
+  \item{numericalSample2}{The second sample to be tested (numeric vector)}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+?ks.test
+}
+\keyword{multivariate}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSampleSpearman.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSampleSpearman.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSampleSpearman.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTestTwoSampleSpearman.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,29 @@
+\name{computeTestTwoSampleSpearman}
+\alias{computeTestTwoSampleSpearman}
+\title{Compute the 2-sample Spearman test.}
+\description{
+This ROT function, called from a Test C++ object, is given two samples,
+and optionnaly a test level. 
+It then computes the result of a Spearman test against the null hypothesis 
+that the samples have the same association and returns a
+list containing the result, statistic and test p-value.
+}
+\usage{
+computeTestTwoSampleSpearman(numericalSample1,  numericalSample2, testLevel = 0.95)
+}
+\arguments{
+  \item{numericalSample1}{The first sample to be tested (numeric vector)}
+  \item{numericalSample2}{The second sample to be tested (numeric vector)}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+ A list is returned, containing :
+  \item{testResult}{The result. 1 means H0 is not rejected. (scalar)}
+  \item{threshold}{The threshold applied to the p-value when deciding the outcome of the test.}
+  \item{pValue}{The test p-value. (scalar)}
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+?cor.test
+}
+\keyword{multivariate}

Added: packages/openturns/trunk/debian/rotRPackage/man/computeTruncatedNormalPdf.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/computeTruncatedNormalPdf.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/computeTruncatedNormalPdf.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/computeTruncatedNormalPdf.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,30 @@
+\name{computeTruncatedNormalPdf}
+\alias{computeTruncatedNormalPdf}
+\title{Compute the Pdf of a TruncatedNormal Distribution}
+\description{
+This ROT function, called from a Distribution C++ object,
+is given a point and the necessary distribution parameters.
+It then computes the Pdf at the point.
+}
+\usage{
+computeTruncatedNormalPdf(point, mu, sigma, a, b)
+}
+\arguments{
+\item{point}{Point(s) where the Pdf is computed. (vector)}
+  \item{mu}{The TruncatedNormal distribution mu.}
+  \item{sigma}{The TruncatedNormal distribution sigma.}
+  \item{a}{The TruncatedNormal distribution aParameter.}
+  \item{b}{The TruncatedNormal distribution bParameter.}
+}
+\details{
+The truncated normal distribution has the following density function:
+$$f(x, mu, sigma, a, b) = 1[a, b](x) * (1 / sigma) * phi((x - mu) / sigma) / (phi((b - mu) / sigma) - phi((a - mu) / sigma))$$
+}
+\value{
+  The TruncatedNormal Pdf value (vector)}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{# Standard TruncatedNormal distribution example. 
+
+point <- runif(1000) * 14 - 6
+plot(point, computeTruncatedNormalPdf(point, 1, 2, - 2, 6))}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/cvm.test.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/cvm.test.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/cvm.test.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/cvm.test.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,49 @@
+\name{cvm.test}
+\alias{cvm.test}
+\title{Cramer-von Mises test for normality. Taken from the "nortest" package by Juergen Gross, available on CRAN}
+\description{
+  Performs the Cramer-von Mises test for the composite hypothesis of normality, 
+  see e.g. Thode (2002, Sec. 5.1.3).
+}
+
+\usage{
+cvm.test(x)
+}
+\arguments{
+  \item{x}{a numeric vector of data values, the number of 
+  which must be greater than 7. Missing values are allowed.}
+}
+\details{The Cramer-von Mises test is an EDF omnibus test for the composite hypothesis of normality. 
+The test statistic is 
+\deqn{
+W = \frac{1}{12 n} + \sum_{i=1}^{n} (p_{(i)} - \frac{2i-1}{2n}),
+}
+where \eqn{p_{(i)} = \Phi([x_{(i)} - \overline{x}]/s)}. Here, 
+\eqn{\Phi} is the cumulative distribution function 
+of the standard normal distribution, and \eqn{\overline{x}} and \eqn{s} 
+are mean and standard deviation of the data values. 
+The p-value is computed from the modified statistic 
+\eqn{Z=W (1.0 + 0.5/n)} according to Table 4.9 in 
+Stephens (1986). 
+}
+\value{
+  A list with class "htest" containing the following components: 
+  \item{statistic}{the value of the Cramer-von Mises statistic.}
+  \item{p.value }{the p-value for the test.}
+  \item{method}{the character string "Cramer-von Mises normality test".}
+  \item{data.name}{a character string giving the name(s) of the data.} 
+}
+\references{Stephens, M.A. (1986): Tests based on EDF statistics. In:
+D'Agostino, R.B. and Stephens, M.A., eds.: Goodness-of-Fit Techniques.
+Marcel Dekker, New York.
+
+Thode Jr., H.C. (2002): Testing for  Normality. Marcel Dekker, New York.
+}
+\author{Juergen Gross}
+
+\examples{
+cvm.test(rnorm(100, 5, 3))
+cvm.test(rnorm(100, 2, 4))
+
+}
+\keyword{htest}

Added: packages/openturns/trunk/debian/rotRPackage/man/dtnorm.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/dtnorm.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/dtnorm.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/dtnorm.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,10 @@
+\name{dtnorm}
+\alias{dtnorm}
+\title{Internal function, not intended to be called directly.}
+\description{dtnorm computes the PDF of the truncated normal distribution. Taken from the "msm" package by C. H. Jackson, available on CRAN}
+\usage{}
+\arguments{}
+\value{}
+\author{Pierre-Matthieu Pair, Régis Lebrun.}
+\examples{}
+\keyword{internal}

Added: packages/openturns/trunk/debian/rotRPackage/man/estimateTruncatedNormalParameters.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/estimateTruncatedNormalParameters.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/estimateTruncatedNormalParameters.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/estimateTruncatedNormalParameters.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,35 @@
+\name{estimateTruncatedNormalParameters}
+\alias{estimateTruncatedNormalParameters}
+\title{Estimates the underlying truncated normal distribution parameters from a sample.}
+\description{
+This ROT function, called from a TruncatedNormalFactory C++ object, is given a sample
+and returns the estimated parameters of the underlying TruncatedNormal distribution,   
+as well as the corresponding confidence intervals of required level.                          
+}
+\usage{
+estimateTruncatedNormalParameters(numericalSample, testLevel = 0.975)
+}
+\arguments{
+  \item{numericalSample}{A vector containing the sample.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+A list is returned, containing :
+  \item{distribution}{The distribution name.}
+  \item{mu}{The estimated mu parameter.}
+  \item{sigma}{The sigma parameter.}
+  \item{a}{The aParameter parameter.}
+  \item{b}{The bParameter parameter.}
+  \item{confidenceIntervalmu}{CI for the mu parameter (vector).}
+  \item{confidenceIntervalsigma}{CI for the sigma parameter (vector).}
+  \item{logLikelihood}{The model loglikelihood.}
+}
+\author{Pierre-Matthieu Pair, Régis Lebrun.}
+\examples{
+# Standard TruncatedNormal distribution example.
+numericalSample <- rnorm(1000, 3, 1.5)
+numericalSample <- numericalSample[numericalSample > 0.0 &&
+numericalSample < 5.0]
+print(estimateTruncatedNormalParameters(numericalSample))
+}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/fitdistr.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/fitdistr.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/fitdistr.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/fitdistr.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,11 @@
+\name{fitdistr}
+\alias{fitdistr}
+\title{Internal function, not intended to be called directly.}
+\description{This function computes the maximum likelyhood estimator of
+  the given distribution parameters. Taken from the MASS package.}
+\usage{}
+\arguments{}
+\value{}
+\author{Pierre-Matthieu Pair, Régis Lebrun.}
+\examples{}
+\keyword{internal}

Added: packages/openturns/trunk/debian/rotRPackage/man/pgumbel.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/pgumbel.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/pgumbel.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/pgumbel.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,10 @@
+\name{pgumbel}
+\alias{pgumbel}
+\title{Internal function, not intended to be called directly.}
+\description{pgumbel computes the CDF of the gumbel distribution. Taken from the "evd" package by Alec Stephenson, available on CRAN.}
+\usage{}
+\arguments{}
+\value{}
+\author{Pierre-Matthieu Pair, Régis Lebrun.}
+\examples{}
+\keyword{internal}

Added: packages/openturns/trunk/debian/rotRPackage/man/predictValuesLm.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/predictValuesLm.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/predictValuesLm.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/predictValuesLm.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,33 @@
+\name{predictValuesLm}
+\alias{predictValuesLm}
+\title{Predicts values through a linear model}
+\description{
+This ROT function, called from a LinearModel C++ object, and given a       
+sample, is used to predict the corresponding values through the linear     
+model. It returns the predicted sample.                                    
+}
+\usage{
+predictValuesLm(x, beta)
+}
+\arguments{
+  \item{x}{A m-by-n matrix containing the explanatory variables.}
+  \item{beta}{A n-by-1 vector containng the linear model parameters.}
+}
+\value{
+A m-by-1 vector is returned, containing the predicted values.}
+\details{
+As it is not asked in LinearModel.getPredict(), no prediction interval 
+is returned; it is up to the user to be careful about that. It is also to  
+noted that the sample is not assumed to contain the '1's corresponding to  
+the intercept parameter.
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+set.seed(1)
+x <- matrix(runif(40), 10, 4)
+r <- matrix(c(1,2,3,4), 4, 1)
+y <- x \%*\% r + matrix(rnorm(10, 0, 0.05), 10, 1)
+LM <- computeLinearModel(x, y)
+predictValuesLm(x, LM$parameterEstimate) 
+}
+\keyword{multivariate}

Added: packages/openturns/trunk/debian/rotRPackage/man/ptnorm.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/ptnorm.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/ptnorm.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/ptnorm.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,11 @@
+\name{ptnorm}
+\alias{ptnorm}
+\title{Internal function, not intended to be called directly.}
+\description{ptnorm computes the CDF of the truncated normal
+  distribution. Taken from the "msm" package by C. H. Jackson, available on CRAN.}
+\usage{}
+\arguments{}
+\value{}
+\author{Pierre-Matthieu Pair, Régis Lebrun.}
+\examples{}
+\keyword{internal}

Added: packages/openturns/trunk/debian/rotRPackage/man/ptriangle.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/ptriangle.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/ptriangle.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/ptriangle.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,32 @@
+\name{ptriangle}
+\alias{ptriangle}
+\title{Cumulative Distribution Function of a triangular distribution}
+\description{
+This function computes the CDF of the triangular distribution over the
+given input vector.
+}
+\usage{
+ptriangle(x, a=0, m=0.5, b=1)
+}
+\arguments{
+  \item{x}{Point(s) where the CDF is computed, vector}
+  \item{a}{The lower bound of the Triangular distribution, real.}
+  \item{m}{The most likely value of the Triangular distribution, real, a
+    <= m <= b.}
+  \item{b}{The upper bound of the Triangular distribution, real, b > a}
+}
+\details{
+The triangular distribution has the following density function:
+$$
+f(x, a, m, b) = 2 (x - a) / ((m - a)(b - a)) if a <= x <= m 
+f(x, a, m, b) = 2 (b - x) / ((b - m)(b - a)) if m <  x <= b 
+$$
+}
+\value{
+  The CDF value(s), vector}
+\author{Pierre-Matthieu Pair, Régis Lebrun.}
+\examples{# Standard Triangular distribution example. 
+
+x <- (1000) * 8 
+plot(x, ptriangle(x, 1, 3, 7))}
+\keyword{distribution}

Added: packages/openturns/trunk/debian/rotRPackage/man/testLmAdjustedRSquare.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/testLmAdjustedRSquare.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/testLmAdjustedRSquare.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/testLmAdjustedRSquare.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,39 @@
+\name{testLmAdjustedRSquare}
+\alias{testLmAdjustedRSquare}
+\title{Adjusted $R^2$ test for a linear model.}
+\description{
+This ROT function, called from a Test C++ object, is given two samples, a  
+scalar, a parameter vector and the required test level. It predicts the 
+values corresponding to the explanatory variables through the linear model, 
+then computes the Adjusted $R^2$. It is tested against the scalar, then the 
+function returns the result of the test and the Adjusted $R^2$ value.                                                                                                               
+}
+\usage{
+testLmAdjustedRSquare(x, beta, y, testLevel = 0.95)
+}
+\arguments{
+  \item{x}{A m-by-n matrix containing the explanatory variables.}
+  \item{beta}{A n-by-1 vector containng the linear model parameters.}
+  \item{y}{A n-by-1 vector containng the response variables.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+  A list is returned, containing two scalars ,                  
+  \item{testResult}{A scalar simulating a boolean (easier for Rserve)}
+  \item{valueAdjustedRSquare}{A scalar.}
+}
+\details{
+As it is not asked in LinearModel.getPredict(), no prediction interval 
+is returned; it is up to the user to be careful about that. It is also to  
+noted that the sample is not assumed to contain the '1's corresponding to  
+the intercept parameter. }
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+set.seed(1)
+x <- matrix(runif(40), 10, 4)
+r <- matrix(c(1,2,3,4), 4, 1)
+y <- x \%*\% r + matrix(rnorm(10, 0, 0.05), 10, 1)
+LM <- computeLinearModel(x, y)
+testLmAdjustedRSquare(x, LM$parameterEstimate, y) 
+}
+\keyword{multivariate}

Added: packages/openturns/trunk/debian/rotRPackage/man/testLmFisher.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/testLmFisher.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/testLmFisher.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/testLmFisher.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,40 @@
+\name{testLmFisher}
+\alias{testLmFisher}
+\title{Fisher test for a linear model.}
+\description{
+This ROT function, called from a Test C++ object, is given two samples, a  
+scalar and a parameter vector. It predicts the values corresponding to the  
+explanatory variables through the linear model, then computes the Fisher    
+statistic. It is tested against the scalar, then the function returns the   
+result of the test and the Fisher value.                                                                                                                                            
+}
+\usage{
+testLmFisher(x, beta, y, testLevel = 0.95)
+}
+\arguments{
+  \item{x}{A m-by-n matrix containing the explanatory variables.}
+  \item{beta}{A n-by-1 vector containng the linear model parameters.}
+  \item{y}{A n-by-1 vector containng the response variables.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+  A list is returned, containing two scalars ,                  
+  \item{testResult}{A scalar simulating a boolean (easier for Rserve)}
+  \item{valueFisher}{A scalar.}
+}
+\details{
+As it is not asked in LinearModel.getPredict(), no prediction interval 
+is returned; it is up to the user to be careful about that. It is also to  
+noted that the sample is not assumed to contain the '1's corresponding to  
+the intercept parameter.
+}
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+set.seed(1)
+x <- matrix(runif(40), 10, 4)
+r <- matrix(c(1,2,3,4), 4, 1)
+y <- x \%*\% r + matrix(rnorm(10, 0, 0.05), 10, 1)
+LM <- computeLinearModel(x, y)
+testLmFisher(x, LM$parameterEstimate, y) 
+}
+\keyword{multivariate}

Added: packages/openturns/trunk/debian/rotRPackage/man/testLmResidualMean.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/testLmResidualMean.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/testLmResidualMean.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/testLmResidualMean.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,39 @@
+\name{testLmResidualMean}
+\alias{testLmResidualMean}
+\title{Residual Mean test for a linear model.}
+\description{
+This ROT function, called from a Test C++ object, is given two samples, a 
+scalar and a parameter vector. It predicts the values corresponding to the 
+explanatory variables through the linear model, then computes the residuals.
+A T-test is applied against the scalar, then the function returns the       
+result of the test and the t value.                                                                                                                                                  
+}
+\usage{
+testLmResidualMean(x, beta, y, testLevel = 0.95)
+}
+\arguments{
+  \item{x}{A m-by-n matrix containing the explanatory variables.}
+  \item{beta}{A n-by-1 vector containng the linear model parameters.}
+  \item{y}{A n-by-1 vector containng the response variables.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+  A list is returned, containing two scalars ,                  
+  \item{testResult}{A scalar simulating a boolean (easier for Rserve)}
+  \item{valueT}{A scalar.}
+}
+\details{
+As it is not asked in LinearModel.getPredict(), no prediction interval 
+is returned; it is up to the user to be careful about that. It is also to  
+noted that the sample is not assumed to contain the '1's corresponding to  
+the intercept parameter. }
+\author{Pierre-Matthieu Pair, Softia for EDF.}
+\examples{
+set.seed(1)
+x <- matrix(runif(40), 10, 4)
+r <- matrix(c(1,2,3,4), 4, 1)
+y <- x \%*\% r + matrix(rnorm(10, 0, 0.05), 10, 1)
+LM <- computeLinearModel(x, y)
+testLmResidualMean(x, LM$parameterEstimate, y) 
+}
+\keyword{multivariate}

Added: packages/openturns/trunk/debian/rotRPackage/man/testLmRsquared.Rd
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rotRPackage/man/testLmRsquared.Rd?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rotRPackage/man/testLmRsquared.Rd (added)
+++ packages/openturns/trunk/debian/rotRPackage/man/testLmRsquared.Rd Tue Feb 16 12:39:12 2010
@@ -1,0 +1,39 @@
+\name{testLmRsquared}
+\alias{testLmRsquared}
+\title{$R^2$ test for a linear model.}
+\description{
+This ROT function, called from a Test C++ object, is given two samples, a  
+scalar and a parameter vector. It predicts the values corresponding to the  
+explanatory variables through the linear model, then computes the $R^2$.       
+It is tested against the scalar, then the function returns the result of    
+the test and the $R^2$ value.                                                                                                                                                           
+}
+\usage{
+testLmRsquared(x, beta, y, testLevel = 0.95)
+}
+\arguments{
+  \item{x}{A m-by-n matrix containing the explanatory variables.}
+  \item{beta}{A n-by-1 vector containng the linear model parameters.}
+  \item{y}{A n-by-1 vector containng the response variables.}
+  \item{testLevel}{the test level. (scalar in [0:1])}
+}
+\value{
+  A list is returned, containing two scalars ,                  
+  \item{testResult}{A scalar simulating a boolean (easier for Rserve)}
+  \item{valueRSquared}{A scalar.}
+}
+\details{
+As it is not asked in LinearModel.getPredict(), no prediction interval 
+is returned; it is up to the user to be careful about that. It is also to  
+noted that the sample is not assumed to contain the '1's corresponding to  
+the intercept parameter. }
+\author{Pierre-Matthieu Pair, Régis Lebrun.}
+\examples{
+set.seed(1)
+x <- matrix(runif(40), 10, 4)
+r <- matrix(c(1,2,3,4), 4, 1)
+y <- x \%*\% r + matrix(rnorm(10, 0, 0.05), 10, 1)
+LM <- computeLinearModel(x, y)
+testLmRsquared(x, LM$parameterEstimate, y)
+}
+\keyword{multivariate}

Added: packages/openturns/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/rules?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/rules (added)
+++ packages/openturns/trunk/debian/rules Tue Feb 16 12:39:12 2010
@@ -1,0 +1,61 @@
+#!/usr/bin/make -f
+
+#DEB_PYTHON_SYSTEM=pycentral
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+#include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+DEB_AUTO_CLEANUP_RCS     := yes
+DEB_MAKE_CLEAN_TARGET    := clean
+DEB_COMPRESS_EXCLUDE     := .pdf .svn
+PYVER     = $(shell pyversions -dv)
+
+DEB_CONFIGURE_EXTRA_FLAGS := --enable-lib --enable-python --enable-doc  --disable-debug \
+  --host=$(DEB_HOST_GNU_TYPE)      \
+  --build=$(DEB_BUILD_GNU_TYPE)    \
+  --prefix=/usr                    \
+  --mandir=\$${prefix}/share/man   \
+  --infodir=\$${prefix}/share/info \
+
+
+#export CXX=g++-4.2
+#export CC=gcc-4.2
+#export CFLAGS= -O3 -I/usr/include/opencascade
+#export CXXFLAGS= -O3 -I/usr/include/opencascade
+export CFLAGS= -g -O2
+export CXXFLAGS= -g -O2
+
+export CPPFLAGS= -DOT_DEBUG_LEVEL=3
+ifeq ($(shell dpkg --print-architecture),hppa)
+CPPFLAGS += -DBOOST_SP_USE_PTHREADS
+endif
+ifeq ($(shell dpkg --print-architecture),arm)
+CPPFLAGS += -DBOOST_SP_USE_PTHREADS
+endif
+ifeq ($(shell dpkg --print-architecture),armel)
+CPPFLAGS += -DBOOST_SP_USE_PTHREADS
+endif
+ifeq ($(shell dpkg --print-architecture),sparc)
+CPPFLAGS += -DBOOST_SP_USE_PTHREADS
+endif
+
+export FFLAGS= -g -O2
+
+# see include /usr/share/R/debian/r-cran.mk
+debRlib := $(CURDIR)/debian/python-openturns/usr/lib/R/site-library
+
+install/python-openturns::
+	mkdir -p $(debRlib)
+	R CMD INSTALL -l $(debRlib) --clean $(extraInstallFlags) debian/rotRPackage
+
+binary-install/python-openturns::
+#	dh_pycentral -ppython-openturns
+	dh_python -ppython-openturns
+	-rm debian/python-openturns/usr/lib/python$(PYVER)/site-packages/openturns/*.pyc
+
+
+get-orig-source:
+	uscan --force-download --verbose
+	mv ../openturn*.tar.[gzbz2]* ../tarballs

Propchange: packages/openturns/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/openturns/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/openturns/trunk/debian/watch?rev=36195&op=file
==============================================================================
--- packages/openturns/trunk/debian/watch (added)
+++ packages/openturns/trunk/debian/watch Tue Feb 16 12:39:12 2010
@@ -1,0 +1,3 @@
+version=3
+http://sf.net/openturns/openturns-([\d.]+)\.tar\.gz
+




More information about the debian-science-commits mailing list