templated scalar type and propto in generated log_prob

3 views
Skip to first unread message

Bob Carpenter

unread,
Mar 15, 2013, 2:29:09 PM3/15/13
to stan...@googlegroups.com
The log_prob function is now templated, so you can specify:

-- the type of the scalar, such as double or agrad::var, and

-- the propto, so that you can either drop or not drop
normalization constants

I still need to do a bit of work until the log_prob<double,...>
version actually works. But everything that used to work now
works in the new setup.

- Bob
Reply all
Reply to author
Forward
0 new messages