.. index:: pair: struct; gpr::Observation .. _doxid-structgpr_1_1_observation: struct gpr::Observation ======================= .. toctree:: :hidden: :ref:`Observation ` data: energy, gradient and positions. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct Observation { // fields :ref:`Coord` :target:`R`; :ref:`FieldMatrixd` :target:`E`; :ref:`Coord` :target:`G`; // methods void :target:`clear`(); void :target:`append`(const Observation& other); void :target:`resizeToMatch`(const Observation& other, const :ref:`Index_t` num_rows); void :target:`copyRow`(const :ref:`Index_t` dest_row_idx, const Observation& other, const :ref:`Index_t` src_row_idx); void :target:`printSizes`(); };