Click or drag to resize
Accord.NET (logo)

Tools Methods

The Tools type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAcosh
Returns the hyperbolic arc cosine of the specified value.
Public methodStatic memberAngle(Double, Double)
Gets the angle formed by the vector [x,y].
Public methodStatic memberAngle(Single, Single)
Gets the angle formed by the vector [x,y].
Public methodStatic memberAngle(IntPoint, IntPoint)
Gets the displacement angle between two points.
Public methodStatic memberAsinh
Returns the hyperbolic arc sine of the specified value.
Public methodStatic memberAtanh
Returns the hyperbolic arc tangent of the specified value.
Public methodStatic memberDirection
Gets the displacement angle between two points, coded as an integer varying from 0 to 20.
Public methodStatic memberFactorialPower
Returns the factorial falling power of the specified value.
Public methodStatic memberGreatestCommonDivisor
Gets the greatest common divisor between two integers.
Public methodStatic memberHypotenuse(Decimal, Decimal)
Hypotenuse calculus without overflow/underflow
Public methodStatic memberHypotenuse(Double, Double)
Hypotenuse calculus without overflow/underflow
Public methodStatic memberHypotenuse(Single, Single)
Hypotenuse calculus without overflow/underflow
Public methodStatic memberInterpolate1D
Interpolates data using a piece-wise linear function.
Public methodStatic memberInvSqrt
Fast inverse floating-point square root.
Public methodStatic memberIsPowerOf2
Checks if the specified integer is power of 2.
Public methodStatic memberLog2
Get base of binary logarithm.
Public methodStatic memberMax
Gets the maximum value among three values.
Public methodStatic memberMin
Gets the minimum value among three values.
Public methodStatic memberMod(Double, Double)
Gets the proper modulus operation for a real value x and modulo m.
Public methodStatic memberMod(Int32, Int32)
Gets the proper modulus operation for an integer value x and modulo m.
Public methodStatic memberNextPowerOf2
Returns the next power of 2 after the input value x.
Public methodStatic memberPow2
Calculates power of 2.
Public methodStatic memberPreviousPowerOf2
Returns the previous power of 2 after the input value x.
Public methodStatic memberScale(Double, Double, Double) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberScale(Double, Double, Double) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberScale(Double, Double, Double) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberScale(DoubleRange, DoubleRange, Double) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberScale(DoubleRange, DoubleRange, Double) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberScale(IntRange, DoubleRange, Int32) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberScale(IntRange, IntRange, Int32) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberScale(IntRange, IntRange, Int32) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberScale(Range, Range, Single) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberScale(Double, Double, Double, Double, Double) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberScale(Double, Double, Double, Double, Double) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberScale(Double, Double, Double, Double, Double) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberScale(Double, Double, Double, Double, Double) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberScale(Double, Double, Double, Double, Double) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberScale(Int32, Int32, Int32, Int32, Int32) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberScale(Single, Single, Single, Single, Single) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberScale(Single, Single, Single, Single, Single) Obsolete.
Converts the value x (which is measured in the scale 'from') to another value measured in the scale 'to'.
Public methodStatic memberSetupGenerator Obsolete.
Sets a random seed for the framework's main internal number generator.
Public methodStatic memberSqrt
Returns the square root of the specified Decimal number.
Public methodStatic memberStableSortT(T) Obsolete.
Sorts the elements of an entire one-dimensional array using the given comparison.
Public methodStatic memberStableSortT(T, ComparisonT) Obsolete.
Sorts the elements of an entire one-dimensional array using the given comparison.
Public methodStatic memberStableSortT(T, Int32) Obsolete.
Sorts the elements of an entire one-dimensional array using the given comparison.
Public methodStatic memberTruncatedPower
Truncated power function.
Top
See Also