Maxima Function
read_maxima_array (file_name, A)
read_maxima_array(file_name,A,separator_flag)
read_maxima_array(S,A)
read_maxima_array(S,A,separator_flag)
Reads the file file_name or file stream S and returns its entire content as a Maxima array. If separator_flag is not specified, the file is assumed space-delimited.
read_maxima_array
requires that the array
be declared by array
before calling
the read function. (This obviates the need to infer the array
dimensions, which could be a hassle for arrays with multiple dimensions.)
read_maxima_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
.