write
fun <T, D : Dim2> Multik.write( file: File, ndarray: NDArray<T, D>, delimiter: Char = ',')
Content copied to clipboard
Writes an NDArray to csv file. The NDArray must be up to the second dimension.
Parameters
T
NDArray element type
D
dimension of NDArray. It can be 1 or 2
file
file where the data will be written, if the file does not exist, it will be created
delimiter
separator between elements
fun <T, D : Dim2> Multik.write( path: String, ndarray: NDArray<T, D>, delimiter: Char = ',')
Content copied to clipboard
Writes an NDArray to csv file. The NDArray must be up to the second dimension.
Parameters
T
NDArray element type
D
dimension of NDArray. It can be 1 or 2
path
file path where the data will be written
delimiter
separator between elements