com.metsci.glimpse.util.math
Class MathConstants

java.lang.Object
  extended by com.metsci.glimpse.util.math.MathConstants

public class MathConstants
extends java.lang.Object

Author:
hogye

Field Summary
static double HALF_PI
          The constant 0.5 * Math.PI.
static double LN_TEN
          The constant Math.log(10.0).
static double LN_TWO_PI
          The constant Math.log(2.0 * Math.PI).
static double ONE_OVER_ROOT_TWO
          The constant 1.0 / Math.sqrt(2.0).
static double ONE_OVER_ROOT_TWO_PI
          The constant 1.0 / Math.sqrt(2.0 * Math.PI).
static double PI_OVER_ROOT_TWO
          The constant Math.PI / Math.sqrt(2.0);
static double PI_OVER_TWO
          The constant 0.5 * Math.PI; same as HALF_PI.
static double ROOT_TWO
          The constant Math.sqrt(2.0).
static double ROOT_TWO_PI
          The constant Math.sqrt(2.0 * Math.PI).
static double TWO_PI
          The constant 2.0 * Math.PI.
 
Constructor Summary
MathConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TWO_PI

public static final double TWO_PI
The constant 2.0 * Math.PI.

See Also:
Constant Field Values

HALF_PI

public static final double HALF_PI
The constant 0.5 * Math.PI.

See Also:
Constant Field Values

PI_OVER_TWO

public static final double PI_OVER_TWO
The constant 0.5 * Math.PI; same as HALF_PI.

See Also:
Constant Field Values

ROOT_TWO_PI

public static final double ROOT_TWO_PI
The constant Math.sqrt(2.0 * Math.PI).


ONE_OVER_ROOT_TWO_PI

public static final double ONE_OVER_ROOT_TWO_PI
The constant 1.0 / Math.sqrt(2.0 * Math.PI).


ROOT_TWO

public static final double ROOT_TWO
The constant Math.sqrt(2.0).


ONE_OVER_ROOT_TWO

public static final double ONE_OVER_ROOT_TWO
The constant 1.0 / Math.sqrt(2.0).


LN_TWO_PI

public static final double LN_TWO_PI
The constant Math.log(2.0 * Math.PI).


LN_TEN

public static final double LN_TEN
The constant Math.log(10.0).


PI_OVER_ROOT_TWO

public static final double PI_OVER_ROOT_TWO
The constant Math.PI / Math.sqrt(2.0);

Constructor Detail

MathConstants

public MathConstants()


Copyright © 2012 Metron, Inc.. All Rights Reserved.