A B C E F H I L M N P Q R S T 

A

abs(float) - Static method in class mikera.util.mathz.FloatMaths
float abs function
alternateSqrt(float) - Static method in class mikera.util.mathz.FloatMaths
Interesting way to approximate a square root....
AlternativeMaths - Class in mikera.util.mathz
Mostly experimental.
AlternativeMaths() - Constructor for class mikera.util.mathz.AlternativeMaths
 
approxSqrt(float) - Static method in class mikera.util.mathz.FloatMaths
Fast approximate square root

B

bound(double, double, double) - Static method in class mikera.util.Maths
Bound a value within a given range
bound(float, float, float) - Static method in class mikera.util.Maths
Bound a value within a given range
bound(int, int, int) - Static method in class mikera.util.Maths
Bound a value within a given range
bound(float, float, float) - Static method in class mikera.util.mathz.FloatMaths
Bound a value within a given range

C

clampToInteger(double, int, int) - Static method in class mikera.util.Maths
Clamp a double value to an integer range
clampToInteger(float, int, int) - Static method in class mikera.util.Maths
Clamp a float value to an integer range
cos(double) - Static method in class mikera.util.mathz.FloatMaths
Float-returning version of Math.cos
cos(float) - Static method in class mikera.util.mathz.FloatMaths
Float-returning version of Math.cos

E

E - Static variable in class mikera.util.Maths
mathematical constant e

F

fastInverseSqrt(float) - Static method in class mikera.util.mathz.FloatMaths
Fast inverse square root on floats - amusing hack used in Quake
fastPower(float, float) - Static method in class mikera.util.mathz.FloatMaths
Computes a fast approximation to Math.pow(a, b).
FloatMaths - Class in mikera.util.mathz
Static class for specialised maths functions that return floats
FloatMaths() - Constructor for class mikera.util.mathz.FloatMaths
 
frac(float) - Static method in class mikera.util.Maths
Return the (always non-negative) fractional part of a number
frac(double) - Static method in class mikera.util.Maths
Return the (always non-negative) fractional part of a number

H

HALF_PI - Static variable in class mikera.util.Maths
 

I

inverseSigmoid(float) - Static method in class mikera.util.Maths
 

L

lerp(double, double, double) - Static method in class mikera.util.Maths
Linear interpolation between a and b
lerp(float, float, float) - Static method in class mikera.util.mathz.FloatMaths
Linear interpolation between a and b

M

Maths - Class in mikera.util
Helpful maths functions Focus on using floats rather than doubles for speed
Maths() - Constructor for class mikera.util.Maths
 
MathsException - Exception in mikera.util.mathz
 
MathsException(String) - Constructor for exception mikera.util.mathz.MathsException
 
MathsException(Throwable) - Constructor for exception mikera.util.mathz.MathsException
 
max(double, double, double) - Static method in class mikera.util.Maths
Return the maximum of three values
max(float, float, float) - Static method in class mikera.util.Maths
Return the maximum of three values
max(float, float, float, float) - Static method in class mikera.util.Maths
Return the maximum of four values
max(int, int) - Static method in class mikera.util.Maths
Return the maximum of two numbers
max(float, float) - Static method in class mikera.util.Maths
Return the maximum of two numbers
max(int, int, int) - Static method in class mikera.util.Maths
Return the maximum of three numbers
max2(int, int) - Static method in class mikera.util.mathz.AlternativeMaths
Branchless max for ints
middle(int, int, int) - Static method in class mikera.util.Maths
Return the middle value of 3 numbers Can use faster "bound" method if first and last parameters are in order
middle(float, float, float) - Static method in class mikera.util.Maths
Return the middle value of 3 numbers Can use faster "bound" method if first and last parameters are in order
mikera.util - package mikera.util
 
mikera.util.mathz - package mikera.util.mathz
 
min(double, double, double) - Static method in class mikera.util.Maths
Return the minimum of three values
min(float, float, float) - Static method in class mikera.util.Maths
Return the minimum of three values
min(float, float, float, float) - Static method in class mikera.util.Maths
Return the minimum of four values
min(int, int) - Static method in class mikera.util.Maths
Return the minimum of two numbers
min(float, float) - Static method in class mikera.util.Maths
Return the minimum of two numbers
min(int, int, int) - Static method in class mikera.util.Maths
Return the minimum of three numbers
min2(int, int) - Static method in class mikera.util.mathz.AlternativeMaths
Branchless min for ints
mod(int, int) - Static method in class mikera.util.Maths
Integer modulus function
mod(double, double) - Static method in class mikera.util.Maths
Double mod function with fractional divisor
mod(float, float) - Static method in class mikera.util.mathz.FloatMaths
Mod function implemented for float values
modPower32Bit(int, int) - Static method in class mikera.util.Maths
Returns (x^pow) mod (2^32) as an int

N

notNearZero(double) - Static method in class mikera.util.Maths
Tests whether a value is near zero, to a default tolerance level

P

PI - Static variable in class mikera.util.Maths
Mathematical constant Pi = 3.1415926...
productOfNormalsStandardDeviation(double, double, double, double) - Method in class mikera.util.Statistics
 

Q

quantize(long, long, long) - Static method in class mikera.util.Maths
Detects the number of times that boundary is passed when adding increase to base
QUARTER_PI - Static variable in class mikera.util.Maths
 

R

ROOT_THREE - Static variable in class mikera.util.Maths
 
ROOT_TWO - Static variable in class mikera.util.Maths
 
round(float, int) - Static method in class mikera.util.mathz.FloatMaths
Float round to a specified number of decimal places
roundDown(double) - Static method in class mikera.util.Maths
Rounds down (integer floor) of a double value
roundDown(float) - Static method in class mikera.util.Maths
Round down to next smallest integer (towards negative infinity)
roundUp(double) - Static method in class mikera.util.Maths
Round up to next integer
roundUp(Number) - Static method in class mikera.util.Maths
Round up to next integer
roundUp(float) - Static method in class mikera.util.Maths
Round up to next integer

S

sigmoid(float) - Static method in class mikera.util.Maths
 
sigmoid(double) - Static method in class mikera.util.Maths
 
sigmoidDerivative(float) - Static method in class mikera.util.Maths
 
sign(double) - Static method in class mikera.util.Maths
Return the sign of a double value
sign(float) - Static method in class mikera.util.Maths
Return the sign of a float value
sign(int) - Static method in class mikera.util.Maths
Return the sign of an int value
sign(long) - Static method in class mikera.util.Maths
Return the sign of a long value
sign2(int) - Static method in class mikera.util.Maths
Mike's fast integer sign algorithm
sign2fast(int) - Static method in class mikera.util.mathz.AlternativeMaths
Fast branchless integer sign Not correct for MIN_INTEGER - but valid for all other int values
sin(double) - Static method in class mikera.util.mathz.FloatMaths
Float-returning version of Math.sin
sin(float) - Static method in class mikera.util.mathz.FloatMaths
Float-returning version of Math.sin
smoothFactor(float) - Static method in class mikera.util.mathz.FloatMaths
Smooth factor function for linear interpolation, with dy/dx=0 at x=0 and x=1
smoothStep(float, float, float) - Static method in class mikera.util.mathz.FloatMaths
 
softMaximum(double, double) - Static method in class mikera.util.Maths
Soft maximum function
softplus(double) - Static method in class mikera.util.Maths
 
sqrt(float) - Static method in class mikera.util.Maths
 
sqrt(double) - Static method in class mikera.util.Maths
 
square(byte) - Static method in class mikera.util.Maths
Return the square of a number
square(int) - Static method in class mikera.util.Maths
Return the square of a number
square(float) - Static method in class mikera.util.Maths
Return the square of a number
square(double) - Static method in class mikera.util.Maths
Return the square of a number
square(float) - Static method in class mikera.util.mathz.FloatMaths
Square function
Statistics - Class in mikera.util
 
Statistics() - Constructor for class mikera.util.Statistics
 

T

tanh(float) - Static method in class mikera.util.Maths
 
tanh(double) - Static method in class mikera.util.Maths
 
tanhDerivative(float) - Static method in class mikera.util.Maths
 
tanhScaled(double) - Static method in class mikera.util.Maths
 
tanhScaledDerivative(double) - Static method in class mikera.util.Maths
 
TAU - Static variable in class mikera.util.Maths
Mathematical constant Tau = 2 * Pi
triangleWave(double) - Static method in class mikera.util.Maths
Triangle wave with wavelength 1.0, and range 0.0 - 1.0
TWO_PI - Static variable in class mikera.util.Maths
 
A B C E F H I L M N P Q R S T 

Copyright © 2013. All Rights Reserved.