Defined in adapters.hpp.
This struct applies ImageRightAction<Element, Point> to every value in a container of type Container.
| Element | the type of the elements of the semigroup. |
| Point | the type of the points acted on. |
| Container | a container of Point. |
Public Member Functions | |
| void | operator() (Container &res, Container const &pt, Element const &x) const |
| Calculate right actions of each element in a container. | |
|
inline |
This call operator changes res in-place to contain the image of the container pt of points of type Point, under the induced right action of the element x. The purpose of the 1st parameter is to avoid repeated allocations of memory to hold temporary points that are discarded soon after they are created.
| res | a container of Point (such as std::vector or std::array) to hold the result. |
| pt | a container of Point. |
| x | an element of type Element. |
pt.size() times the complexity of ImageRightAction<Element, Point>.