public static double logAdd ( double x , double y ) { if ( FastMath . useLogAddTable ) { return SmoothedLogAddTable . logAdd ( x , y ) ; } else { return FastMath . logAddExact ( x , y ) ; } }
Adds two probabilities that are stored as log probabilities .