MCPcopy Create free account
hub / github.com/RoboJackets/software-training / toLogOdds

Function toLogOdds

mapping/src/mapping_node.cpp:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32{
33
34double toLogOdds(double prob)
35{
36 return std::log(prob / (1.0 - prob));
37}
38
39double fromLogOdds(double log_odds)
40{

Callers 1

MappingNodeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected