Package gnu.kawa.functions
Class ArrayPrint
java.lang.Object
gnu.kawa.functions.ArrayPrint
Pretty-print an array (in APL-style).
This is compatible with SRFI 163 (https://srfi.schemers.org/srfi-163).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic int
Should the first character be a box character, or '#'? The former is slightly prettier, but the latter is recommended by SRFI 163 because it potentially enables parsing of the output. -
Method Summary
-
Field Details
-
useInitialBoxChar
public static int useInitialBoxCharShould the first character be a box character, or '#'? The former is slightly prettier, but the latter is recommended by SRFI 163 because it potentially enables parsing of the output. The value 1 is "always"; -1 is "never", 0 is "if available space".
-
-
Method Details
-
print
Print a given value 2-dimensionally. -
getSize
-
getSizePrefix
-