read_list SciMax Toolbox read_maxima_array

SciMax Toolbox >> read_matrix

read_matrix

Maxima Function

Calling Sequence

read_matrix (file_name)
read_matrix(file_name,separator_flag)
read_matrix(S)
read_matrix(S,separator_flag)

Description

Reads the file file_name or file stream S and returns its entire content as a matrix. If separator_flag is not specified, the file is assumed space-delimited.

read_matrix infers the size of the matrix from the input data. Each line of the file becomes one row of the matrix. If some lines have different lengths, read_matrix complains.

read_list SciMax Toolbox read_maxima_array