Class Index | File Index

Classes


Built-In Namespace Math

Method Summary
Method Attributes Method Name and Description
<static>  
Math.average(list)
Calculates the average (mean) of a list of numbers.
<static>  
Math.mean()
Alias of average.
<static>  
Math.range(a, b)
Creates a range between two numbers.
<static>  
Math.sum(list)
Calculates the sum of a list of numbers.
Method Detail
<static> {Number} Math.average(list)
Calculates the average (mean) of a list of numbers.
Defined in: nativelib-dev.js.
Parameters:
{Array/Arguments} list
An array or argument list of numbers.
Returns:
{Number} Their average.

<static> Math.mean()
Alias of average.
Defined in: nativelib-dev.js.

<static> {Array} Math.range(a, b)
Creates a range between two numbers.
Defined in: nativelib-dev.js.
Parameters:
{Number} a
The start of the range.
{Number} b
The end of the range.
Returns:
{Array} The range.

<static> {Number} Math.sum(list)
Calculates the sum of a list of numbers.
Defined in: nativelib-dev.js.
Parameters:
{Array/Arguments} list
An array or argument list of numbers.
Returns:
{Number} Their sum.

Documentation generated by JsDoc Toolkit 2.3.3 on Sat Oct 16 2010 01:15:38 GMT-0400 (EDT)