D space stores complement of P+Q+R subspace that is necessary to reproduce the previous solutions. More...
#include <DSpace.h>
D space stores complement of P+Q+R subspace that is necessary to reproduce the previous solutions.
Public Types | |
| using | Q = Qt |
| using | value_type = typename array::ArrayHandler< Q, Q >::value_type |
| using | value_type_abs = typename array::ArrayHandler< Q, Q >::value_type_abs |
Public Member Functions | |
| DSpace (std::shared_ptr< Logger > logger) | |
| void | set_logger (std::shared_ptr< Logger > logger) |
| Replaces the logger. | |
| void | update (VecRef< Q > ¶ms, VecRef< Q > &actions, const VecRef< Q > &metric_actions={}) |
| Clears current D space and moves params and action, and any actions of the metric, inside. | |
| void | clear () |
| void | erase (size_t i) |
| Erases parameter i. | |
| size_t | size () const |
| VecRef< Q > | params () |
| CVecRef< Q > | params () const |
| CVecRef< Q > | cparams () const |
| VecRef< Q > | actions () |
| CVecRef< Q > | actions () const |
| CVecRef< Q > | cactions () const |
| CVecRef< Q > | cmetric_actions () const |
| Actions of the metric, empty unless there is a metric. | |
Protected Attributes | |
| std::shared_ptr< Logger > | m_logger |
| std::vector< Q > | m_params |
| D space parameters. | |
| std::vector< Q > | m_actions |
| D space actions. | |
| std::vector< Q > | m_metric_actions |
| D space actions of the metric, empty unless there is a metric. | |
| using molpro::linalg::itsolv::subspace::DSpace< Qt >::value_type = typename array::ArrayHandler<Q, Q>::value_type |
| using molpro::linalg::itsolv::subspace::DSpace< Qt >::value_type_abs = typename array::ArrayHandler<Q, Q>::value_type_abs |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
Actions of the metric, empty unless there is a metric.
|
inline |
Erases parameter i.
| i | index in the current space |
|
inline |
|
inline |
Replaces the logger.
|
inline |
|
inline |
Clears current D space and moves params and action, and any actions of the metric, inside.
|
protected |
D space actions.
|
protected |
|
protected |
D space actions of the metric, empty unless there is a metric.
|
protected |
D space parameters.