ENH: Using typedefs ensure consistent API for std::vector< int/double>