stan-dev/stan — pull request #959 by PeterLi2016 (2014-08-28 23:13:56+00:00)
Title: Feature/test nan digamma

#### Summary:
Added NaN tests for digamma in math/functions, agrad/fwd/functions, and agrad/rev/functions with doc on behavior at NaN.

#### Intended Effect:
Added NaN tests for digamma in agrad/fwd/functions, and agrad/rev/functions with doc on behavior at NaN.

#### How to Verify:
Run test/unit-agrad-fwd/functions/digamma, test/unit-agrad-rev/functions/digamma

#### Side Effects:
None.

#### Documentation:
Added doc on behavior of digamma at NaN and partial derivatives.

#### Reviewer Suggestions:
Anyone.