Template Function aslam::common::drawNRandomElements(const size_t, const std::vector<ElementType, Allocator>&, std::vector<ElementType, Allocator> *)

Function Documentation

template<typename ElementType, typename Allocator>
void aslam::common::drawNRandomElements(const size_t n, const std::vector<ElementType, Allocator> &input, std::vector<ElementType, Allocator> *output)