MathObject Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Provides constants and static methods for trigonometric functions, logarithmic functions, and other common mathematical functions. This class belongs to the built-in object model category.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

System.Object
  Microsoft.JScript.ScriptObject
    Microsoft.JScript.JSObject
      Microsoft.JScript.MathObject
        Microsoft.JScript.LenientMathObject

public class MathObject : JSObject

NameDescription
System_CAPS_pubpropertyItem[Double]

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a member of the script object that is designated by the specified Double index value.(Inherited from ScriptObject.)

System_CAPS_pubpropertyItem[Int32]

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a member of the script object that is designated by the specified Int32 index value.(Inherited from ScriptObject.)

System_CAPS_pubpropertyItem[Object[]]

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a member of the script object that is designated by the specified name, Double index value, or Int32 index value.(Inherited from ScriptObject.)

System_CAPS_pubpropertyItem[String]

This API supports the product infrastructure and is not intended to be used directly from your code. Gets or sets a member of the script object that is designated by the specified name.(Inherited from ScriptObject.)

System_CAPS_pubpropertyUnderlyingSystemType

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the type of the script object.(Inherited from ScriptObject.)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticabs(Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Calculates the absolute value of the specified number.

System_CAPS_pubmethodSystem_CAPS_staticacos(Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Calculates the inverse cosine of the specified number.

System_CAPS_pubmethodAddField(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds the specified field to the object.(Inherited from JSObject.)

System_CAPS_pubmethodSystem_CAPS_staticasin(Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Calculates the inverse sine of the specified number.

System_CAPS_pubmethodSystem_CAPS_staticatan(Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Calculates the inverse tangent of the specified number.

System_CAPS_pubmethodSystem_CAPS_staticatan2(Double, Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Calculates the inverse tangent of the quotient of the specified numbers.

System_CAPS_pubmethodSystem_CAPS_staticceil(Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Calculates the ceiling of the specified number, which is the smallest integer that is greater than or equal to the specified number.

System_CAPS_pubmethodSystem_CAPS_staticcos(Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Calculates the cosine of the specified angle.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticexp(Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Calculates the number e to the raised specified power, where e is Euler's constant, the base of the natural logarithm.

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticfloor(Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Calculates the floor of the specified number, which is the largest integer that is less than or equal to the specified number.

System_CAPS_pubmethodGetField(String, BindingFlags)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a field that has the specified name.(Inherited from ScriptObject.)

System_CAPS_pubmethodGetFields(BindingFlags)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets an array of FieldInfo objects that correspond to all fields of the current script object.(Inherited from ScriptObject.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetMember(String, BindingFlags)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets an array of MemberInfo objects that correspond to all members that match the specified name.(Inherited from JSObject.)

System_CAPS_pubmethodGetMembers(BindingFlags)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets an array of MemberInfo objects that correspond to all members of the current script object.(Inherited from JSObject.)

System_CAPS_pubmethodGetMethod(String, BindingFlags)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a method that has the specified name.(Inherited from ScriptObject.)

System_CAPS_pubmethodGetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[])

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a method that has the specified name by using the specified selection criteria.(Inherited from ScriptObject.)

System_CAPS_pubmethodGetMethods(BindingFlags)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets an array of MethodInfo objects that correspond to all methods of the current script object.(Inherited from ScriptObject.)

System_CAPS_pubmethodGetParent()

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a reference to the parent object.(Inherited from ScriptObject.)

System_CAPS_pubmethodGetProperties(BindingFlags)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets an array of PropertyInfo objects that correspond to all properties of the current script object.(Inherited from ScriptObject.)

System_CAPS_pubmethodGetProperty(String, BindingFlags)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a property that has the specified name.(Inherited from ScriptObject.)

System_CAPS_pubmethodGetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a property that has the specified name by using the specified selection criteria.(Inherited from ScriptObject.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[])

This API supports the product infrastructure and is not intended to be used directly from your code. Invokes the specified member.(Inherited from ScriptObject.)

System_CAPS_pubmethodSystem_CAPS_staticlog(Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Calculates the logarithm base e of the specified number, which is the natural logarithm of the specified number.

System_CAPS_pubmethodSystem_CAPS_staticmax(Object, Object, Object[])

This API supports the product infrastructure and is not intended to be used directly from your code. Returns the largest of two or more specified numbers.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticmin(Object, Object, Object[])

This API supports the product infrastructure and is not intended to be used directly from your code. Returns the smallest of two or more specified numbers.

System_CAPS_pubmethodSystem_CAPS_staticpow(Double, Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Calculates the specified number raised to the specified power.

System_CAPS_pubmethodSystem_CAPS_staticrandom()

This API supports the product infrastructure and is not intended to be used directly from your code. Generates a random number between 0 and 1. This method does not generate a cryptographically secure random number.

System_CAPS_pubmethodSystem_CAPS_staticround(Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Rounds the specified number down or up to the nearest integer.

System_CAPS_pubmethodSetMemberValue2(String, Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Sets the value of a field that was dynamically added to the object and stored in field_table.(Inherited from JSObject.)

System_CAPS_pubmethodSystem_CAPS_staticsin(Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Calculates the sine of the specified angle.

System_CAPS_pubmethodSystem_CAPS_staticsqrt(Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Calculates the square root of the specified number.

System_CAPS_pubmethodSystem_CAPS_statictan(Double)

This API supports the product infrastructure and is not intended to be used directly from your code. Calculates the tangent of the specified angle.

System_CAPS_pubmethodToString()

This API supports the product infrastructure and is not intended to be used directly from your code. Returns a string that represents the current object.(Inherited from JSObject.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticE

This API supports the product infrastructure and is not intended to be used directly from your code. Stores a value that represents Euler's constant, which is the base of the natural logarithm, specified by the constant e.

System_CAPS_pubfieldengine

This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to the scripting engine.(Inherited from ScriptObject.)

System_CAPS_protfieldfield_table

This API supports the product infrastructure and is not intended to be used directly from your code. Stores a list of fields that are dynamically added and removed from the object.(Inherited from JSObject.)

System_CAPS_pubfieldSystem_CAPS_staticLN10

This API supports the product infrastructure and is not intended to be used directly from your code. Stores a value that represents the logarithm base e of 10, the natural logarithm of 10.

System_CAPS_pubfieldSystem_CAPS_staticLN2

This API supports the product infrastructure and is not intended to be used directly from your code. Stores a value that represents the logarithm base e of 2, the natural logarithm of 2.

System_CAPS_pubfieldSystem_CAPS_staticLOG10E

This API supports the product infrastructure and is not intended to be used directly from your code. Stores a value that represents the logarithm base 10 of e, the common logarithm of e.

System_CAPS_pubfieldSystem_CAPS_staticLOG2E

This API supports the product infrastructure and is not intended to be used directly from your code. Stores a value that represents the logarithm base 2 of e, the binary logarithm of e.

System_CAPS_protfieldparent

This API supports the product infrastructure and is not intended to be used directly from your code. Stores a reference to the parent object.(Inherited from ScriptObject.)

System_CAPS_pubfieldSystem_CAPS_staticPI

This API supports the product infrastructure and is not intended to be used directly from your code. Stores a value that represents the ratio of the circumference of a circle to its diameter, specified by the constant π.

System_CAPS_pubfieldSystem_CAPS_staticSQRT1_2

This API supports the product infrastructure and is not intended to be used directly from your code. Stores a value that represents the following equivalent values: (√2)/2, √(½), and 1/(√2).

System_CAPS_pubfieldSystem_CAPS_staticSQRT2

This API supports the product infrastructure and is not intended to be used directly from your code. Stores a value that represents √2.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

This API supports the product infrastructure and is not intended to be used directly from your code. Returns an enumerator that iterates through the members of the object.(Inherited from JSObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIExpando.AddMethod(String, Delegate)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds the specified method to the object. IExpando.AddMethod is not implemented in JScript.(Inherited from JSObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIExpando.AddProperty(String)

This API supports the product infrastructure and is not intended to be used directly from your code. Adds the specified property to the object. This method is not implemented in JScript.(Inherited from JSObject.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIExpando.RemoveMember(MemberInfo)

This API supports the product infrastructure and is not intended to be used directly from your code. Removes the specified member from the object.(Inherited from JSObject.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: