public class LogSpaceOperations extends Object
Modifier and Type | Field and Description |
---|---|
static double |
THRESHOLD_1P
A threshold for considering a number x close enough to 0 to use the approximation that Math.log(1.0+x) is approximately x.
|
Constructor and Description |
---|
LogSpaceOperations() |
Modifier and Type | Method and Description |
---|---|
static double |
add(double first,
double second)
Adds to numbers that are given via their natural logarithm, the result is the natural logarithm of the addition.
|
Copyright © 2017. All rights reserved.