stan-dev/stan — pull request #35 by mbrubake (2013-05-03 03:19:09+00:00)
Title: New pattern to reduce code duplication in mixed-type agrad functions

This leans on enable_if and a little template magic to greatly reduce the amount of code needed to implement mixed type function calls.