org.encog.mathutil
public final class BoundMath extends Object
Modifier and Type | Method and Description |
---|---|
static double |
cos(double a)
Calculate the cos.
|
static double |
exp(double a)
Calculate the exp.
|
static double |
log(double a)
Calculate the log.
|
static double |
pow(double a,
double b)
Calculate the power of a number.
|
static double |
sin(double a)
Calculate the sin.
|
static double |
sqrt(double a)
Calculate the square root.
|
static double |
tanh(double d)
Calculate TANH, within bounds.
|
public static double cos(double a)
a
- The value passed to the function.public static double exp(double a)
a
- The value passed to the function.public static double log(double a)
a
- The value passed to the function.public static double pow(double a, double b)
a
- The base.b
- The exponent.public static double sin(double a)
a
- The value passed to the function.public static double sqrt(double a)
a
- The value passed to the function.public static double tanh(double d)
d
- The value to calculate for.Copyright © 2014. All Rights Reserved.