SyTen

◆ StateWrapper() [2/5]

template<typename StateT , typename TruncT = Truncation>
syten::Krylov::StateWrapper< StateT, TruncT >::StateWrapper ( State_t  s,
Trunc_t  trunc 
)
inline

StateWrapper constructor from an underlying state and eventually a truncation specification.

Parameters
sthe State to be copied/moved from
truncthe truncation functor, eg Truncation

References syten::Krylov::StateWrapper< StateT, TruncT >::state, and syten::Krylov::StateWrapper< StateT, TruncT >::truncate.