int truthValue) {
Complex truthComplex = constellation[truthValue];
//Complex z = y;
Complex v = truthComplex.subtract(y);
return v.magnitudeSquared();
}
/** Convert an integer to its binary form. The bits
* are stored in an array.
* @param integer The integer to be converted.