Writing a new distribution (2)

I guess the range of x will be defined outside the function, eg a prior. You can raise an error if x falls outside the range.

1 Like