mikera.matrixx.algo.impl.Constants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vectorz Show documentation
Show all versions of vectorz Show documentation
Fast double-precision vector and matrix maths library for Java, supporting N-dimensional numeric arrays.
package mikera.matrixx.algo.impl;
public class Constants {
private Constants(){}
public static final double EPS;
// Determine the machine epsilon
// Tolerance is 10e1
static {
double eps = 1.0;
while (1 + eps > 1) {
eps = eps / 2;
}
EPS = eps * 10e1;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy