Click or drag to resize
Accord.NET (logo)

Tools Class

Set of mathematical tools.
Inheritance Hierarchy
SystemObject
  Accord.MathTools

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static class Tools
Request Example View Source

The Tools type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberRandom Obsolete.
Gets a reference to the random number generator used internally by the Accord.NET classes and methods.
Top
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