UtilNumerics Class

Contains mathematic related utilities.

Definition

Namespace: DevCase.Core.Math.Common
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public sealed class UtilNumerics
Inheritance
Object    UtilNumerics

Methods

CalculateDistance2D Calculates the distance between two points in two dimensions in the coordinate system.
ConvertToFraction(Decimal, Double) Converts a decimal number to a Fraction.
ConvertToFraction(Double, Double) Converts a decimal number to a Fraction.
ConvertToFraction(Single, Double) Converts a decimal number to a Fraction.
DegreesToPoint Calculates a point that is at an angle from the origin point (0 is to the right)
Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetGreatestCommonDivisor(Byte) Gets the Greatest Common Divisor (GCD) of one or more values.

That is, the largest positive value that divides each of the given values. For example, the GCD of 8 and 12 is 4.

GetGreatestCommonDivisor(Decimal) Gets the Greatest Common Divisor (GCD) of one or more values.

That is, the largest positive value that divides each of the given values. For example, the GCD of 8 and 12 is 4.

GetGreatestCommonDivisor(Double) Gets the Greatest Common Divisor (GCD) of one or more values.

That is, the largest positive value that divides each of the given values. For example, the GCD of 8 and 12 is 4.

GetGreatestCommonDivisor(Int16) Gets the Greatest Common Divisor (GCD) of one or more values.

That is, the largest positive value that divides each of the given values. For example, the GCD of 8 and 12 is 4.

GetGreatestCommonDivisor(Int32) Gets the Greatest Common Divisor (GCD) of one or more values.

That is, the largest positive value that divides each of the given values. For example, the GCD of 8 and 12 is 4.

GetGreatestCommonDivisor(Int64) Gets the Greatest Common Divisor (GCD) of one or more values.

That is, the largest positive value that divides each of the given values. For example, the GCD of 8 and 12 is 4.

GetGreatestCommonDivisor(SByte) Gets the Greatest Common Divisor (GCD) of one or more values.

That is, the largest positive value that divides each of the given values. For example, the GCD of 8 and 12 is 4.

GetGreatestCommonDivisor(Single) Gets the Greatest Common Divisor (GCD) of one or more values.

That is, the largest positive value that divides each of the given values. For example, the GCD of 8 and 12 is 4.

GetGreatestCommonDivisor(UInt16) Gets the Greatest Common Divisor (GCD) of one or more values.

That is, the largest positive value that divides each of the given values. For example, the GCD of 8 and 12 is 4.

GetGreatestCommonDivisor(UInt32) Gets the Greatest Common Divisor (GCD) of one or more values.

That is, the largest positive value that divides each of the given values. For example, the GCD of 8 and 12 is 4.

GetGreatestCommonDivisor(UInt64) Gets the Greatest Common Divisor (GCD) of one or more values.

That is, the largest positive value that divides each of the given values. For example, the GCD of 8 and 12 is 4.

GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
PointToDegrees Calculates the angle at which the specified point is to the origin point (0 is to the right).

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also