api / koma.matrix / Matrix / filterCols
filterCols
open fun filterCols(f: (col:Matrix<T>) ->Boolean):Matrix<T>
Builds a new matrix with a subset of the columns of this matrix, using only the columns for which the function f returns true.
Parameters
f - A function which takes a column and returns true if that column should
be included in the output matrix.