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 | update (VecRef< Q > ¶ms, VecRef< Q > &actions) |
Clears current D space and moves params and action inside. More... | |
void | clear () |
void | erase (size_t i) |
Erases parameter i. More... | |
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 |
Protected Attributes | |
std::shared_ptr< Logger > | m_logger |
std::vector< Q > | m_params |
D space parameters. More... | |
std::vector< Q > | m_actions |
D space actions. More... | |
using molpro::linalg::itsolv::subspace::DSpace< Qt >::Q = Qt |
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 |
|
inline |
|
inline |
Erases parameter i.
i | index in the current space |
|
inline |
|
inline |
|
inline |
|
inline |
Clears current D space and moves params and action inside.
|
protected |
D space actions.
|
protected |
|
protected |
D space parameters.