C# Class Encog.MathUtil.EncogMath

Math functions used by Encog.
Datei anzeigen Open project: encog/encog-silverlight-core

Public Methods

Method Description
Deg2Rad ( double deg ) : double

Convert degrees to radians.

Hypot ( double a, double b ) : double

Calculate sqrt(a^2 + b^2) without under/overflow.

Rad2Deg ( double rad ) : double

Convert radians to degrees.

Method Details

Deg2Rad() public static method

Convert degrees to radians.
public static Deg2Rad ( double deg ) : double
deg double Degrees
return double

Hypot() public static method

Calculate sqrt(a^2 + b^2) without under/overflow.
public static Hypot ( double a, double b ) : double
a double The a value.
b double The b value.
return double

Rad2Deg() public static method

Convert radians to degrees.
public static Rad2Deg ( double rad ) : double
rad double Radians.
return double