15 proxied_observers = Proxied;
19 plen += curr_obs->sub_vector_size();
21 state_vector_observer_initialize(plen);
33 Range prox_range(offset, offset + curr_obs->sub_vector_size() - 1);
34 curr_obs->update_sub_state(Sv_sub(prox_range), Cov_sub(prox_range, prox_range) );
35 offset += curr_obs->sub_vector_size();
48 Range prox_range(offset, offset + curr_obs->sub_vector_size() - 1);
49 Array<bool, 1> prox_used(Used(prox_range));
50 curr_obs->mark_used_sub(prox_used);
51 offset += curr_obs->sub_vector_size();
65 Range prox_range(offset, offset + curr_obs->sub_vector_size() - 1);
66 blitz::Array<std::string, 1> prox_name(Sv_name(prox_range));
67 curr_obs->state_vector_name_sub(prox_name);
68 offset += curr_obs->sub_vector_size();
79 Os <<
"SubStateVectorProxy";
81 curr_obs->print(opad);
void initialize(const std::vector< boost::shared_ptr< SubStateVectorObserver > > &Proxied)
Registers the classes that will be proxied.
This is a filtering stream that adds a pad to the front of every line written out.
virtual void state_vector_name_sub(blitz::Array< std::string, 1 > &Sv_name) const
Extracts the relevant portions of the passed arrays and passes them to the proxied objects...
virtual void print(std::ostream &Os) const
Output the print results from the proxied classes.
Apply value function to a blitz array.
virtual void mark_used_sub(blitz::Array< bool, 1 > &Used) const
Extracts the relevant portions of the passed arrays and passes them to the proxied objects...
Contains classes to abstract away details in various Spurr Radiative Transfer software.
virtual void update_sub_state(const ArrayAd< double, 1 > &Sv_sub, const blitz::Array< double, 2 > &Cov_sub)
Extracts the relevant portions of the passed arrays and passes them to the proxied objects...