METHOD_0 ( ) { final double [ ] IDENT_0 = new double [ ] { 0 , 1 , 2 , 3 , 4 , 5 } ; final double [ ] IDENT_1 = new double [ ] { 1 , 1 , 1 , 1 , 1 , 1 } ; final org . hipparchus . analysis . integration . IDENT_2 . IDENT_3 IDENT_4 = new org . hipparchus . analysis . integration . IDENT_2 . METHOD_1 ( new org . hipparchus . util . IDENT_5 < double [ ] , double [ ] > ( IDENT_0 , IDENT_1 ) ) ; final double val = FLOAT_0 ; final org . hipparchus . analysis . IDENT_6 c = new org . hipparchus . analysis . function . METHOD_2 ( val ) ; final double s = IDENT_4 . METHOD_3 ( c ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . hipparchus . analysis . IDENT_6 ) { double s = 0 ; double c = 0 ; for ( int i = 0 ; i < ( IDENT_0 . length ) ; i ++ ) { final double x = IDENT_0 [ i ] ; final double IDENT_7 = IDENT_1 [ i ] ; final double y = ( IDENT_7 * ( f . value ( x ) ) ) - c ; final double t = s + y ; c = ( t - s ) - y ; s = t ; } return s ; }
org . junit . Assert . assertEquals ( ( ( IDENT_0 . length ) * val ) , s , 0.0 )