double function ( double arg0 ) { int loc0 = ( int ) ( arg0 / SIGMO_RANGE * sigmoPrecomputed . length + sigmoPrecomputed . length / 2 ) ; if ( loc0 < 0 ) return - 0.99 ; if ( loc0 >= sigmoPrecomputed . length ) return 0.99 ; return sigmoPrecomputed [ loc0 ] * 2 - 1.0 ; }
fast version of bipolar sigmoid function . concode_field_sep double sigmoPrecomputed[] concode_elem_sep double SIGMO_RANGE concode_field_sep double lim concode_elem_sep boolean insideInclusive concode_elem_sep double sqr concode_elem_sep int sqr concode_elem_sep double sigmoidUniFast concode_elem_sep boolean inside concode_elem_sep boolean inside concode_elem_sep double sigmoidBi concode_elem_sep double sigmoidUni