This modifies RationalQuadraticSpline to apply the spline transformation to all knots, not just the internal ones.
The use case for this is that if the base distribution is defined on a closed interval -- e.g., uniform on [-1, 1] -- the current implementation forces the transformed PDF to match that of the base PDF at the left and right end nodes.
This modifies RationalQuadraticSpline to apply the spline transformation to all knots, not just the internal ones.
The use case for this is that if the base distribution is defined on a closed interval -- e.g., uniform on [-1, 1] -- the current implementation forces the transformed PDF to match that of the base PDF at the left and right end nodes.