public static final double sigma(double a){
  return 1.0 / (1.0 + Math.exp(-a));
}

public static final double sigma ( double a ) { return 1.0 / ( 1.0 + Math . exp ( - a ) ) ; }
sigmoid / logistic function
