write

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

Writes the list of double arrays to the PrintWriter, each array on a new line, and each element in the array separated by a comma.

Parameters

df

a format to apply to the values of the array when writing the strings

out

the PrintWriter to write to, must not be null


fun Array<DoubleArray>.write(out: PrintWriter = KSLFileUtil.SOUT, df: DecimalFormat? = null)(source)

Writes the array of double arrays to the PrintWriter, each array on a new line, and each element in the array separated by a comma.

Parameters

df

a format to apply to the values of the array when writing the strings

out

the PrintWriter to write to, must not be null


fun DoubleArray.write(out: PrintWriter = KSLFileUtil.SOUT, df: DecimalFormat? = null)(source)

Writes the array of doubles to the PrintWriter, each element on a new line.

Parameters

df

a format to apply to the values of the array when writing the strings

out

the PrintWriter to write to, must not be null. If not supplied, writes to KSLFileUtil.SOUT


fun Array<IntArray>.write(out: PrintWriter = KSLFileUtil.SOUT)(source)

Writes the array of int arrays to the PrintWriter, each array on a new line, and each element in the array separated by a comma.

Parameters

out

the PrintWriter to write to, must not be null. If not supplied, writes to KSLFileUtil.SOUT


fun IntArray.write(out: PrintWriter = KSLFileUtil.SOUT)(source)

Writes the array of ints to the PrintWriter, each element on a new line.

Parameters

out

the PrintWriter to write to, must not be null. If not supplied, writes to KSLFileUtil.SOUT