7 #include <blitz/array.h> 28 virtual void print(std::ostream& Os)
const;
34 const blitz::Array<double, 1>&
state()
const {
return x_.
value(); }
56 void update_state(
const blitz::Array<double, 1>& X,
const blitz::Array<double, 2>& Cov);
78 blitz::Array<double, 2> cov_;
const ArrayAd< double, 1 > & state_with_derivative() const
Return the state vector as state() does, but also make each value a AutoDerivative.
const blitz::Array< double, 1 > & state() const
Current state vector.
blitz::Array< std::string, 1 > state_vector_name() const
Return name of each state vector element.
void add_observer_do(Observer< StateVector > &Obs, StateVector &t)
Add an observer.
const blitz::Array< double, 2 > & state_covariance() const
Current covariance of the state vector.
virtual void add_observer(Observer< StateVector > &Obs)
Add an observer.
void remove_observer_do(Observer< StateVector > &Obs, StateVector &t)
Remove an observer.
This is a Mixin for classes that can be printed.
void observer_claimed_size(int Pstart)
Update claimed size of state vector.
const blitz::Array< T, D > & value() const
virtual void remove_observer(Observer< StateVector > &Obs)
Remove an observer.
Mixin for a class that allows other classes to observe it state.
void update_state(const blitz::Array< double, 1 > &X)
Update the state vector.
This handles informing a set of interested objects when the state vector has updated.
int observer_claimed_size() const
Total "claimed" size of the state vector.
virtual void print(std::ostream &Os) const
Contains classes to abstract away details in various Spurr Radiative Transfer software.
blitz::Array< bool, 1 > used_flag() const
Return a Array of boolean values.