[][src]Function appr_dbscan::data_io::read_points_from_file

pub fn read_points_from_file<P, const D: usize>(
    file_name: &P,
    params: &DBSCANParams
) -> Vec<Point<D>> where
    P: AsRef<Path>, 

Reads params.cardinality points from a data file assuming that all of them have D components, panicking otherwise. The rsult is stored as a vector of arrays of fixed length D.