org.elasticsearch.common.math
Class UnboxedMathUtils

java.lang.Object
  extended by org.elasticsearch.common.math.UnboxedMathUtils

public class UnboxedMathUtils
extends Object


Constructor Summary
UnboxedMathUtils()
           
 
Method Summary
static double abs(Double a)
           
static float abs(Float a)
           
static int abs(Integer a)
           
static long abs(Long a)
           
static double acos(Double a)
           
static double acos(Float a)
           
static double acos(Integer a)
           
static double acos(Long a)
           
static double acos(Short a)
           
static double asin(Double a)
           
static double asin(Float a)
           
static double asin(Integer a)
           
static double asin(Long a)
           
static double asin(Short a)
           
static double atan(Double a)
           
static double atan(Float a)
           
static double atan(Integer a)
           
static double atan(Long a)
           
static double atan(Short a)
           
static double atan2(Double y, Double x)
           
static double atan2(Float y, Float x)
           
static double atan2(Integer y, Integer x)
           
static double atan2(Long y, Long x)
           
static double atan2(Short y, Short x)
           
static double cbrt(Double a)
           
static double cbrt(Float a)
           
static double cbrt(Integer a)
           
static double cbrt(Long a)
           
static double cbrt(Short a)
           
static double ceil(Double a)
           
static double ceil(Float a)
           
static double ceil(Integer a)
           
static double ceil(Long a)
           
static double ceil(Short a)
           
static double copySign(Double magnitude, Double sign)
           
static float copySign(Float magnitude, Float sign)
           
static double cos(Double a)
           
static double cos(Float a)
           
static double cos(Integer a)
           
static double cos(Long a)
           
static double cos(Short a)
           
static double cosh(Double x)
           
static double exp(Double a)
           
static double exp(Float a)
           
static double exp(Integer a)
           
static double exp(Long a)
           
static double exp(Short a)
           
static double expm1(Double x)
           
static double floor(Double a)
           
static double floor(Float a)
           
static double floor(Integer a)
           
static double floor(Long a)
           
static double floor(Short a)
           
static int getExponent(Double d)
           
static int getExponent(Float f)
           
static double hypot(Double x, Double y)
           
static double IEEEremainder(Double f1, Double f2)
           
static double IEEEremainder(Float f1, Float f2)
           
static double IEEEremainder(Integer f1, Integer f2)
           
static double IEEEremainder(Long f1, Long f2)
           
static double IEEEremainder(Short f1, Short f2)
           
static double log(Double a)
           
static double log(Float a)
           
static double log(Integer a)
           
static double log(Long a)
           
static double log(Short a)
           
static double log10(Double a)
           
static double log10(Float a)
           
static double log10(Integer a)
           
static double log10(Long a)
           
static double log10(Short a)
           
static double log1p(Double x)
           
static double max(Double a, Double b)
           
static float max(Float a, Float b)
           
static int max(Integer a, Integer b)
           
static long max(Long a, Long b)
           
static double min(Double a, Double b)
           
static float min(Float a, Float b)
           
static int min(Integer a, Integer b)
           
static long min(Long a, Long b)
           
static double nextAfter(Double start, Double direction)
           
static float nextAfter(Float start, Double direction)
           
static double nextUp(Double d)
           
static float nextUp(Float f)
           
static double pow(Double a, Double b)
           
static double pow(Float a, Float b)
           
static double pow(Integer a, Integer b)
           
static double pow(Long a, Long b)
           
static double pow(Short a, Short b)
           
static double random()
           
static double randomDouble()
           
static double randomFloat()
           
static double randomInt()
           
static double randomInt(Integer i)
           
static double randomLong()
           
static double randomLong(Long l)
           
static double rint(Double a)
           
static double rint(Float a)
           
static double rint(Integer a)
           
static double rint(Long a)
           
static double rint(Short a)
           
static long round(Double a)
           
static int round(Float a)
           
static int round(Integer a)
           
static long round(Long a)
           
static int round(Short a)
           
static double scalb(Double d, Integer scaleFactor)
           
static float scalb(Float f, Integer scaleFactor)
           
static double signum(Double d)
           
static float signum(Float f)
           
static double sin(Double a)
           
static double sin(Float a)
           
static double sin(Integer a)
           
static double sin(Long a)
           
static double sin(Short a)
           
static double sinh(Double x)
           
static double sqrt(Double a)
           
static double sqrt(Float a)
           
static double sqrt(Integer a)
           
static double sqrt(Long a)
           
static double sqrt(Short a)
           
static double tan(Double a)
           
static double tan(Float a)
           
static double tan(Integer a)
           
static double tan(Long a)
           
static double tan(Short a)
           
static double tanh(Double x)
           
static double toDegrees(Double angrad)
           
static double toDegrees(Float angrad)
           
static double toDegrees(Integer angrad)
           
static double toDegrees(Long angrad)
           
static double toDegrees(Short angrad)
           
static double toRadians(Double angdeg)
           
static double toRadians(Float angdeg)
           
static double toRadians(Integer angdeg)
           
static double toRadians(Long angdeg)
           
static double toRadians(Short angdeg)
           
static double ulp(Double d)
           
static float ulp(Float f)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnboxedMathUtils

public UnboxedMathUtils()
Method Detail

sin

public static double sin(Short a)

sin

public static double sin(Integer a)

sin

public static double sin(Float a)

sin

public static double sin(Long a)

sin

public static double sin(Double a)

cos

public static double cos(Short a)

cos

public static double cos(Integer a)

cos

public static double cos(Float a)

cos

public static double cos(Long a)

cos

public static double cos(Double a)

tan

public static double tan(Short a)

tan

public static double tan(Integer a)

tan

public static double tan(Float a)

tan

public static double tan(Long a)

tan

public static double tan(Double a)

asin

public static double asin(Short a)

asin

public static double asin(Integer a)

asin

public static double asin(Float a)

asin

public static double asin(Long a)

asin

public static double asin(Double a)

acos

public static double acos(Short a)

acos

public static double acos(Integer a)

acos

public static double acos(Float a)

acos

public static double acos(Long a)

acos

public static double acos(Double a)

atan

public static double atan(Short a)

atan

public static double atan(Integer a)

atan

public static double atan(Float a)

atan

public static double atan(Long a)

atan

public static double atan(Double a)

toRadians

public static double toRadians(Short angdeg)

toRadians

public static double toRadians(Integer angdeg)

toRadians

public static double toRadians(Float angdeg)

toRadians

public static double toRadians(Long angdeg)

toRadians

public static double toRadians(Double angdeg)

toDegrees

public static double toDegrees(Short angrad)

toDegrees

public static double toDegrees(Integer angrad)

toDegrees

public static double toDegrees(Float angrad)

toDegrees

public static double toDegrees(Long angrad)

toDegrees

public static double toDegrees(Double angrad)

exp

public static double exp(Short a)

exp

public static double exp(Integer a)

exp

public static double exp(Float a)

exp

public static double exp(Long a)

exp

public static double exp(Double a)

log

public static double log(Short a)

log

public static double log(Integer a)

log

public static double log(Float a)

log

public static double log(Long a)

log

public static double log(Double a)

log10

public static double log10(Short a)

log10

public static double log10(Integer a)

log10

public static double log10(Float a)

log10

public static double log10(Long a)

log10

public static double log10(Double a)

sqrt

public static double sqrt(Short a)

sqrt

public static double sqrt(Integer a)

sqrt

public static double sqrt(Float a)

sqrt

public static double sqrt(Long a)

sqrt

public static double sqrt(Double a)

cbrt

public static double cbrt(Short a)

cbrt

public static double cbrt(Integer a)

cbrt

public static double cbrt(Float a)

cbrt

public static double cbrt(Long a)

cbrt

public static double cbrt(Double a)

IEEEremainder

public static double IEEEremainder(Short f1,
                                   Short f2)

IEEEremainder

public static double IEEEremainder(Integer f1,
                                   Integer f2)

IEEEremainder

public static double IEEEremainder(Float f1,
                                   Float f2)

IEEEremainder

public static double IEEEremainder(Long f1,
                                   Long f2)

IEEEremainder

public static double IEEEremainder(Double f1,
                                   Double f2)

ceil

public static double ceil(Short a)

ceil

public static double ceil(Integer a)

ceil

public static double ceil(Float a)

ceil

public static double ceil(Long a)

ceil

public static double ceil(Double a)

floor

public static double floor(Short a)

floor

public static double floor(Integer a)

floor

public static double floor(Float a)

floor

public static double floor(Long a)

floor

public static double floor(Double a)

rint

public static double rint(Short a)

rint

public static double rint(Integer a)

rint

public static double rint(Float a)

rint

public static double rint(Long a)

rint

public static double rint(Double a)

atan2

public static double atan2(Short y,
                           Short x)

atan2

public static double atan2(Integer y,
                           Integer x)

atan2

public static double atan2(Float y,
                           Float x)

atan2

public static double atan2(Long y,
                           Long x)

atan2

public static double atan2(Double y,
                           Double x)

pow

public static double pow(Short a,
                         Short b)

pow

public static double pow(Integer a,
                         Integer b)

pow

public static double pow(Float a,
                         Float b)

pow

public static double pow(Long a,
                         Long b)

pow

public static double pow(Double a,
                         Double b)

round

public static int round(Short a)

round

public static int round(Integer a)

round

public static int round(Float a)

round

public static long round(Long a)

round

public static long round(Double a)

random

public static double random()

randomDouble

public static double randomDouble()

randomFloat

public static double randomFloat()

randomInt

public static double randomInt()

randomInt

public static double randomInt(Integer i)

randomLong

public static double randomLong()

randomLong

public static double randomLong(Long l)

abs

public static int abs(Integer a)

abs

public static long abs(Long a)

abs

public static float abs(Float a)

abs

public static double abs(Double a)

max

public static int max(Integer a,
                      Integer b)

max

public static long max(Long a,
                       Long b)

max

public static float max(Float a,
                        Float b)

max

public static double max(Double a,
                         Double b)

min

public static int min(Integer a,
                      Integer b)

min

public static long min(Long a,
                       Long b)

min

public static float min(Float a,
                        Float b)

min

public static double min(Double a,
                         Double b)

ulp

public static double ulp(Double d)

ulp

public static float ulp(Float f)

signum

public static double signum(Double d)

signum

public static float signum(Float f)

sinh

public static double sinh(Double x)

cosh

public static double cosh(Double x)

tanh

public static double tanh(Double x)

hypot

public static double hypot(Double x,
                           Double y)

expm1

public static double expm1(Double x)

log1p

public static double log1p(Double x)

copySign

public static double copySign(Double magnitude,
                              Double sign)

copySign

public static float copySign(Float magnitude,
                             Float sign)

getExponent

public static int getExponent(Float f)

getExponent

public static int getExponent(Double d)

nextAfter

public static double nextAfter(Double start,
                               Double direction)

nextAfter

public static float nextAfter(Float start,
                              Double direction)

nextUp

public static double nextUp(Double d)

nextUp

public static float nextUp(Float f)

scalb

public static double scalb(Double d,
                           Integer scaleFactor)

scalb

public static float scalb(Float f,
                          Integer scaleFactor)


Copyright © 2009-2012. All Rights Reserved.