public class MarsMath
extends java.lang.Object
Constructor and Description |
---|
MarsMath() |
Modifier and Type | Method and Description |
---|---|
static double[] |
calculateForceAndLength(double variance) |
static double[] |
calculateForceAndLength(double persistenceLength,
double L0,
double temperature,
double variance) |
static java.math.BigInteger |
fnv1a_64(byte[] data) |
static java.lang.String |
getFNV1aBase58(java.lang.String str) |
static java.util.UUID |
getUUID(java.lang.String uuid58) |
static java.lang.String |
getUUID58() |
static java.lang.String |
getUUID58(java.lang.String uuid) |
static double[] |
linearRegression(double[] xData,
double[] yData,
int offset,
int length) |
static double |
round(double input,
int decimalPlacePrecision) |
static double[] |
roundArray(double[] input,
int decimalPlacePrecision) |
public static double round(double input, int decimalPlacePrecision)
public static double[] roundArray(double[] input, int decimalPlacePrecision)
public static double[] linearRegression(double[] xData, double[] yData, int offset, int length)
public static java.lang.String getUUID58()
public static java.lang.String getUUID58(java.lang.String uuid)
public static java.util.UUID getUUID(java.lang.String uuid58)
public static java.lang.String getFNV1aBase58(java.lang.String str)
public static java.math.BigInteger fnv1a_64(byte[] data)
public static double[] calculateForceAndLength(double variance)
public static double[] calculateForceAndLength(double persistenceLength, double L0, double temperature, double variance)