powered by
Given a symmetrix positive definite matrix Q and a non-singular matrix L, Find symmetric positive definite solution X such that X = Q + L (X inv) L^T
sol.rationalmatrix.euqation(Q, L, num_iterations = 50)
a symmetrix postive definite matrix of real numbers
a non-singular matrix of real numbers
Number of iterations to run for convergence
X : solution to the equation X = Q + L (X inv) L^T
# NOT RUN { sol.rationalmatrix.euqation(matrix(c(2,-1,-1,2), 2, 2), rbind(c(2,3),c(2,1))) # }
Run the code above in your browser using DataLab