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

« back to all changes in this revision

Viewing changes to lib/src/Uncertainty/Algorithm/IsoProbabilisticTransformation/NatafIndependentCopula/InverseNatafIndependentCopulaFunction.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:
1
 
//                                               -*- C++ -*-
2
 
/**
3
 
 *  @file  InverseNatafIndependentCopulaFunction.hxx
4
 
 *  @brief Class for the InverseNataf transformation evaluation for independent
5
 
 *
6
 
 *  (C) Copyright 2005-2007 EDF-EADS-Phimeca
7
 
 *
8
 
 *  This library is free software; you can redistribute it and/or
9
 
 *  modify it under the terms of the GNU Lesser General Public
10
 
 *  License as published by the Free Software Foundation; either
11
 
 *  version 2.1 of the License.
12
 
 *
13
 
 *  This library is distributed in the hope that it will be useful
14
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16
 
 *  Lesser General Public License for more details.
17
 
 *
18
 
 *  You should have received a copy of the GNU Lesser General Public
19
 
 *  License along with this library; if not, write to the Free Software
20
 
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21
 
 *
22
 
 *  @author: $LastChangedBy: dutka $
23
 
 *  @date:   $LastChangedDate: 2008-06-26 13:50:17 +0200 (jeu, 26 jun 2008) $
24
 
 *  Id:      $Id: InverseNatafIndependentCopulaFunction.hxx 862 2008-06-26 11:50:17Z dutka $
25
 
 */
26
 
#ifndef OPENTURNS_INVERSENATAFINDEPENDENTCOPULAFUNCTION_HXX
27
 
#define OPENTURNS_INVERSENATAFINDEPENDENTCOPULAFUNCTION_HXX
28
 
 
29
 
#include "NumericalMathEvaluationImplementation.hxx"
30
 
#include "NumericalPoint.hxx"
31
 
#include "Exception.hxx"
32
 
 
33
 
namespace OpenTURNS {
34
 
 
35
 
  namespace Uncertainty {
36
 
 
37
 
    namespace Algorithm {
38
 
 
39
 
 
40
 
      /**
41
 
       * @class InverseNatafIndependentCopulaFunction
42
 
       *
43
 
       * This class offers an interface for the InverseNataf function for independent distributions
44
 
       */
45
 
      class InverseNatafIndependentCopulaFunction
46
 
        : public Base::Func::NumericalMathEvaluationImplementation
47
 
      {
48
 
        CLASSNAME;
49
 
      public:
50
 
 
51
 
        typedef Base::Func::NumericalMathEvaluationImplementation NumericalMathEvaluationImplementation;
52
 
        typedef Base::Type::NumericalPoint                      NumericalPoint;
53
 
        typedef Base::Common::InternalException                 InternalException;
54
 
        typedef Base::Common::InvalidArgumentException          InvalidArgumentException;
55
 
 
56
 
        /** Parameter constructor */
57
 
        InverseNatafIndependentCopulaFunction(const UnsignedLong dimension,
58
 
                                              const String & name = OT::DefaultName);
59
 
 
60
 
 
61
 
        /** Virtual constructor */
62
 
        virtual InverseNatafIndependentCopulaFunction * clone() const;
63
 
 
64
 
        /** Evaluation */
65
 
        NumericalPoint operator () (const NumericalPoint & in) const
66
 
          throw (InvalidArgumentException, InternalException);
67
 
 
68
 
        /** Gradient according to the marginal parameters */
69
 
        virtual Matrix parametersGradient(const NumericalPoint & in) const;
70
 
          
71
 
        /** Accessor for input point dimension */
72
 
        virtual UnsignedLong getInputNumericalPointDimension() const
73
 
          throw(InternalException);
74
 
 
75
 
        /** Accessor for output point dimension */
76
 
        virtual UnsignedLong getOutputNumericalPointDimension() const
77
 
          throw(InternalException);
78
 
 
79
 
        /** String converter */
80
 
        virtual String str() const;
81
 
 
82
 
      protected:
83
 
 
84
 
    
85
 
      private:
86
 
        UnsignedLong dimension_;
87
 
 
88
 
      }; /* InverseNatafIndependentCopulaFunction */
89
 
 
90
 
 
91
 
    } /* namespace Algorithm */
92
 
  } /* namespace Uncertainty */
93
 
} /* namespace OpenTURNS */
94
 
 
95
 
#endif /* OPENTURNS_INVERSENATAFINDEPENDENTCOPULAFUNCTION_HXX */