C# 클래스 Encog.MathUtil.BoundMath

C# will sometimes return Math.NaN or Math.Infinity when numbers get to large or too small. This can have undesirable effects. This class provides some basic math functions that may be in danger of returning such a value. This class imposes a very large and small ceiling and floor to keep the numbers within range.
파일 보기 프로젝트 열기: encog/encog-silverlight-core

공개 메소드들

메소드 설명
Cos ( double a ) : double

Calculate the cos.

Exp ( double a ) : double

Calculate the exp.

Log ( double a ) : double

Calculate the log.

Pow ( double a, double b ) : double

Calculate the power of a number.

Sin ( double a ) : double

Calculate the sin.

Sqrt ( double a ) : double

Calculate the square root.

메소드 상세

Cos() 공개 정적인 메소드

Calculate the cos.
public static Cos ( double a ) : double
a double The value passed to the function.
리턴 double

Exp() 공개 정적인 메소드

Calculate the exp.
public static Exp ( double a ) : double
a double The value passed to the function.
리턴 double

Log() 공개 정적인 메소드

Calculate the log.
public static Log ( double a ) : double
a double The value passed to the function.
리턴 double

Pow() 공개 정적인 메소드

Calculate the power of a number.
public static Pow ( double a, double b ) : double
a double The base.
b double The exponent.
리턴 double

Sin() 공개 정적인 메소드

Calculate the sin.
public static Sin ( double a ) : double
a double The value passed to the function.
리턴 double

Sqrt() 공개 정적인 메소드

Calculate the square root.
public static Sqrt ( double a ) : double
a double The value passed to the function.
리턴 double