Skip to content

Commit 77625e6

Browse files
committed
testing
1 parent 0a12ede commit 77625e6

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

docsrc/examples/make_odds.hpp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#include <boost/math/tools/promotion.hpp>
2+
#include <ostream>
3+
4+
namespace bernoulli_external_model_namespace
5+
{
6+
template <typename T0__>
7+
inline typename boost::math::tools::promote_args<T0__>::type make_odds(const T0__ &
8+
theta,
9+
std::ostream *pstream__)
10+
{
11+
return theta / (1 - theta);
12+
}
13+
}

0 commit comments

Comments
 (0)