api / koma.matrix / Matrix / selectCols
selectCols
open fun selectCols(vararg idxs:
Int
):
Matrix
<
T
>
Select a set of cols from a matrix to form the cols of a new matrix.
For example, if you wanted a new matrix consisting of the first, second, and
fifth cols of an input matrix, you would write input.selectCols(0,1,4)
.