<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/166758</link>
    <title>MATLAB Central Newsreader - calculating the inverse efficiently (not for solving equations :-) )</title>
    <description>Feed for thread: calculating the inverse efficiently (not for solving equations :-) )</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Tue, 01 Apr 2008 19:18:02 -0400</pubDate>
      <title>calculating the inverse efficiently (not for solving equations :-) )</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/166758#424036</link>
      <author>M E</author>
      <description>Hi,&lt;br&gt;
&lt;br&gt;
well most of you probably think &quot;Oh no, not another one&lt;br&gt;
trying to solve a system of linear equations using the&lt;br&gt;
matrix inverse&quot;, but luckily for those guys I don't need it&lt;br&gt;
for that :-)&lt;br&gt;
&lt;br&gt;
So my problem is that after some calculations I got stuck&lt;br&gt;
with an equation of the following kind:&lt;br&gt;
&lt;br&gt;
(A*B^-1*C)*x=y&lt;br&gt;
&lt;br&gt;
As the matrix B is multiplied with A and C there's no way&lt;br&gt;
(or at least I don't know of any) to get around the problem&lt;br&gt;
of knowing the full inverse of B.&lt;br&gt;
&lt;br&gt;
Some important properties for B are, that it's symmetric and&lt;br&gt;
sparse. Yes, I know having the inverse will destroy the&lt;br&gt;
sparisty :-)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
So far the possibilities for calculating the inverse of B, I&lt;br&gt;
have come up with are:&lt;br&gt;
*LU decomposition: tends to fail because B is rather large&lt;br&gt;
and therefore my computer runs out of memory&lt;br&gt;
*Cholesky decomposition: not much more efficient than the LU&lt;br&gt;
decomposition (n^3/3 compared to 2n^3/3)&lt;br&gt;
&lt;br&gt;
I also thought of using eigenvalues, but that wouldn't help&lt;br&gt;
much since you need the inverse of the matrix with the&lt;br&gt;
eigenvectors.&lt;br&gt;
&lt;br&gt;
I hope that I could give anyone enough insight into my&lt;br&gt;
problem...&lt;br&gt;
&lt;br&gt;
Does anyone know another efficient way for calculating the&lt;br&gt;
inverse for sparse symmetric matrices, or maybe to simplify&lt;br&gt;
or transform the upper equation to make it less costly?&lt;br&gt;
&lt;br&gt;
Thanks in advance!!&lt;br&gt;
&lt;br&gt;
Albert Buehrli</description>
    </item>
  </channel>
</rss>

