Version

MathUtil Class Members

The following tables list the members exposed by MathUtil.

Public Fields
 NameDescription
Public FieldDegreeAsRadianConstant used for converting degrees to radians.  
Public Fieldstatic (Shared in Visual Basic)PHIRepresents the golden mean.  
Public Fieldstatic (Shared in Visual Basic)SQRT2Represents the square root of 2.0  
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)AsinhReturns the inverse hyperbolic sine of the specified angle.  
Public Methodstatic (Shared in Visual Basic)AverageArrayReturns average of values in the given numeric parameters  
Public Methodstatic (Shared in Visual Basic)ClampReturns the specified value clamped to the specified range.  
Public Methodstatic (Shared in Visual Basic)DegreesConverts the specified angle to degrees.  
Public Methodstatic (Shared in Visual Basic)HypotCalculates the length of the hypotenuse of a right-angled triangle based on the lengths of two sides x and y.  
Public Methodstatic (Shared in Visual Basic)IsPlotableCheck if specified values is not NaN nor infinity  
Public Methodstatic (Shared in Visual Basic)MaxReturns maximum of the given numeric parameters.  
Public Methodstatic (Shared in Visual Basic)Max3Returns maximum of the given three numeric values  
Public Methodstatic (Shared in Visual Basic)MaxArrayReturns maximum of the given numeric parameters.  
Public Methodstatic (Shared in Visual Basic)MinReturns minimum of the given numeric parameters.  
Public Methodstatic (Shared in Visual Basic)Min3Returns minimum of the given three numeric values  
Public Methodstatic (Shared in Visual Basic)MinArrayReturns minimum of the given numeric parameters.  
Public Methodstatic (Shared in Visual Basic)NumberToMinDecimalsStringReturns a string for a number ensuring a format to eliminate insignificant decimals  
Public Methodstatic (Shared in Visual Basic)RadiansConverts the specified angle to radians.  
Public Methodstatic (Shared in Visual Basic)SqrCalculates the square of a x.  
Public Methodstatic (Shared in Visual Basic)SumArrayReturns sum of the given numeric parameters  
See Also