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

« back to all changes in this revision

Viewing changes to lib/src/Uncertainty/Algorithm/IsoProbabilisticTransformation/MarginalTransformation/MarginalTransformationGradient.hxx

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2010-05-10 17:27:55 UTC
  • mfrom: (1.1.4 upstream) (5.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100510172755-cb5ynskknqqi5rhp
Tags: 0.13.2-2ubuntu1
* Merge with Debian testing. No changes left.
* ubuntu_fix-python-2.6.patch: fix detection of python 2.6 libs, to not use
  LOCALMODLIBS. This pulls a dependency on SSL and makes the package FTBFS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *  @file  MarginalTransformationGradient.hxx
4
4
 *  @brief Class for the Nataf transformationGradient evaluation for elliptical
5
5
 *
6
 
 *  (C) Copyright 2005-2007 EDF-EADS-Phimeca
 
6
 *  (C) Copyright 2005-2010 EDF-EADS-Phimeca
7
7
 *
8
8
 *  This library is free software; you can redistribute it and/or
9
9
 *  modify it under the terms of the GNU Lesser General Public
20
20
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21
21
 *
22
22
 *  @author: $LastChangedBy: dutka $
23
 
 *  @date:   $LastChangedDate: 2009-05-28 14:47:53 +0200 (jeu. 28 mai 2009) $
24
 
 *  Id:      $Id: MarginalTransformationGradient.hxx 1262 2009-05-28 12:47:53Z dutka $
 
23
 *  @date:   $LastChangedDate: 2010-02-04 16:44:49 +0100 (jeu. 04 févr. 2010) $
 
24
 *  Id:      $Id: MarginalTransformationGradient.hxx 1473 2010-02-04 15:44:49Z dutka $
25
25
 */
26
26
#ifndef OPENTURNS_MARGINALTRANSFORMATIONGRADIENT_HXX
27
27
#define OPENTURNS_MARGINALTRANSFORMATIONGRADIENT_HXX
28
28
 
29
29
#include "OTprivate.hxx"
30
30
#include "NumericalMathGradientImplementation.hxx"
 
31
#include "MarginalTransformationEvaluation.hxx"
31
32
#include "Matrix.hxx"
32
33
#include "NumericalPoint.hxx"
33
 
#include "Collection.hxx"
34
 
#include "Distribution.hxx"
35
34
#include "Exception.hxx"
36
35
 
37
36
namespace OpenTURNS {
52
51
        CLASSNAME;
53
52
      public:
54
53
 
55
 
        typedef Base::Func::NumericalMathGradientImplementation NumericalMathGradientImplementation;
 
54
        typedef Base::Func::NumericalMathGradientImplementation NumericalMathGradientImplementation; // Required by SWIG
56
55
        typedef Base::Type::Matrix                              Matrix;
57
56
        typedef Base::Type::NumericalPoint                      NumericalPoint;
58
57
        typedef Model::Distribution                             Distribution;
61
60
        typedef Base::Common::InvalidArgumentException          InvalidArgumentException;
62
61
 
63
62
        /** Parameter constructor */
64
 
        MarginalTransformationGradient(const DistributionCollection & distributionCollection);
 
63
        MarginalTransformationGradient(const MarginalTransformationEvaluation & evaluation);
65
64
 
66
65
 
67
66
        /** Virtual constructor */
69
68
 
70
69
        /** Gradient */
71
70
        Matrix gradient(const NumericalPoint & in) const
72
 
          throw (InvalidArgumentException, InternalException);
 
71
          /* throw (InvalidArgumentException, InternalException) */;
73
72
          
74
73
        /** Accessor for input point dimension */
75
 
        virtual UnsignedLong getInputNumericalPointDimension() const
76
 
          throw(InternalException);
 
74
        virtual UnsignedLong getInputDimension() const
 
75
          /* throw(InternalException) */;
77
76
 
78
77
        /** Accessor for output point dimension */
79
 
        virtual UnsignedLong getOutputNumericalPointDimension() const
80
 
          throw(InternalException);
 
78
        virtual UnsignedLong getOutputDimension() const
 
79
          /* throw(InternalException) */;
81
80
 
82
81
        /** String converter */
83
82
        virtual String __repr__() const;
86
85
 
87
86
    
88
87
      private:
89
 
        DistributionCollection distributionCollection_;
 
88
        // The evaluation class associated with the gradient
 
89
        MarginalTransformationEvaluation evaluation_;
90
90
 
91
91
      }; /* MarginalTransformationGradient */
92
92