template < class T > void PopulateGrid(const std::vector< T >& tVector,
boost::numeric::ublas::matrix< T >& tMatrix,
char by = 'rand');
is this declared properly? i would like to have a function which works on every classes that can be contained in tVector and tMatrix... :( according to this ---> http://stackoverflow.com/questions/19094340…