Here you can find the source of tanhFunction(double x)
public static double tanhFunction(double x)
//package com.java2s; //License from project: Apache License public class Main { public static double tanhFunction(double x) { return Math.tanh(x); }//w w w .ja va2 s .c o m }