* index into PatternList
*/
public void setPattern(int ndx) {
// System.out.println("set pattern " + ndx);
Pattern pp = training.get(ndx);
double[] original = pp.getInput();
for (int ii = 0; ii < original.length; ii++) {
pattern[ii] = original[ii];
// System.out.println(ii + " " + original[ii]);