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 ] ) ; } } org . apache . commons . math3 . analysis . IDENT_6 . IDENT_7 IDENT_8 = new org . apache . commons . math3 . analysis . IDENT_6 . METHOD_2 ( ) ; org . apache . commons . math3 . analysis . METHOD_1 p = IDENT_8 . METHOD_3 ( IDENT_1 , IDENT_2 , IDENT_5 ) ; double x ; double y ; final org . apache . commons . math3 . random . IDENT_9 IDENT_10 = new org . apache . commons . math3 . random . METHOD_4 ( INT_2 ) ; final org . apache . commons . math3 . IDENT_11 . IDENT_12 IDENT_13 = new org . apache . commons . math3 . IDENT_11 . METHOD_5 ( IDENT_10 , IDENT_1 [ 0 ] , IDENT_1 [ ( ( IDENT_1 . length ) - 1 ) ] ) ; final org . apache . commons . math3 . IDENT_11 . METHOD_5 IDENT_14 = new org . apache . commons . math3 . IDENT_11 . METHOD_5 ( IDENT_10 , IDENT_2 [ 0 ] , IDENT_2 [ ( ( IDENT_2 . length ) - 1 ) ] ) ; final int IDENT_15 = 50 ; final double IDENT_16 = FLOAT_0 ; for ( int i = 0 ; i < IDENT_15 ; i ++ ) { x = IDENT_13 . METHOD_6 ( ) ; for ( int j = 0 ; j < IDENT_15 ; j ++ ) { y = IDENT_14 . METHOD_6 ( ) ; "<AssertPlaceHolder>" ; } } } value ( double , double [ ] ) { METHOD_7 ( parameters ) ; final double a = parameters [ 0 ] ; final double b = parameters [ 1 ] ; final double c = parameters [ 2 ] ; final double d = parameters [ 3 ] ; final double IDENT_17 = x - c ; return a + ( b * ( java . lang . Math . exp ( ( ( ( - IDENT_17 ) * IDENT_17 ) / ( 2.0 * ( d * d ) ) ) ) ) ) ; }
org . junit . Assert . assertEquals ( f . value ( x , y ) , p . value ( x , y ) , IDENT_16 )