Reverse ordered


#1

Hello everyone
Is there any reverse ordered declaration for parameters.
I’ve found a “reverse” function, but it seems that Stan does not recognize it. How to add this function?
Any suggestion on this issue?

Thanks.


#2

There is no reverse ordered type, but you can call the sort_desc function on an ordered type.