public abstract class MemoMatrix extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
cellFormat |
protected boolean |
printNegativeValues |
protected StringWrapper |
s |
protected StringWrapper |
t |
| Modifier and Type | Method and Description |
|---|---|
protected static double |
max3(double x,
double y,
double z)
Return max of three numbers.
|
protected static double |
max4(double w,
double x,
double y,
double z)
Return max of four numbers.
|
protected char |
sAt(int i)
Get i-th char of s, indexing s from 1..n
|
protected char |
tAt(int i)
Get i-th char of t, indexing s from 1..n
|
String |
toString()
Print the matrix, for debugging and/or explanation.
|
protected StringWrapper s
protected StringWrapper t
protected String cellFormat
protected boolean printNegativeValues
protected final char sAt(int i)
protected final char tAt(int i)
public String toString()
protected static final double max3(double x,
double y,
double z)
protected static final double max4(double w,
double x,
double y,
double z)
Copyright © 2016. All rights reserved.