Java Supercompiler. Version 0.0.77. Copyright (c) 2001 Supercompilers, LLC.
/* Supercompilation options
--------------------------------------------------------------------
internal option name | command line option = value
--------------------------------------------------------------------
method | -method <method identifier> = test
allMethods | -allMethods, -allm, -am = false
destinationDir | -destination <directory> =
invokeLimit | -invoke<n>, -i<n> = no
recurLimit | -recur<n>, -r<n> = 5
arrayLimit | -arrayLimit<n>, -al<n> = 80
joinLabeled | -joinLabeled, -jla, -join, -j = false
joinTree | -joinLoop, -jl, -join, -j = false
joinTreeR | -joinIf, -ji, -join, -j = false
unfoldLoopNumber | -loop<n>, -l<n> = 0
unfoldLoop_Empty () | -unfoldLoopEmpty, -ule, -ul1 = true
unfoldLoop_Linear () | -unfoldLoopLinear, -ull, -ul2 = true
unfoldLoop_NoBreak () | -unfoldLoopNoBreak, -ulnb, -ul = true
defaultArrayElements | -[no]defaultArrayElements, -[no]dae = true
multiplyZeroFP | -[no]multiplyZeroFP, -[no]mzfp = false
changeAccessOrder | -[no]changeAccessOrder, -[no]cao = false
--------------------------------------------------------------------*/
//-------------------------------------- 0 sec - field SolveTest.dim
//-------------------------------------- 0 sec - postprocessing...
public static final int dim = 3;
//-------------------------------------- 0 sec - method SolveTest.test(double[][])
//-------------------------------------- 1 sec - postprocessing...
public static Jama.Matrix test (final double[][] b_2)
{
final double b_0_0_12 = b_2[0][0];
final double b_1_0_19 = b_2[1][0];
final double b_2_0_26 = b_2[2][0];
final Jama.Matrix X_461 = new Jama.Matrix(3, 1);
//- this is X_461 = new Jama.Matrix(3, 1);
// X_461.m = 3;
// X_461.n = 1;
// final double[][] A_466 = new double[3][1];
// X_461.A = A_466;
final double[][] A_466 = X_461.A;
final double[] A_0_463 = A_466[0];
A_0_463[0] = b_0_0_12;
final double[] A_1_464 = A_466[1];
A_1_464[0] = b_2_0_26;
final double[] A_2_465 = A_466[2];
A_2_465[0] = b_1_0_19;
final double A_1_0_513 = b_2_0_26 - b_0_0_12 * 0.5D;
A_1_464[0] = A_1_0_513;
final double double_526 = b_1_0_19 - b_0_0_12 * 0.6666666666666666D;
A_2_465[0] = double_526;
final double double_547 = double_526 - A_1_0_513 * 0.8333333333333331D;
A_2_465[0] = double_547;
final double A_2_0_575 = double_547 / -0.0013888888888888562D;
A_2_465[0] = A_2_0_575;
final double double_585 = b_0_0_12 - A_2_0_575 * 0.25D;
A_0_463[0] = double_585;
final double double_598 = A_1_0_513 - A_2_0_575 * 0.04166666666666666D;
A_1_464[0] = double_598;
final double A_1_0_617 = double_598 / 0.033333333333333354D;
A_1_464[0] = A_1_0_617;
final double double_627 = double_585 - A_1_0_617 * 0.3333333333333333D;
A_0_463[0] = double_627;
A_0_463[0] = double_627 / 0.5D;
return X_461;
}
//-------------------------------------- 2 sec - JScp version 0.0.77
Methods evaluated in JVM:
java.lang.Math.abs(double) - 6 times
java.lang.Math.min(int, int) - 9 times