Click or drag to resize

BasicFunctions Class

Provides basic mathematical helper functions.
Inheritance Hierarchy
SystemObject
  Altaxo.CalcBasicFunctions

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public class BasicFunctions

The BasicFunctions type exposes the following members.

Constructors
 NameDescription
Public methodBasicFunctionsInitializes a new instance of the BasicFunctions class
Top
Methods
 NameDescription
Public methodStatic memberCopySign Returns the first number with the sign of the second number.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberhypot(Double, Double, Double) The standard hypot() function for three arguments, taking care of overflows and divisions by zero.
Public methodStatic memberhypot(Single, Single, Single) The standard hypot() function for three arguments, taking care of overflows and divisions by zero.
Public methodStatic memberLogRel(Complex) Computes log(1 + z) with relative error accuracy near z = 0.
Public methodStatic memberLogRel(Double) Computes log(1 + x) with relative error accuracy near x = 0.
Public methodStatic memberLogRel(Complex, Boolean) Computes log(1 + z) with relative error accuracy near z = 0.
Public methodStatic memberLogRel(Double, Boolean) Computes log(1 + x) with relative error accuracy near x = 0.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberNint Rounds to the nearest integer.
Public methodStatic memberNumberOfWraps Calculates the number of wraps w. This is the number of range wraps that must be taken to go from start to start + offset.
Public methodStatic memberPMod Computes the modulus x % y, but with a result guaranteed to be greater than or equal to zero.
Public methodStatic membersign Returns -1 if the argument is negative, 0 if the argument is zero, or 1 if the argument is positive.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberDBL_EPSILON Represents the smallest number where 1 + DBL_EPSILON is not equal to 1.
Public fieldStatic memberDBL_MAX The largest positive Double value.
Public fieldStatic memberDBL_MIN The smallest positive Double value.
Top
See Also