public Matrix solve ( Matrix B ) { //Solve A x = L L^T x = b, for x //First solve L y = b Matrix y = forwardSub ( L , B ) ; //Sole L^T x = y Matrix x = backSub ( L , y ) ; return x ; }
Solves the linear system of equations A x = B