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

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, const bool use_fixed_seed)