If your matrix is dense and you store floats in it, for example, then your
matrix will consume 7.2 gigabytes of space. Are you sure that is what you
are trying to do? SymPy matrices will take up even more space than that
depending on the variable type.

Can you explain what you are trying to do? There are many options for
saving large data to disk but the answer depends on the situation.

If you have a lot of memory on your machine you can try to write the
results of srepr() to file or even maybe pickling the matrix.


Jason
moorepants.info
+01 530-601-9791

On Mon, May 25, 2015 at 3:26 AM, James Tran <[email protected]> wrote:

> Dear all,
> The matrix in sympy save as dictionary. I want to save a big matrix with
> size 30000x30000. Is there any method to save it to hard-disk driver? I
> tried with numpy but
> it cannot work.
>
> Thank you,
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/65675cce-dbc5-421c-a990-67b81c8b0a91%40googlegroups.com
> <https://groups.google.com/d/msgid/sympy/65675cce-dbc5-421c-a990-67b81c8b0a91%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAP7f1AidKuObXRyA4MZNM9wNvZY_mNPoZW_GHGjeYYAE9_YVGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to