org.ojalgo.constant
Class PrimitiveMath

java.lang.Object
  extended by org.ojalgo.constant.PrimitiveMath

public abstract class PrimitiveMath
extends Object


Field Summary
static double E
           
static double EIGHT
           
static double EIGHTH
           
static double ELEVEN
           
static double ELEVENTH
           
static double FITH
           
static double FIVE
           
static double FOUR
           
static double HALF
           
static double HALF_PI
           
static double HUNDRED
           
static double HUNDREDTH
           
static double IS_ZERO
          ≈ 3.33E-15
static double MACHINE_DOUBLE_ERROR
          ≈ 1.11E-16
static float MACHINE_FLOAT_ERROR
          ≈ 5.96E-8
static double MAX_VALUE
           
static double MIN_VALUE
           
static double NaN
           
static double NEG
           
static double NEGATIVE_INFINITY
           
static double NINE
           
static double NINTH
           
static double ONE
           
static double PI
           
static double POSITIVE_INFINITY
           
static double QUARTER
           
static double SEVEN
           
static double SEVENTH
           
static double SIX
           
static double SIXTH
           
static double SQRT_PI
           
static double SQRT_TWO
           
static double SQRT_TWO_PI
           
static double TEN
           
static double TENTH
           
static double THIRD
           
static double THOUSAND
           
static double THOUSANDTH
           
static double THREE
           
static double TWELFTH
           
static double TWELVE
           
static double TWO
           
static double TWO_PI
           
static double ZERO
           
 
Method Summary
static int getPrimeNumber(int anIndex)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ZERO

public static final double ZERO

ONE

public static final double ONE

TWO

public static final double TWO

THREE

public static final double THREE

FOUR

public static final double FOUR

FIVE

public static final double FIVE

SIX

public static final double SIX

SEVEN

public static final double SEVEN

EIGHT

public static final double EIGHT

NINE

public static final double NINE

TEN

public static final double TEN

ELEVEN

public static final double ELEVEN

TWELVE

public static final double TWELVE

HUNDRED

public static final double HUNDRED

THOUSAND

public static final double THOUSAND

NEG

public static final double NEG

HALF

public static final double HALF

THIRD

public static final double THIRD

QUARTER

public static final double QUARTER

FITH

public static final double FITH

SIXTH

public static final double SIXTH

SEVENTH

public static final double SEVENTH

EIGHTH

public static final double EIGHTH

NINTH

public static final double NINTH

TENTH

public static final double TENTH

ELEVENTH

public static final double ELEVENTH

TWELFTH

public static final double TWELFTH

HUNDREDTH

public static final double HUNDREDTH

THOUSANDTH

public static final double THOUSANDTH

E

public static final double E

PI

public static final double PI

HALF_PI

public static final double HALF_PI

TWO_PI

public static final double TWO_PI

SQRT_TWO

public static final double SQRT_TWO

SQRT_PI

public static final double SQRT_PI

SQRT_TWO_PI

public static final double SQRT_TWO_PI

MACHINE_FLOAT_ERROR

public static final float MACHINE_FLOAT_ERROR
≈ 5.96E-8


MACHINE_DOUBLE_ERROR

public static final double MACHINE_DOUBLE_ERROR
≈ 1.11E-16


IS_ZERO

public static final double IS_ZERO
≈ 3.33E-15


POSITIVE_INFINITY

public static final double POSITIVE_INFINITY
See Also:
Constant Field Values

NEGATIVE_INFINITY

public static final double NEGATIVE_INFINITY
See Also:
Constant Field Values

MAX_VALUE

public static final double MAX_VALUE
See Also:
Constant Field Values

MIN_VALUE

public static final double MIN_VALUE
See Also:
Constant Field Values

NaN

public static final double NaN
See Also:
Constant Field Values
Method Detail

getPrimeNumber

public static final int getPrimeNumber(int anIndex)