~ubuntu-branches/ubuntu/maverick/openturns/maverick

« back to all changes in this revision

Viewing changes to lib/src/Uncertainty/Distribution/Beta.hxx

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2008-11-18 06:32:22 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20081118063222-pa0qncclrerrqkg2
Tags: 0.12.2-1
* 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

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21
21
 *
22
22
 *  @author: $LastChangedBy: dutka $
23
 
 *  @date:   $LastChangedDate: 2008-06-26 13:50:17 +0200 (jeu, 26 jun 2008) $
24
 
 *  Id:      $Id: Beta.hxx 862 2008-06-26 11:50:17Z dutka $
 
23
 *  @date:   $LastChangedDate: 2008-09-13 22:37:56 +0200 (sam 13 sep 2008) $
 
24
 *  Id:      $Id: Beta.hxx 929 2008-09-13 20:37:56Z dutka $
25
25
 */
26
26
#ifndef OPENTURNS_BETA_HXX
27
27
#define OPENTURNS_BETA_HXX
96
96
 
97
97
        /** Get the CDF of the distribution */
98
98
        using NonEllipticalDistribution::computeCDF;
99
 
        NumericalScalar computeCDF(const NumericalPoint & point) const;
 
99
        NumericalScalar computeCDF(const NumericalPoint & point, const Bool tail = false) const;
100
100
 
101
101
        /** Get the PDFGradient of the distribution */
102
102
        NumericalPoint computePDFGradient(const NumericalPoint & point) const;
169
169
    
170
170
      private:
171
171
 
 
172
        /** Compute the numerical range of the distribution given the parameters values */
 
173
        void computeRange();
 
174
 
 
175
        /** Update the derivative attributes */
 
176
        void update();
 
177
 
172
178
        /** The main parameter set of the distribution */
173
179
        NumericalScalar r_;
174
180
        NumericalScalar t_;