PRINT-MATRIX (MATRIX STREAM &KEY (FORMATTER #'PRINT-MATRIX-FORMATTER) (MASKED-FN (CONSTANTLY NIL)) (ALIGNED? T) (PADDING ) (INDENT ))
Format and print the elements of MATRIX (a 2d array) to STREAM, using PADDING between columns. MASKED-FN is called on row and column indices. If it returns nil, the corresponding element is formatted using FORMATTER and printed. Otherwise, it should return a string, which is printed as is. INDENT is printed before each row. If ALIGNED?, columns will be right-aligned. At most *PRINT-LENGTH* rows and columns are printed, more is indicated with ellipses (...).
Return values (min dimension *print-length*) and whether the constraint is binding.
Standard formatter for matrix printing. Respects *print-precision*, and formats complex numbers as a+bi, eg 0.0+1.0i.
Number of digits after the decimal point when printing numeric matrices.