Flexible and efficient С++ template library for dimension reduction
