We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8a72e6 commit e958f72Copy full SHA for e958f72
src/multivariate.jl
@@ -217,6 +217,18 @@ function MvLogNormal(
217
)
218
return TuringMvLogNormal(TuringMvNormal(m, D))
219
end
220
+function MvLogNormal(
221
+ m::TrackedVector{<:Real},
222
+ D::Diagonal{T, <:AbstractVector{T}} where {T<:Real},
223
+)
224
+ return TuringMvLogNormal(TuringMvNormal(m, D))
225
+end
226
227
+ m::AbstractVector{<:Real},
228
229
230
+ return MvLogNormal(MvNormal(m, D))
231
232
233
# dense mean, diagonal covariance
234
MvLogNormal(m::TrackedVector{<:Real}, σ::TrackedVector{<:Real}) = TuringMvLogNormal(TuringMvNormal(m, σ))
0 commit comments