Two methods are used: For extended precision integer and rational arguments, %. is implemented using Gaussian elimination.
For other arguments, QR decomposition http://www.jsoftware.com/jwiki/Essays/QR_Decomposition is used, chosen more for its algorithmic novelty than for its numerical properties. ----- Original Message ----- From: Damien <[EMAIL PROTECTED]> Date: Friday, July 6, 2007 0:48 Subject: [Jprogramming] matrix inversion operator To: [email protected] > Hello, > > I was wondering what kind of algorithm is used within the %. operator, > because it is very powerful !! Does someone have any idea ? > Besides, what is the best algorithm to invert matrix for you ? I > mean if you > had to implement only one algorithm for all the types of > matrices, which one > would you choose ? > > Thanks. > Damien. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
