Maxima Function
read_lisp_array (file_name, A)
read_lisp_array(file_name,A,separator_flag)
read_lisp_array(S,A)
read_lisp_array(S,A,separator_flag)
Reads the file file_name or file stream S and returns its entire content as a Lisp array. If separator_flag is not specified, the file is assumed space-delimited.
read_lisp_array
requires that the array
be declared by make_array
before calling
the read function. (This obviates the need to infer the array
dimensions, which could be a problem for arrays with multiple dimensions.)
read_lisp_array
does not check to see that the
input file conforms in some way to the array dimensions; the input
is read as a flat list, then the array is filled using fillarray
.