pub fn fromfile<T, P: AsRef<Path>>(
path: P,
sep: &str,
) -> FerrayResult<Array<T, Ix1>>Expand description
Read a 1-D array from a file by parsing whitespace-delimited tokens.
Analogous to numpy.fromfile(path, sep=' ') (text mode). The binary
mode of NumPy’s fromfile is intentionally not provided here — use
ferray-io::load for .npy and ferray_core::frombuffer for raw
byte buffers.
§Errors
Returns FerrayError::Io for filesystem errors, FerrayError::InvalidValue
for parse failures.