Hello.

For all implemented distributions, what convention should be adopted
when methods
 * density(x)
 * logDensity(x)
 * cumulativeProbability(x)
are called with "x" out of the "support" bounds?

Currently some (but not all[1]) are documented to return "NaN".
An alternative could be to throw an exception.

Regards,
Gilles

[1] https://issues.apache.org/jira/projects/MATH/issues/MATH-1503

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to