BoundMath ClassEncog Machine Learning Framework for .Net
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.
Inheritance Hierarchy

System Object
  Encog.MathUtil BoundMath

Namespace: Encog.MathUtil
Assembly: encog-core-cs (in encog-core-cs.dll) Version: (

public static class BoundMath

The BoundMath type exposes the following members.


Public methodStatic memberCos
Calculate the cos.
Public methodStatic memberExp
Calculate the exp.
Public methodStatic memberLog
Calculate the log.
Public methodStatic memberPow
Calculate the power of a number.
Public methodStatic memberSin
Calculate the sin.
Public methodStatic memberSqrt
Calculate the square root.
See Also