Difference between revisions of "Math"
From GiderosMobile
Line 7: | Line 7: | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Methods === | === Methods === | ||
− | [[math.abs]] | + | [[math.abs]] {{<translate>returns absolute value of v</translate>}}<br/> |
− | [[math.acos]] | + | [[math.acos]] {{<translate>returns arc cosine value of v in radians</translate>}}<br/> |
− | [[math.asin]] | + | [[math.asin]] {{<translate>returns arc sine value of v in radians</translate>}}<br/> |
− | [[math.atan]] | + | [[math.atan]] {{<translate>returns arc tangent value of v in radians</translate>}}<br/> |
− | [[math.atan2]] | + | [[math.atan2]] {{<translate>returns arc tangent value of v1/v2 in radians</translate>}}<br/> |
− | [[math.ceil]] | + | [[math.ceil]] {{<translate>returns smallest integer >= v</translate>}}<br/> |
− | [[math.cos]] | + | [[math.cos]] {{<translate>returns cosine value of angle rad</translate>}}<br/> |
− | [[math.deg]] | + | [[math.deg]] {{<translate>returns angle in degrees of radians rad</translate>}}<br/> |
− | [[math.exp]] | + | [[math.exp]] {{<translate>returns e^v</translate>}}<br/> |
− | [[math.floor]] | + | [[math.floor]] {{<translate>returns largest integer <= v</translate>}}<br/> |
− | [[math.fmod]] | + | [[math.fmod]] {{<translate>returns remainder of v1/v2 which is v1 - iV2 for some integer i</translate>}}<br/> |
− | [[math.frexp]] | + | [[math.frexp]] {{<translate>returns mantissa [0.5,1- and exponent values of v</translate>}}<br/> |
− | [[math.ldexp]] | + | [[math.ldexp]] {{<translate>returns v1*2^v2</translate>}}<br/> |
− | [[math.log]] | + | [[math.log]] {{<translate>returns natural logarithm of v</translate>}}<br/> |
− | [[math.log10]] | + | [[math.log10]] {{<translate>returns logarithm 10 of v</translate>}}<br/> |
− | [[math.max]] | + | [[math.max]] {{<translate>returns maximum in a list of one or more values</translate>}}<br/> |
− | [[math.min]] | + | [[math.min]] {{<translate>returns minimum in a list of one or more values</translate>}}<br/> |
− | [[math.pow]] | + | [[math.pow]] {{<translate>returns v1 raised to the power of v2</translate>}}<br/> |
− | [[math.rad]] | + | [[math.rad]] {{<translate>returns angle in radians of degrees deg</translate>}}<br/> |
− | [[math.random]] | + | [[math.random]] {{<translate>returns random real [0,1-, integer [1,n] or real [1,u](with n=1-</translate>}}<br/> |
− | [[math.randomseed]] | + | [[math.randomseed]] {{<translate>sets seed for pseudo-random number generator</translate>}}<br/> |
− | [[math.sin]] | + | [[math.sin]] {{<translate>returns sine value of angle rad</translate>}}<br/> |
− | [[math.sqrt]] | + | [[math.sqrt]] {{<translate>returns square root of v</translate>}}<br/> |
− | [[math.tan]] | + | [[math.tan]] {{<translate>returns tangent value of angle rad</translate>}}<br/> |
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Events === | === Events === |
Revision as of 14:19, 23 August 2018
Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6
Description
math table holds most commonly used math functions and constants