fun <T : Number, E : Number> lstsq(a: KtNDArray<T>, b: KtNDArray<E>, rcond: Double? = null): List<*>
(source)
Return the least-squares solution to a linear matrix equation.
b
- ordinate or "dependent variable" values.
rcond
- cut-off ratio for small singular values of a.
Return
Least-squares solution.