[Numpy-discussion] MemoryError for computing eigen-vector on 10, 000*10, 000 matrix

Charles R Harris charlesr.harris at gmail.com
Wed Apr 29 03:09:41 EDT 2009


On Tue, Apr 28, 2009 at 11:49 PM, Zhenxin Zhan <andyjian430074 at gmail.com>wrote:

>  Thanks. My mistake.
>
> The os is 32-bit. I am doing a network-simulation for my teacher. The
> average degree of the network topology is about 6.0. So I think it is
> sparse.
>
> The paper needs the eigen values and the eigen vectors which are necessary
> for the further simulation.  I use the following procedure:
>
> 1.  read the network vertices information from a txt file to a
> 10,000*10,000 list 'lists'.
> 2.  And then use numpy.array(lits, dtype=float) to get a array object 'A'
> 3. Finally, use numpy.linalg.eig(A) to get the eigen values and eigen
> vectors.
> 4. Using 'tofile' function to write them to local file.
>
> I will refer to scipy.
>
>

So is this some sort of Markov simulation with the messages passing between
nodes with a given probability?

Chuck

>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090429/26e06808/attachment.html>


More information about the NumPy-Discussion mailing list