queso-0.51.1
InvLogitGaussianVectorRV.h
Go to the documentation of this file.
1 //-----------------------------------------------------------------------bl-
2 //--------------------------------------------------------------------------
3 //
4 // QUESO - a library to support the Quantification of Uncertainty
5 // for Estimation, Simulation and Optimization
6 //
7 // Copyright (C) 2008,2009,2010,2011,2012,2013 The PECOS Development Team
8 //
9 // This library is free software; you can redistribute it and/or
10 // modify it under the terms of the Version 2.1 GNU Lesser General
11 // Public License as published by the Free Software Foundation.
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. 51 Franklin Street, Fifth Floor,
21 // Boston, MA 02110-1301 USA
22 //
23 //-----------------------------------------------------------------------el-
24 
25 #ifndef UQ_INVLOGIT_GAUSSIAN_VECTOR_RV_H
26 #define UQ_INVLOGIT_GAUSSIAN_VECTOR_RV_H
27 
28 #include <queso/VectorRV.h>
29 #include <queso/BoxSubset.h>
30 
31 namespace QUESO {
32 
41 template<class V, class M>
42 class InvLogitGaussianVectorRV : public BaseVectorRV<V, M> {
43 public:
45 
46 
52  InvLogitGaussianVectorRV(const char * prefix,
53  const BoxSubset<V, M> & imageBoxSubset, const V & lawExpVector,
54  const V & lawVarVector);
55 
57 
62  InvLogitGaussianVectorRV(const char * prefix,
63  const BoxSubset<V, M> & imageBoxSubset, const V & lawExpVector,
64  const M & lawCovMatrix);
65 
67  virtual ~InvLogitGaussianVectorRV();
69 
71 
72  void updateLawExpVector(const V & newLawExpVector);
74 
76 
80  void updateLawCovMatrix(const M & newLawCovMatrix);
82 
84 
85 
87  void print(std::ostream & os) const;
89 
90 private:
99 };
100 
101 } // End namespace QUESO
102 
103 #endif // UQ_INVLOGIT_GAUSSIAN_VECTOR_RV_H
void updateLawCovMatrix(const M &newLawCovMatrix)
Updates the covariance matrix.
A class representing a (transformed) Gaussian vector RV with bounds.
void print(std::ostream &os) const
TODO: Prints the vector RV.
Class representing a subset of a vector space shaped like a hypercube.
Definition: BoxSubset.h:41
void updateLawExpVector(const V &newLawExpVector)
Updates the vector that contains the mean values for the underlying Gaussian.
A templated base class for handling vector RV.
Definition: VectorRV.h:51
virtual ~InvLogitGaussianVectorRV()
Virtual destructor.
InvLogitGaussianVectorRV(const char *prefix, const BoxSubset< V, M > &imageBoxSubset, const V &lawExpVector, const V &lawVarVector)
Constructor.

Generated on Thu Apr 23 2015 19:26:15 for queso-0.51.1 by  doxygen 1.8.5