designMatrix

fun designMatrix(probabilities: DoubleArray, numTerms: Int): Array<DoubleArray>(source)

The design matrix of the metalog least squares problem. Row i holds the first numTerms basis terms evaluated at probabilities element i, so the matrix has one row per supplied probability and one column per term.