constructor from an ordered pair of PoolIndex (integer like) objects and a function with vector argument
Useful links