When you pickle a numpy/scipy matrix does it have to be initialized by another 
program?  For example:

Program One:
    A = scipy.asmatrix(scipy.empty((i, i)), dtype=int)        # initialize 
matrix A
    <do something with A>
    pickle.dump(A)

Program Two:
    pickle.load(A)


.. in Program Two, do we need the statement:

    A = scipy.asmatrix(scipy.empty((i, i)), dtype=int)        # initialize 
matrix A

before the pickle.load(A)?

If not, why not and doesn't this make documentation difficult?

Dinesh
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to