METHOD_0 ( ) { final int IDENT_0 = INT_0 ; double [ ] IDENT_1 = new double [ IDENT_0 ] ; double [ ] IDENT_2 = new double [ IDENT_0 ] ; final double IDENT_3 = 1.0 / ( IDENT_0 - 1 ) ; for ( int i = 0 ; i < IDENT_0 ; i ++ ) { IDENT_1 [ i ] = ( - 1 ) + ( ( 15 * i ) * IDENT_3 ) ; IDENT_2 [ i ] = ( - 20 ) + ( ( INT_1 * i ) * IDENT_3 ) ; } org . apache . commons . math3 . analysis . IDENT_4 f = new org . apache . commons . math3 . analysis . METHOD_1 ( ) { public double value ( double x , double y ) { return ( ( ( ( 2 * x ) * x ) - ( ( 3 * y ) * y ) ) + ( ( 4 * x ) * y ) ) - 5 ; } } ; double [ ] [ ] IDENT_5 = new double [ IDENT_1 . length ] [ IDENT_2 . length ] ; for ( int i = 0 ; i < ( IDENT_1 . length ) ; i ++ ) { for ( int j = 0 ; j < ( IDENT_2 . length ) ; j ++ ) { IDENT_5 [ i ] [ j ] = f . value ( IDENT_1 [ i ] , IDENT_2 [ j ] ) ; } } double [ ] [ ] IDENT_6 = new double [ IDENT_1 . length ] [ IDENT_2 . length ] ; org . apache . commons . math3 . analysis . METHOD_1 IDENT_7 = new org . apache . commons . math3 . analysis . METHOD_1 ( ) { public double value ( double x , double y ) { return 4 * ( x + y ) ; } } ; for ( int i = 0 ; i < ( IDENT_1 . length ) ; i ++ ) { for ( int j = 0 ; j < ( IDENT_2 . length ) ; j ++ ) { IDENT_6 [ i ] [ j ] = IDENT_7 . value ( IDENT_1 [ i ] , IDENT_2 [ j ] ) ; } } double [ ] [ ] IDENT_8 = new double [ IDENT_1 . length ] [ IDENT_2 . length ] ; org . apache . commons . math3 . analysis . METHOD_1 IDENT_9 = new org . apache . commons . math3 . analysis . METHOD_1 ( ) { public double value ( double x , double y ) { return ( 4 * x ) - ( 6 * y ) ; } } ; for ( int i = 0 ; i < ( IDENT_1 . length ) ; i ++ ) { for ( int j = 0 ; j < ( IDENT_2 . length ) ; j ++ ) { IDENT_8 [ i ] [ j ] = IDENT_9 . value ( IDENT_1 [ i ] , IDENT_2 [ j ] ) ; } } double [ ] [ ] IDENT_10 = new double [ IDENT_1 . length ] [ IDENT_2 . length ] ; for ( int i = 0 ; i < ( IDENT_1 . length ) ; i ++ ) { for ( int j = 0 ; j < ( IDENT_2 . length ) ; j ++ ) { IDENT_10 [ i ] [ j ] = 4 ; } } org . apache . commons . math3 . analysis . METHOD_1 IDENT_11 = new org . apache . commons . math3 . analysis . IDENT_12 . METHOD_2 ( IDENT_1 , IDENT_2 , IDENT_5 , IDENT_6 , IDENT_8 , IDENT_10 ) ; double x ; double y ; final org . apache . commons . math3 . random . IDENT_13 IDENT_14 = new org . apache . commons . math3 . random . METHOD_3 ( INT_2 ) ; final org . apache . commons . math3 . IDENT_15 . IDENT_16 IDENT_17 = new org . apache . commons . math3 . IDENT_15 . METHOD_4 ( IDENT_14 , IDENT_1 [ 0 ] , IDENT_1 [ ( ( IDENT_1 . length ) - 1 ) ] ) ; final org . apache . commons . math3 . IDENT_15 . METHOD_4 IDENT_18 = new org . apache . commons . math3 . IDENT_15 . METHOD_4 ( IDENT_14 , IDENT_2 [ 0 ] , IDENT_2 [ ( ( IDENT_2 . length ) - 1 ) ] ) ; final double IDENT_19 = INT_3 ; for ( int i = 0 ; i < IDENT_0 ; i ++ ) { x = IDENT_17 . METHOD_5 ( ) ; for ( int j = 0 ; j < IDENT_0 ; j ++ ) { y = IDENT_18 . METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } } } value ( double , double [ ] ) { METHOD_6 ( parameters ) ; final double a = parameters [ 0 ] ; final double b = parameters [ 1 ] ; final double c = parameters [ 2 ] ; final double d = parameters [ 3 ] ; final double IDENT_20 = x - c ; return a + ( b * ( java . lang . Math . exp ( ( ( ( - IDENT_20 ) * IDENT_20 ) / ( 2.0 * ( d * d ) ) ) ) ) ) ; }
org . junit . Assert . assertEquals ( f . value ( x , y ) , IDENT_11 . value ( x , y ) , IDENT_19 )