[][src]Module data_reader::reader::float_reader

Functions

load_txt_f32

load_txt_f32 reads in a data file that is made up of f32 type data. If this assumption is not made then the parser will fail during the conversion between strings to f32. It can also fail in a number of other ways related to invalid parameters or the data file having malformed fields. These errors are percolated up to whatever is calling this in the form of the Error type. One should therefore check to make sure no errors are obtained when examining the file. If a malformed field is seen the error does contain information about what line number of the data file has the malformed field.

load_txt_f64

load_txt_f64 reads in a data file that is made up of f64 type data. If this assumption is not made then the parser will fail during the conversion between strings to f64. It can also fail in a number of other ways related to invalid parameters or the data file having malformed fields. These errors are percolated up to whatever is calling this in the form of the Error type. One should therefore check to make sure no errors are obtained when examining the file. If a malformed field is seen the error does contain information about what line number of the data file has the malformed field.

load_txt_lossy_f32

load_txt_lossy_f32 reads in a data file that is made up of f32 type data. If this assumption is not made then the parser will fail during the conversion between strings to f32. It can also fail in a number of other ways related to invalid parameters or the data file having malformed fields. These errors are percolated up to whatever is calling this in the form of the Error type. One should therefore check to make sure no errors are obtained when examining the file. If a malformed field is seen the error does contain information about what line number of the data file has the malformed field.

load_txt_lossy_f64

load_txt_lossy_f64 reads in a data file that is made up of f64 type data. If this assumption is not made then the parser will fail during the conversion between strings to f64. It can also fail in a number of other ways related to invalid parameters or the data file having malformed fields. These errors are percolated up to whatever is calling this in the form of the Error type. One should therefore check to make sure no errors are obtained when examining the file. If a malformed field is seen the error does contain information about what line number of the data file has the malformed field.