MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Inverse of Large Matrices

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3457] Re: Inverse of Large Matrices
  • From: rmj at leland.Stanford.EDU (Roger M. Jones)
  • Date: Sat, 9 Mar 1996 00:58:31 -0500
  • Organization: Stanford University, CA 94305, USA
  • Sender: owner-wri-mathgroup at wolfram.com

>In inverting large (412 )matrices I have noticed a large
>difference between memory usage in LinearSolve &
>Inverse.  Specifically I find for the below cases:

>1: res1=LinearSolve[a,rhs];
>2: res2=Inverse[a].rhs;

>(here a and rhs are 412 X 412 dimensioned matrices)
 
>case 1 repeatedly applied consumes .7 MB more memory



I have discovered the memory leak.  It turns out that
using LinearSolve[a,rhs], with rhs a matrix, rather
than a vector, does produce the correct result however
it leads to constant increase in memory usage.




-- 
Regards,

Roger Jones

(rmj at leland.stanford.edu)

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Mathematica for FreeBSD?
  • Next by Date: Kernel crashing with error 11 ??
  • Previous by thread: Re: Inverse of Large Matrices
  • Next by thread: Nonlinear fitting of a surface????