Click or drag to resize

MathEx Class

Expanded set of basic mathematical operations.
Inheritance Hierarchy
SystemObject
  NeoAxisMathEx

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static class MathEx

The MathEx type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAbs
Public methodStatic memberAcos(Double)
Public methodStatic memberAcos(Single)
Public methodStatic memberAdd(Double, Double)
Public methodStatic memberAdd(Int32, Int32)
Public methodStatic memberAnd
Public methodStatic memberAsin(Double)
Public methodStatic memberAsin(Single)
Public methodStatic memberAtan(Double)
Public methodStatic memberAtan(Single)
Public methodStatic memberAtan2(Double, Double)
Public methodStatic memberAtan2(Single, Single)
Public methodStatic memberClamp(Double, Range)
Public methodStatic memberClamp(Byte, Byte, Byte)
Public methodStatic memberClamp(Byte, Byte, Byte)
Public methodStatic memberClamp(Double, Double, Double)
Public methodStatic memberClamp(Double, Double, Double)
Public methodStatic memberClamp(Int32, Int32, Int32)
Public methodStatic memberClamp(Int32, Int32, Int32)
Public methodStatic memberClamp(Single, Single, Single)
Public methodStatic memberClamp(Single, Single, Single)
Public methodStatic memberClamp(Degree, Degree, Degree)
Public methodStatic memberClamp(Degree, Degree, Degree)
Public methodStatic memberClamp(DegreeF, DegreeF, DegreeF)
Public methodStatic memberClamp(DegreeF, DegreeF, DegreeF)
Public methodStatic memberClamp(Radian, Radian, Radian)
Public methodStatic memberClamp(Radian, Radian, Radian)
Public methodStatic memberClamp(RadianF, RadianF, RadianF)
Public methodStatic memberClamp(RadianF, RadianF, RadianF)
Public methodStatic memberCos(Double)
Public methodStatic memberCos(Single)
Public methodStatic memberCosh(Double)
Public methodStatic memberCosh(Single)
Public methodStatic memberDegreeToRadian(Double)
Public methodStatic memberDegreeToRadian(Single)
Public methodStatic memberDegreeToRadian(Range)
Public methodStatic memberDegreeToRadian(RangeF)
Public methodStatic memberDivide(Double, Double)
Public methodStatic memberDivide(Int32, Int32)
Public methodStatic memberEquals(Boolean, Boolean)
Public methodStatic memberEquals(Double, Double)
Public methodStatic memberEquals(Int32, Int32)
Public methodStatic memberExp(Double)
Public methodStatic memberExp(Single)
Public methodStatic memberFloor
Public methodStatic memberGreaterThan(Double, Double)
Public methodStatic memberGreaterThan(Int32, Int32)
Public methodStatic memberGreaterThanOrEqual(Double, Double)
Public methodStatic memberGreaterThanOrEqual(Int32, Int32)
Public methodStatic memberInvSqrt
Public methodStatic memberLerp(Double, Double, Double)
Public methodStatic memberLerp(Single, Single, Single)
Public methodStatic memberLessThan(Double, Double)
Public methodStatic memberLessThan(Int32, Int32)
Public methodStatic memberLessThanOrEqual(Double, Double)
Public methodStatic memberLessThanOrEqual(Int32, Int32)
Public methodStatic memberLog(Double)
Public methodStatic memberLog(Single)
Public methodStatic memberLog(Single, Single)
Public methodStatic memberLog10(Double)
Public methodStatic memberLog10(Single)
Public methodStatic memberMax
Public methodStatic memberMin
Public methodStatic memberModulus(Double, Double)
Public methodStatic memberModulus(Int32, Int32)
Public methodStatic memberMultiply(Double, Double)
Public methodStatic memberMultiply(Int32, Int32)
Public methodStatic memberNegate(Double)
Public methodStatic memberNegate(Int32)
Public methodStatic memberNextPowerOfTwo(Int32)
Calculates the next highest power of two.
Public methodStatic memberNextPowerOfTwo(UInt32)
Calculates the next highest power of two.
Public methodStatic memberNot
Public methodStatic memberNotEquals(Boolean, Boolean)
Public methodStatic memberNotEquals(Double, Double)
Public methodStatic memberNotEquals(Int32, Int32)
Public methodStatic memberOr
Public methodStatic memberPow(Double, Double)
Public methodStatic memberPow(Single, Single)
Public methodStatic memberRadianNormalize180(Double)
Public methodStatic memberRadianNormalize180(Single)
Public methodStatic memberRadianNormalize360(Double)
Public methodStatic memberRadianNormalize360(Single)
Public methodStatic memberRadianToDegree(Double)
Public methodStatic memberRadianToDegree(Single)
Public methodStatic memberRadianToDegree(Range)
Public methodStatic memberRadianToDegree(RangeF)
Public methodStatic memberRound
Public methodStatic memberRoundToInteger
Public methodStatic memberSaturate(Decimal)
Public methodStatic memberSaturate(Decimal)
Public methodStatic memberSaturate(Double)
Public methodStatic memberSaturate(Double)
Public methodStatic memberSaturate(Single)
Public methodStatic memberSaturate(Single)
Public methodStatic memberSaturate(HalfType)
Public methodStatic memberSelect(Double, Double, Boolean)
Public methodStatic memberSelect(Int32, Int32, Boolean)
Public methodStatic memberSelect(Single, Single, Boolean)
Public methodStatic memberSin(Double)
Public methodStatic memberSin(Single)
Public methodStatic memberSinh(Double)
Public methodStatic memberSinh(Single)
Public methodStatic memberSqrt(Double)
Public methodStatic memberSqrt(Single)
Public methodStatic memberSquare(Double)
Public methodStatic memberSquare(Single)
Public methodStatic memberSubtract(Double, Double)
Public methodStatic memberSubtract(Int32, Int32)
Public methodStatic memberSwap(Double, Double)
Public methodStatic memberSwap(Single, Single)
Public methodStatic memberTan(Double)
Public methodStatic memberTan(Single)
Public methodStatic memberTanh(Double)
Public methodStatic memberTanh(Single)
Public methodStatic memberTransformMultiply
Public methodStatic memberXor
Top
Fields
  NameDescription
Public fieldStatic memberEpsilon
Public fieldStatic memberPI
Top
See Also