140
140
# pullback
141
141
142
142
"""
143
- pullback (f, μ, volcorr = WithVolCorr())
143
+ pullbck (f, μ, volcorr = WithVolCorr())
144
144
145
145
A _pullback_ is a dual concept to a _pushforward_. While a pushforward needs a
146
146
map _from_ the support of a measure, a pullback requires a map _into_ the
@@ -152,8 +152,11 @@ in terms of the inverse function; the "forward" function is not used at all. In
152
152
some cases, we may be focusing on log-density (and not, for example, sampling).
153
153
154
154
To manually specify an inverse, call
155
- `pullback (InverseFunctions.setinverse(f, finv), μ, volcorr)`.
155
+ `pullbck (InverseFunctions.setinverse(f, finv), μ, volcorr)`.
156
156
"""
157
- function pullback (f, μ, volcorr:: TransformVolCorr = WithVolCorr ())
158
- pushfwd ( setinverse ( inverse (f), f) , μ, volcorr)
157
+ function pullbck (f, μ, volcorr:: TransformVolCorr = WithVolCorr ())
158
+ PushforwardMeasure ( inverse (f), f, μ, volcorr)
159
159
end
160
+ export pullbck
161
+
162
+ @deprecate pullback (f, μ, volcorr:: TransformVolCorr = WithVolCorr ()) pullbck (f, μ, volcorr)
0 commit comments