public class MathSmlk
extends java.lang.Object
Constructor and Description |
---|
MathSmlk() |
Modifier and Type | Method and Description |
---|---|
static double |
cos(double x)
Wrapper surround standard cos for double.
|
static float |
cos(float x)
A cos for float accuracy should be provide.
|
static float |
lim(float max,
float x,
float min) |
static double |
sin(double x)
Wrapper surround standard sin for double.
|
static float |
sin(float x)
A sin for float accuracy should be provide.
|
static double |
sqrt(double x) |
static float |
sqrt(float x) |
static double |
tan(double x) |
static float |
tan(float x) |
static float |
vec2RST(float[] rst,
float[] s,
float[] t)
Outputs the 3 elements from a vector to 3 scalar.
|
public static float lim(float max, float x, float min)
public static float cos(float x)
x
- public static double cos(double x)
x
- public static float sin(float x)
x
- public static double sin(double x)
x
- public static float tan(float x)
public static double tan(double x)
public static float sqrt(float x)
public static double sqrt(double x)
public static float vec2RST(float[] rst, float[] s, float[] t)
rst
- the vector, should have (at least) 3 elements.s
- second output, S-phaset
- third output, T-phase