![]() |
Mackey
V3.3
A C++ library for computing RO(G) graded homology
|
Generates all vectors interpolating between given min and max vectors. More...
#include <General.hpp>
Classes | |
class | const_iterator |
Constant iterator through generated vectors. More... | |
Public Member Functions | |
InterpolatingVectorGenerator (const T &min, const T &max) | |
Constructor using min, max and policy. More... | |
size_t | size () const |
Returns the total amount of elements that will be generated. More... | |
std::vector< T > | operator() () const |
Returns vector of all generated elements. More... | |
auto | begin () const |
Initial generator. More... | |
auto | end () const |
Terminal generator. More... | |
Generates all vectors interpolating between given min and max vectors.
T | The type of vectors eg std::vector<int> |
Use with a ranged for loop: Ex for (const auto& i:v){ ... } where v is a vector_interpolate_generator object.
InterpolatingVectorGenerator | ( | const T & | min, |
const T & | max | ||
) |
Constructor using min, max and policy.
size_t size | ( | ) | const |
Returns the total amount of elements that will be generated.
std::vector<T> operator() | ( | ) | const |
Returns vector of all generated elements.
auto begin | ( | ) | const |
Initial generator.
auto end | ( | ) | const |
Terminal generator.