Top Description Fields Constructors Methods
org.apache.commons.math3.util

pack-priv Class FastMathLiteralArrays

extends Object
Class Inheritance

Utility class for loading tabulated data used by FastMath.

Field Summary

Modifier and TypeField and Description
private static final double[]
EXP_FRAC_A

Exponential over the range of 0 - 1 in increments of 2^-10 exp(x/1024) = expFracTableA[x] + expFracTableB[x].

private static final double[]
EXP_FRAC_B

Exponential over the range of 0 - 1 in increments of 2^-10 exp(x/1024) = expFracTableA[x] + expFracTableB[x].

private static final double[]
EXP_INT_A

Exponential evaluated at integer values, exp(x) = expIntTableA[x + EXP_INT_TABLE_MAX_INDEX] + expIntTableB[x+EXP_INT_TABLE_MAX_INDEX].

private static final double[]
EXP_INT_B

Exponential evaluated at integer values, exp(x) = expIntTableA[x + EXP_INT_TABLE_MAX_INDEX] + expIntTableB[x+EXP_INT_TABLE_MAX_INDEX]

private static final double[][]
LN_MANT

Extended precision logarithm table over the range 1 - 2 in increments of 2^-10.

Constructor Summary

AccessConstructor and Description
private
FastMathLiteralArrays()

Class contains only static methods.

Method Summary

Modifier and TypeMethod and Description
pack-priv static double[]

Returns:

a clone of the data array.
loadExpFracA
()

Load "EXP_FRAC_A".

pack-priv static double[]

Returns:

a clone of the data array.
loadExpFracB
()

Load "EXP_FRAC_B".

pack-priv static double[]

Returns:

a clone of the data array.
loadExpIntA
()

Load "EXP_INT_A".

pack-priv static double[]

Returns:

a clone of the data array.
loadExpIntB
()

Load "EXP_INT_B".

pack-priv static double[][]

Returns:

a clone of the data array.
loadLnMant
()

Load "LN_MANT".

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EXP_FRAC_Aback to summary
private static final double[] EXP_FRAC_A

Exponential over the range of 0 - 1 in increments of 2^-10 exp(x/1024) = expFracTableA[x] + expFracTableB[x]. 1024 = 2^10

EXP_FRAC_Bback to summary
private static final double[] EXP_FRAC_B

Exponential over the range of 0 - 1 in increments of 2^-10 exp(x/1024) = expFracTableA[x] + expFracTableB[x].

EXP_INT_Aback to summary
private static final double[] EXP_INT_A

Exponential evaluated at integer values, exp(x) = expIntTableA[x + EXP_INT_TABLE_MAX_INDEX] + expIntTableB[x+EXP_INT_TABLE_MAX_INDEX].

EXP_INT_Bback to summary
private static final double[] EXP_INT_B

Exponential evaluated at integer values, exp(x) = expIntTableA[x + EXP_INT_TABLE_MAX_INDEX] + expIntTableB[x+EXP_INT_TABLE_MAX_INDEX]

LN_MANTback to summary
private static final double[][] LN_MANT

Extended precision logarithm table over the range 1 - 2 in increments of 2^-10.

Constructor Detail

FastMathLiteralArraysback to summary
private FastMathLiteralArrays()

Class contains only static methods.

Method Detail

loadExpFracAback to summary
pack-priv static double[] loadExpFracA()

Load "EXP_FRAC_A".

Returns:double[]

a clone of the data array.

loadExpFracBback to summary
pack-priv static double[] loadExpFracB()

Load "EXP_FRAC_B".

Returns:double[]

a clone of the data array.

loadExpIntAback to summary
pack-priv static double[] loadExpIntA()

Load "EXP_INT_A".

Returns:double[]

a clone of the data array.

loadExpIntBback to summary
pack-priv static double[] loadExpIntB()

Load "EXP_INT_B".

Returns:double[]

a clone of the data array.

loadLnMantback to summary
pack-priv static double[][] loadLnMant()

Load "LN_MANT".

Returns:double[][]

a clone of the data array.