The InnerProduct struct is a functor computing the inner product of the stored vector with a given vector. More...
#include <classic_krylov.h>
Public Member Functions | |
InnerProduct (Vecs const &v_) | |
construct from a reference to the vector to multiply with More... | |
template<typename Coefs > | |
auto | operator() (Coefs const &c) const |
operator () calculate the inner product of stored vector with argument More... | |
Public Attributes | |
Vecs const & | v |
the vector (random-access container) stored More... | |
The InnerProduct struct is a functor computing the inner product of the stored vector with a given vector.