Difference between revisions of "Namespace Guide math"
From MINR.ORG WIKI
(Created page with "= math = '''Status: STABLE (safe to use)''' == Functions == <div class="mw-collapsible mw-collapsed" style="border:1px solid #888888; padding:7px;> <div class="mw-collapsible...") |
|||
Line 3: | Line 3: | ||
== Functions == | == Functions == | ||
+ | === Function Categories === | ||
<div class="mw-collapsible mw-collapsed" style="border:1px solid #888888; padding:7px;> | <div class="mw-collapsible mw-collapsed" style="border:1px solid #888888; padding:7px;> | ||
+ | ==== Exponentiation (2) ==== | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
+ | * Double pow(Double base, Double exponent) | ||
+ | * Double sqrt(Double value) | ||
</div></div> | </div></div> | ||
− | |||
− | |||
− | |||
− | |||
<div class="mw-collapsible mw-collapsed" style="border:1px solid #888888; padding:7px;> | <div class="mw-collapsible mw-collapsed" style="border:1px solid #888888; padding:7px;> | ||
− | ==== | + | ==== Rounding/Mapping (3) ==== |
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
− | * | + | * Double abs(Double value) |
− | * | + | * Int floor(Double x) |
− | * | + | * Int ceil(Double x) |
− | |||
− | |||
− | |||
</div></div> | </div></div> | ||
+ | <div class="mw-collapsible mw-collapsed" style="border:1px solid #888888; padding:7px;> | ||
+ | ==== Random (5) ==== | ||
+ | <div class="mw-collapsible-content"> | ||
+ | '''Type-Bounded''' | ||
+ | * Int randomInt() | ||
+ | * Long randomLong() | ||
+ | * Float randomFloat() | ||
+ | * Double randomDouble() | ||
− | + | '''User-Bounded''' | |
− | + | * Double random(Double min, Double max) | |
− | |||
− | |||
</div></div> | </div></div> | ||
− | + | <div class="mw-collapsible mw-collapsed" style="border:1px solid #888888; padding:7px;> | |
− | <div class="mw-collapsible mw-collapsed" style="border:1px solid #888888; padding:7px; | + | ==== Trigonometry (14)==== |
− | ==== | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
− | + | '''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) | |
− | * | ||
− | * | ||
− | * | ||
− | |||
− | |||
− | |||
− | |||
</div></div> | </div></div> |
Revision as of 01:28, 30 April 2020
Contents
math
Status: STABLE (safe to use)
Functions
Function Categories
Exponentiation (2)
- Double pow(Double base, Double exponent)
- Double sqrt(Double value)
Rounding/Mapping (3)
- Double abs(Double value)
- Int floor(Double x)
- Int ceil(Double x)
Random (5)
Type-Bounded
- Int randomInt()
- Long randomLong()
- Float randomFloat()
- Double randomDouble()
User-Bounded
- Double random(Double min, Double max)
Trigonometry (14)
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)