Pref::matrixSeparator
--
sets the separator of matrix entriesPref::matrixSeparator(
" ")
sets the
separator of matrix entries to be a space.
Pref::matrixSeparator( <string>)
string |
- | string, that separates matrix entries for printing, or
NIL |
the previously defined string
", "
. The separator string should
not contain a tabulator, and should be at least one character.Pref::matrixSeparator
without arguments
returns the current value. The argument NIL
resets the
default value.Pref::matrixSeparator
only configures
the ASCII output with PRETTYPRINT
set to TRUE
. It does not influence the
typesetting output.>> A:= array(1..2, 1..2, [[1, 2], [2, 3]])
+- -+ | 1, 2 | | | | 2, 3 | +- -+
>> Pref::matrixSeparator(" "): A
+- -+ | 1 2 | | | | 2 3 | +- -+