fun <T : Number, E : Number> solve(a: KtNDArray<T>, b: KtNDArray<E>): KtNDArray<Double>
(source)
Solve a linear matrix equation, or system of linear scalar equations.
b
- ordinate or “dependent variable” values.
Return
Solution to the system a x = b. Returned shape is identical to b.