Java Double Sign Check difSigmod(double x)

Here you can find the source of difSigmod(double x)

Description

dif Sigmod

License

Apache License

Declaration

public static double difSigmod(double x) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static double difSigmod(double x) {
        return sigmod(x) * (1.0 - sigmod(x));
    }//from  w w  w  . ja va  2 s .c  om

    public static double sigmod(double x) {
        return 1.0 / (1.0 + Math.exp(-x));
    }
}

Related

  1. sigmod(double x)