Difference between revisions of "Namespace Guide math"
From MINR.ORG WIKI
(One intermediate revision by the same user not shown) | |
(No difference)
|
Latest revision as of 20:44, 30 April 2020
Contents
math[edit]
Status: STABLE (safe to use)
Functions[edit]
Function Categories[edit]
Exponentiation (2)[edit]
- Double pow(Double base, Double exponent)
- Double sqrt(Double value)
Rounding/Mapping (3)[edit]
- Double abs(Double value)
- Int floor(Double x)
- Int ceil(Double x)
Random Number Generation (5)[edit]
Type-Bounded
- Int randomInt()
- Long randomLong()
- Float randomFloat()
- Double randomDouble()
User-Bounded
- Double random(Double min, Double max)
Trigonometry (14)[edit]
Conversions
- Double deg(Double x)
- Double rad(Double x)
Basic Functions (Degrees)
- Double sin(Double x)
- Double cos(Double x)
- Double tan(Double x)
Inverse Functions (Degrees)
- Double arcsin(Double x)
- Double arccos(Double x)
- Double arctan(Double x)
Basic Functions (Radians)
- Double radsin(Double x)
- Double radcos(Double x)
- Double radtan(Double x)
Inverse Functions (Radians)
- Double radarcsin(Double x)
- Double radarccos(Double x)
- Double radarctan(Double x)