column

Return

a copy of the extracted column

Parameters

k

the kth column to be extracted (zero-based indexing)

matrix

must not be null, assumed 2D rectangular array (i.e., all rows have the same number of columns)


inline fun <T> column(index: Int, matrix: Array<Array<T>>): Array<T>(source)

Return

a copy of the extracted column

Parameters

index

the column to be extracted (zero-based indexing)

matrix

must not be null, assumed 2D rectangular array (i.e., all rows have the same number of columns)