Expanded set of basic mathematical operations.
Inheritance Hierarchy
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public static class MathEx
The MathEx type exposes the following members.
Methods
| Name | Description |
---|
| Abs | |
| Acos(Double) | |
| Acos(Single) | |
| Add(Double, Double) | |
| Add(Int32, Int32) | |
| And | |
| Asin(Double) | |
| Asin(Single) | |
| Atan(Double) | |
| Atan(Single) | |
| Atan2(Double, Double) | |
| Atan2(Single, Single) | |
| Clamp(Double, Range) | |
| Clamp(Byte, Byte, Byte) | |
| Clamp(Byte, Byte, Byte) | |
| Clamp(Double, Double, Double) | |
| Clamp(Double, Double, Double) | |
| Clamp(Int32, Int32, Int32) | |
| Clamp(Int32, Int32, Int32) | |
| Clamp(Single, Single, Single) | |
| Clamp(Single, Single, Single) | |
| Clamp(Degree, Degree, Degree) | |
| Clamp(Degree, Degree, Degree) | |
| Clamp(DegreeF, DegreeF, DegreeF) | |
| Clamp(DegreeF, DegreeF, DegreeF) | |
| Clamp(Radian, Radian, Radian) | |
| Clamp(Radian, Radian, Radian) | |
| Clamp(RadianF, RadianF, RadianF) | |
| Clamp(RadianF, RadianF, RadianF) | |
| Cos(Double) | |
| Cos(Single) | |
| Cosh(Double) | |
| Cosh(Single) | |
| DegreeToRadian(Double) | |
| DegreeToRadian(Single) | |
| DegreeToRadian(Range) | |
| DegreeToRadian(RangeF) | |
| Divide(Double, Double) | |
| Divide(Int32, Int32) | |
| Equals(Boolean, Boolean) | |
| Equals(Double, Double) | |
| Equals(Int32, Int32) | |
| Exp(Double) | |
| Exp(Single) | |
| Floor | |
| GreaterThan(Double, Double) | |
| GreaterThan(Int32, Int32) | |
| GreaterThanOrEqual(Double, Double) | |
| GreaterThanOrEqual(Int32, Int32) | |
| InvSqrt | |
| Lerp(Double, Double, Double) | |
| Lerp(Single, Single, Single) | |
| LessThan(Double, Double) | |
| LessThan(Int32, Int32) | |
| LessThanOrEqual(Double, Double) | |
| LessThanOrEqual(Int32, Int32) | |
| Log(Double) | |
| Log(Single) | |
| Log(Single, Single) | |
| Log10(Double) | |
| Log10(Single) | |
| Max | |
| Min | |
| Modulus(Double, Double) | |
| Modulus(Int32, Int32) | |
| Multiply(Double, Double) | |
| Multiply(Int32, Int32) | |
| Negate(Double) | |
| Negate(Int32) | |
| NextPowerOfTwo(Int32) |
Calculates the next highest power of two.
|
| NextPowerOfTwo(UInt32) |
Calculates the next highest power of two.
|
| Not | |
| NotEquals(Boolean, Boolean) | |
| NotEquals(Double, Double) | |
| NotEquals(Int32, Int32) | |
| Or | |
| Pow(Double, Double) | |
| Pow(Single, Single) | |
| RadianNormalize180(Double) | |
| RadianNormalize180(Single) | |
| RadianNormalize360(Double) | |
| RadianNormalize360(Single) | |
| RadianToDegree(Double) | |
| RadianToDegree(Single) | |
| RadianToDegree(Range) | |
| RadianToDegree(RangeF) | |
| Round | |
| RoundToInteger | |
| Saturate(Decimal) | |
| Saturate(Decimal) | |
| Saturate(Double) | |
| Saturate(Double) | |
| Saturate(Single) | |
| Saturate(Single) | |
| Saturate(HalfType) | |
| Select(Double, Double, Boolean) | |
| Select(Int32, Int32, Boolean) | |
| Select(Single, Single, Boolean) | |
| Sin(Double) | |
| Sin(Single) | |
| Sinh(Double) | |
| Sinh(Single) | |
| Sqrt(Double) | |
| Sqrt(Single) | |
| Square(Double) | |
| Square(Single) | |
| Subtract(Double, Double) | |
| Subtract(Int32, Int32) | |
| Swap(Double, Double) | |
| Swap(Single, Single) | |
| Tan(Double) | |
| Tan(Single) | |
| Tanh(Double) | |
| Tanh(Single) | |
| TransformMultiply | |
| Xor | |
TopFields See Also