writeArrayToCSVFile

fun writeArrayToCSVFile(array: Array<DoubleArray>, header: MutableList<String> = mutableListOf(), pathToFile: Path = KSL.outDir.resolve("arrayData.csv"))

IOException is squelched with a warning to the logger if there was a problem writing to the file.

Parameters

header

the names of the columns as strings

array

the array to write

applyQuotesToData

if true the numeric data will be surrounded by quotes

pathToFile

the path to the file