write

fun write(array: DoubleArray, out: PrintWriter = SOUT, df: DecimalFormat? = null)
fun write(array: Array<DoubleArray>, out: PrintWriter = SOUT, df: DecimalFormat? = null)
fun write(array: IntArray, out: PrintWriter = SOUT)
fun write(array: Array<IntArray>, out: PrintWriter = SOUT)

Allows writing directly to a known PrintWriter. Facilitates writing to the file before or after the array is written

Parameters

array

the array to write, must not be null

out

the PrintWriter to write to, must not be null


fun write(list: List<DoubleArray>, out: PrintWriter = SOUT, df: DecimalFormat? = null)

Allows writing directly to a known PrintWriter. Facilitates writing to the file before or after the list is written

Parameters

list

the array to write, must not be null

out

the PrintWriter to write to, must not be null