You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the current would-be piracy is all for as(::Distribution) methods. Now that we have DistributionMeasures.jl, we could probably get rid of this. But before long, I think we may move away from TransformVariables anyway, for a few reasons:
A value drawn from one measure may sometimes affect the support of another. I don't think TV has a way to address this
TV uses Int type parameters, but I think we'll want to allow for statically-sized arrays, which can be much more efficient
As a personal preference, I'd like transforms to be callable. TV used to have this, but now disallows my_transform(x), instead requiring transform(my_transform, x)
I wanted to be able to extend it easily without type piracy
I see, that makes sense. I was trying out MeasureTheory with the LogDensityProblems stack, which was very nice but having to put TV.as everywhere was a bit strange.
Right now, MeasureTheory and TransformVariables both export
as
. Is that on purpose or should MeasureTheory extendTransformVariables.as
?The text was updated successfully, but these errors were encountered: