Skip to main content

Read2DRowColFile

Function Read2DRowColFile 

Source
pub unsafe extern "C" fn Read2DRowColFile(
    arr: *mut *mut *mut c_void,
    filename: *mut c_char,
    linelen: c_long,
    nlines: c_long,
    tileparams: *mut tileparamT,
    size: usize,
) -> c_int
Expand description

Gets memory and reads single array from a file. Array should be in the file line by line starting with the row array (size nrow-1 x ncol) and followed by the column array (size nrow x ncol-1). Both arrays are placed into the passed array as they were in the file.