MoreMath Class

Contains additional basic math operations.

Definition

Namespace: Meta.Numerics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static class MoreMath
Inheritance
Object    MoreMath

Remarks

The Math class defines many basic math operations, but a few that are important for optimal numerical practice are missing. They are defined by this class.

Methods

Cos Computes the cosine of the given value to full significance over the full range of arguments.
CosPi Computes the cosine of the given multiple of π.
ExpMinusOne Computes ex-1.
Hypot Computes the length of a right triangle's hypotenuse.
LogOnePlus Computes log(1+x).
Midpoint Computes the midpoint of two integers.
Mod Returns the value of n mod m.
Pow Raises an argument to an integer power.
Sin Computes the sine of the given value to full significance over the full range of arguments.
Sinc Computes the sinc function.
SincPi Computes the sinc of the given multiple of π.
SinPi Computes the sine of the given multiple of π.
Sqr Computes x2.
TanPi Computes the tangent of the given multiple of π.

Fields

Degrees The conversion factor from degrees to radians.

See Also