1 #ifndef MAX_A_POSTERIORI_H 2 #define MAX_A_POSTERIORI_H 62 virtual void print(std::ostream& Os)
const 63 { Os <<
"MaxAPosteriori"; }
95 {
return blitz::Array<double, 1>(
X-
Xa); }
446 blitz::Array<double, 1>
Xa;
447 blitz::Array<double, 2>
Sa;
virtual blitz::Array< double, 2 > weighted_jacobian_aug()
Returns the matrix returned by uncert_weighted_jacobian() augmented at the bottom by the matrix retur...
virtual blitz::Array< double, 2 > a_priori_cov_chol() const
Returns the Cholesky decomposition of the a-priori covariance matrix.
blitz::Array< double, 2 > Sa_chol_inv
virtual blitz::Array< double, 1 > cov_weighted_parameter_a_priori_diff() const
Returns the current parameters value and their a priori value difference (current param - a priori pa...
blitz::Array< double, 1 > X
virtual blitz::Array< double, 2 > a_priori_cov() const
Returns the a priori covariance matrix.
virtual blitz::Array< double, 1 > model_measure_diff_aug()
Returns the vector returned by model_measure_diff() augmented at the bottom by the vector returned by...
MaxAPosteriori(const blitz::Array< double, 1 > &a_priori_params, const blitz::Array< double, 2 > &a_priori_cov)
Constructor.
virtual blitz::Array< double, 1 > weighted_model_measure_diff_aug()
Returns the vector returned by uncert_weighted_model_measure_diff() augmented at the bottom by the ve...
blitz::Array< double, 2 > Sa
virtual void print(std::ostream &Os) const
Prints description of object.
blitz::Array< double, 1 > Xa
virtual blitz::Array< double, 2 > a_posteriori_covariance()
Returns a-posteriori covariance matrix.
The base class for models and measurements.
The base class for maximum a posteriori estimation.
virtual blitz::Array< double, 2 > a_priori_cov_chol_inv() const
Returns the inverse of the Cholesky decomposition of the a priori covariance matrix.
virtual blitz::Array< double, 1 > a_priori_params() const
Returns the a priori values (knowledge) of the parameters.
virtual blitz::Array< double, 1 > parameter_a_priori_diff() const
Returns the current parameters value and their a priori value difference (current param - a priori pa...
Contains classes to abstract away details in various Spurr Radiative Transfer software.
virtual blitz::Array< double, 1 > param_a_priori_uncertainty() const
Returns the square root of the diagonal of the a-priori covariance matrix.
virtual ~MaxAPosteriori()
virtual blitz::Array< double, 1 > param_a_posteriori_uncertainty()
Returns the square root of the diagonal of the a-posteriori covariance matrix.
blitz::Array< double, 2 > Sa_chol
virtual blitz::Array< double, 2 > averaging_kernel()
Returns the averaging kernel matrix.