Math Class
Augments built-in JavaScript Math namespace with additional mathematical functions.
Item Index
Methods
- acosh static
- add static
- addReciprocals static
- asinh static
- atanh static
- cosh static
- degreesToRadians static
- multiply static
- parallel static
- radiansToDegrees static
- roundTo static
- sign static
- sinh static
- tanh static
Methods
add
()
Number
static
Returns:
Number:
sum of all the arguments (either passed separately or as an array)
addReciprocals
()
Number
static
Returns:
Number:
sum of the reciprocals of all the arguments (either passed separately or as an array)
degreesToRadians
(
Number
static
-
a
Parameters:
-
a
Numberangle in degrees
Returns:
Number:
angle in radians
multiply
()
Number
static
Returns:
Number:
product of all the arguments (either passed separately or as an array)
parallel
()
Number
static
Returns:
Number:
net value of N resistors in parallel (either passed separately or as an array)