public static void checkComplexReturnValues() {
double[] data = new double[] {
1.0, 2.0, 3.0, 4.0, 5.0, 6.0
};
ComplexDoubleMatrix A = new ComplexDoubleMatrix(data);
ComplexDouble z = A.dotu(A);
System.out.print("Checking complex return values... ");
System.out.println("(z = " + z.toString() + ")");
}