bsave
, bload
bsave()
: 1, bload()
: the expression read
bsave()
writes an object onto a file in its internal
form (not exact internal form but very similar).
Function bload()
read the expression from files
which is written by bsave()
.
Current implementation support arbitrary expressions, including
lists, arrays (i.e., vectors and matrices), except for function forms
and unknown coefficients (vtype()
References.)
output()
, whereas internal forms are directly reconstructed
by bload()
from the bsave()
'ed object in the file.
The latter is much more efficient with respect to both time and space.
[0] A=(x+y+z+u+v+w)^20$ [1] bsave(A,"afo"); 1 [2] B = bload("afo")$ [3] A == B; 1 [4] X=(x+y)^2; x^2+2*y*x+y^2 [5] bsave(X,"afo")$ [6] quit; % asir [0] ord([y,x])$ [1] bload("afo"); y^2+2*x*y+x^2
output
.
Go to the first, previous, next, last section, table of contents.