Package linalg
Class PrintOptions
java.lang.Object
linalg.PrintOptions
A place to define various print options for Matrices and vectors.
Supported Print Options: -PADDING
-MAX_ROWS
-MAX_COLUMNS
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
Maximum number of columns to print from a matrix.static int
Maximum number of rows to print from a matrix.static int
Padding between each element of matrix.
Default Value: 2static int
Precision of the printed matrix values. -
Method Summary
-
Field Details
-
PADDING
public static int PADDINGPadding between each element of matrix.
Default Value: 2 -
MAX_ROWS
public static int MAX_ROWSMaximum number of rows to print from a matrix. If a matrix has more rows than this value, rows with indices larger than this value, except for the last row, will not be printed. The last row is always printed
Default Value: 10 -
MAX_COLUMNS
public static int MAX_COLUMNSMaximum number of columns to print from a matrix. If a matrix has more columns than this value, columns with indices larger than this value, except for the last column, will not be printed.
The last column is always printed.
Default Value: 10 -
PRECISION
public static int PRECISIONPrecision of the printed matrix values. i.e. the number of decimal places printed.
Default Value: 20.
-