MCPcopy Index your code
hub / github.com/EdwardRaff/JSAT / log

Method log

JSAT/src/jsat/math/FastMath.java:45–48  ·  view source on GitHub ↗

Computes the natural logarithm of the input @param x the input @return log e (x)

(double x)

Source from the content-addressed store, hash-verified

43 * @return log<sub>e</sub>(x)
44 */
45 public static double log(double x)
46 {
47 return logConst*log2(x);
48 }
49
50 /**
51 * Computes log<sub>2</sub>(x)

Callers 15

testLogMethod · 0.95
digammaMethod · 0.95
sampleExpoDistMethod · 0.95
testGetScoreMethod · 0.80
testLogPdfMethod · 0.80
testLogPdfMethod · 0.80
testWriteReadMethod · 0.80
testLog2Method · 0.80
testLog2_2pd1Method · 0.80
testLog2_c11Method · 0.80
applyTransformMethod · 0.80
loadArffFileMethod · 0.80

Calls 1

log2Method · 0.95

Tested by 8

testLogMethod · 0.76
testGetScoreMethod · 0.64
testLogPdfMethod · 0.64
testLogPdfMethod · 0.64
testWriteReadMethod · 0.64
testLog2Method · 0.64
testLog2_2pd1Method · 0.64
testLog2_c11Method · 0.64