matrix.
dumps
Returns the pickle of the array as a string. pickle.loads or numpy.loads will convert the string back to an array.
numpy.matrix.dump
numpy.matrix.fill