Math
Overview
Math operations class.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
constructor
constructor
Math()
init()
Math()
Sub New()
Returns the absolute value for a double.
Parameters:
- i:
Returns the absolute value for an int32.
Parameters:
- i:
Returns the absolute value for a int64.
Parameters:
- i:
Acos
Returns the arc cosine value for a double.
Parameters:
- d:
Asin
Return the arc sine of d, in radians.
Parameters:
- d:
Atan
Return the arc tangent of d, in radians.
Parameters:
- d:
Atan2
The Math.Stan2 function returns the arctangent of the quotient of x.
Parameters:
- x:
- y:
Returns the ceiling of d, the smallest integer greater than or equal to d.
Parameters:
- d:
Returns the ceiling of d, the smallest integer greater than or equal to d.
Parameters:
- d:
Cos
Returns the cosine value of d.
Parameters:
- d:
Cosh
Return the hyperbolic cosine of d.
Parameters:
- d:
E
Returns the base of natural logarithms, e, approximately 2.718.
const E: Double = 2,71828182845905;
const Double E = 2,71828182845905
static let E: Double = 2,71828182845905
static final Double E = 2,71828182845905
Dim E As Double = 2,71828182845905
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Exp
Returns e ^^ x.
Parameters:
- d:
Exp2
Returns the base2 exponent of d, 2^^ e.
Parameters:
- d:
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
Returns the Floor of d, the smallest integer less than or equal to d.
Parameters:
- d:
Returns the Floor of d, the smallest integer less than or equal to d.
Parameters:
- d:
fmod
Returns the float mod value of x mod y.
Parameters:
- x:
- y:
fmodf
Returns the float mod value of x mod y.
Parameters:
- x:
- y:
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
IEEERemainder
Returns the remainder according to the IEEE spec.
Parameters:
- x:
- y:
Log
Returns the logarithm of a.
Parameters:
- a:
Log10
Returns the base 10 logarithm of a.
Parameters:
- a:
Log2
Returns the base 2 logarithm of a.
Parameters:
- a:
Returns the max of a and b.
Parameters:
- a:
- b:
Returns the max of a and b.
Parameters:
- a:
- b:
Returns the max of a and b.
Parameters:
- a:
- b:
Returns the min of a and b.
Parameters:
- a:
- b:
Returns the min of a and b.
Parameters:
- a:
- b:
Returns the min of a and b.
Parameters:
- a:
- b:
PI
Returns the PI value, ~ 3.14.
const PI: Double = 3,14159265358979;
const Double PI = 3,14159265358979
static let PI: Double = 3,14159265358979
static final Double PI = 3,14159265358979
Dim PI As Double = 3,14159265358979
Returns the power of x and y: x**y
Parameters:
- x:
- y:
Returns the power of x and y: x**y
Parameters:
- x:
- y:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
Round
Parameters:
- a:
Sign
Returns the sign of d.
Parameters:
- d:
Sin
Returns the sine of x.
Parameters:
- x:
Sinh
Returns the hyperbolic sine of x.
Parameters:
- x:
Sqrt
Returns the square root of d.
Parameters:
- d:
Tan
Returns the tangent of d.
Parameters:
- d:
Tanh
Returns the hyperbolic tangent of d.
Parameters:
- d:
ToString virtual (declared in Object)
Gets the string representation of this method.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Gets the integeral value of d.
Parameters:
- d:
Gets the integeral value of d.
Parameters:
- d:
E
Returns the base of natural logarithms, e, approximately 2.718.
const E: Double = 2,71828182845905;
const Double E = 2,71828182845905
static let E: Double = 2,71828182845905
static final Double E = 2,71828182845905
Dim E As Double = 2,71828182845905
PI
Returns the PI value, ~ 3.14.
Returns the absolute value for a double.
Parameters:
- i:
Returns the absolute value for an int32.
Parameters:
- i:
Returns the absolute value for a int64.
Parameters:
- i:
Acos
Returns the arc cosine value for a double.
Parameters:
- d:
Asin
Return the arc sine of d, in radians.
Parameters:
- d:
Atan
Return the arc tangent of d, in radians.
Parameters:
- d:
Atan2
The Math.Stan2 function returns the arctangent of the quotient of x.
Parameters:
- x:
- y:
Returns the ceiling of d, the smallest integer greater than or equal to d.
Parameters:
- d:
Returns the ceiling of d, the smallest integer greater than or equal to d.
Parameters:
- d:
Cos
Returns the cosine value of d.
Parameters:
- d:
Cosh
Return the hyperbolic cosine of d.
Parameters:
- d:
Exp
Returns e ^^ x.
Parameters:
- d:
Exp2
Returns the base2 exponent of d, 2^^ e.
Parameters:
- d:
Returns the Floor of d, the smallest integer less than or equal to d.
Parameters:
- d:
Returns the Floor of d, the smallest integer less than or equal to d.
Parameters:
- d:
fmod
Returns the float mod value of x mod y.
Parameters:
- x:
- y:
fmodf
Returns the float mod value of x mod y.
Parameters:
- x:
- y:
IEEERemainder
Returns the remainder according to the IEEE spec.
Parameters:
- x:
- y:
Log
Returns the logarithm of a.
Parameters:
- a:
Log10
Returns the base 10 logarithm of a.
Parameters:
- a:
Log2
Returns the base 2 logarithm of a.
Parameters:
- a:
Returns the max of a and b.
Parameters:
- a:
- b:
Returns the max of a and b.
Parameters:
- a:
- b:
Returns the max of a and b.
Parameters:
- a:
- b:
Returns the min of a and b.
Parameters:
- a:
- b:
Returns the min of a and b.
Parameters:
- a:
- b:
Returns the min of a and b.
Parameters:
- a:
- b:
Returns the power of x and y: x**y
Parameters:
- x:
- y:
Returns the power of x and y: x**y
Parameters:
- x:
- y:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
Round
Parameters:
- a:
Sign
Returns the sign of d.
Parameters:
- d:
Sin
Returns the sine of x.
Parameters:
- x:
Sinh
Returns the hyperbolic sine of x.
Parameters:
- x:
Sqrt
Returns the square root of d.
Parameters:
- d:
Tan
Returns the tangent of d.
Parameters:
- d:
Tanh
Returns the hyperbolic tangent of d.
Parameters:
- d:
Gets the integeral value of d.
Parameters:
- d:
Gets the integeral value of d.
Parameters:
- d:
constructor
constructor
Math()
init()
Math()
Sub New()
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
ToString virtual (declared in Object)
Gets the string representation of this method.