public enum MathLibraryType extends Enum<MathLibraryType>
Enum Constant and Description |
---|
FASTEST_MATHLIB
Uses fastest library between FastMath, Jafama FastMath et Jafama StrictFastMath for each function.
|
FASTMATH
FastMath from Commons-Math.
|
JAFAMA_FASTMATH
FastMath from JAFAMA which is a speed-up of FastMath with 1E-15 accuracy.
|
JAFAMA_STRICT_FASTMATH
FastMath from JAFAMA which is a speed-up of FastMath with exact accuracy.
|
MATH
Math from JDK.
|
STRICTMATH
StrictMath from JDK.
|
Modifier and Type | Method and Description |
---|---|
static MathLibraryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MathLibraryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MathLibraryType MATH
public static final MathLibraryType STRICTMATH
public static final MathLibraryType FASTMATH
public static final MathLibraryType JAFAMA_FASTMATH
public static final MathLibraryType JAFAMA_STRICT_FASTMATH
public static final MathLibraryType FASTEST_MATHLIB
public static MathLibraryType[] values()
for (MathLibraryType c : MathLibraryType.values()) System.out.println(c);
public static MathLibraryType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 CNES. All rights reserved.