even simpler and better solution
even simpler and better solution

stan-dev/math,stan-dev/math,stan-dev/stan,stan-dev/stan,stan-dev/stan,stan-dev/math,stan-dev/math,stan-dev/stan,stan-dev/math,stan-dev/math,stan-dev/stan,stan-dev/math,stan-dev/math,stan-dev/math