METHOD_0 ( ) { org . nd4j . linalg . api . ndarray . INDArray IDENT_0 = org . nd4j . linalg . factory . Nd4j . METHOD_1 ( 100 ) ; double [ ] IDENT_1 = new double [ 100 ] ; for ( int i = 0 ; i < 100 ; i ++ ) { double x = FLOAT_0 * ( i - 50 ) ; IDENT_0 . METHOD_2 ( i , x ) ; IDENT_1 [ i ] = ( ( java . lang . Math . METHOD_3 ( x ) ) <= 1.0 ) ? 1 : 0 ; } org . nd4j . linalg . api . ndarray . INDArray IDENT_2 = org . nd4j . linalg . factory . Nd4j . METHOD_4 ( ) . METHOD_5 ( new org . nd4j . linalg . IDENT_3 . METHOD_6 ( IDENT_0 ) ) ; for ( int i = 0 ; i < 100 ; i ++ ) { "<AssertPlaceHolder>" ; } } METHOD_7 ( long ) { org . nd4j . linalg . factory . Nd4j . METHOD_8 ( ) . METHOD_9 ( this ) ; if ( i >= ( length ( ) ) ) { throw new java . lang . IllegalArgumentException ( ( STRING_0 + ( length ( ) ) ) ) ; } METHOD_10 ( ) ; if ( i == 0 ) return data ( ) . METHOD_7 ( i ) ; long [ ] IDENT_4 = ( ( METHOD_11 ( ) ) == STRING_1 ) ? org . nd4j . linalg . api . IDENT_5 . IDENT_6 . METHOD_12 ( this , i ) : org . nd4j . linalg . api . IDENT_5 . IDENT_6 . METHOD_13 ( this , i ) ; org . nd4j . linalg . api . IDENT_5 . IDENT_6 . METHOD_14 ( IDENT_4 , METHOD_15 ( ) ) ; return METHOD_7 ( IDENT_4 ) ; }
org . junit . Assert . assertEquals ( IDENT_1 [ i ] , IDENT_2 . METHOD_7 ( i ) , FLOAT_0 )