@@ -176,26 +176,34 @@ separator()
176
176
# Vector case
177
177
DistSpec (:MvNormal , (mean, cov_mat), norm_val_vec),
178
178
DistSpec (:MvNormal , (mean, cov_vec), norm_val_vec),
179
+ DistSpec (:MvNormal , (mean, Diagonal (cov_vec)), norm_val_vec),
179
180
DistSpec (:MvNormal , (mean, cov_num), norm_val_vec),
180
181
DistSpec (:((m, v) -> MvNormal (m, v* I)), (mean, cov_num), norm_val_vec),
181
182
DistSpec (:MvNormal , (cov_mat,), norm_val_vec),
182
183
DistSpec (:MvNormal , (cov_vec,), norm_val_vec),
184
+ DistSpec (:MvNormal , (Diagonal (cov_vec),), norm_val_vec),
183
185
DistSpec (:(cov_num -> MvNormal (dim, cov_num)), (cov_num,), norm_val_vec),
184
186
DistSpec (:MvLogNormal , (mean, cov_mat), norm_val_vec),
185
187
DistSpec (:MvLogNormal , (mean, cov_vec), norm_val_vec),
188
+ DistSpec (:MvLogNormal , (mean, Diagonal (cov_vec)), norm_val_vec),
186
189
DistSpec (:MvLogNormal , (mean, cov_num), norm_val_vec),
187
190
DistSpec (:MvLogNormal , (cov_mat,), norm_val_vec),
188
191
DistSpec (:MvLogNormal , (cov_vec,), norm_val_vec),
192
+ DistSpec (:MvLogNormal , (Diagonal (cov_vec),), norm_val_vec),
189
193
DistSpec (:(cov_num -> MvLogNormal (dim, cov_num)), (cov_num,), norm_val_vec),
190
194
# Matrix case
191
195
DistSpec (:MvNormal , (mean, cov_vec), norm_val_mat),
196
+ DistSpec (:MvNormal , (mean, Diagonal (cov_vec)), norm_val_mat),
192
197
DistSpec (:MvNormal , (mean, cov_num), norm_val_mat),
193
198
DistSpec (:((m, v) -> MvNormal (m, v* I)), (mean, cov_num), norm_val_mat),
194
199
DistSpec (:MvNormal , (cov_vec,), norm_val_mat),
200
+ DistSpec (:MvNormal , (Diagonal (cov_vec),), norm_val_mat),
195
201
DistSpec (:(cov_num -> MvNormal (dim, cov_num)), (cov_num,), norm_val_mat),
196
202
DistSpec (:MvLogNormal , (mean, cov_vec), norm_val_mat),
203
+ DistSpec (:MvLogNormal , (mean, Diagonal (cov_vec)), norm_val_mat),
197
204
DistSpec (:MvLogNormal , (mean, cov_num), norm_val_mat),
198
205
DistSpec (:MvLogNormal , (cov_vec,), norm_val_mat),
206
+ DistSpec (:MvLogNormal , (Diagonal (cov_vec),), norm_val_mat),
199
207
DistSpec (:(cov_num -> MvLogNormal (dim, cov_num)), (cov_num,), norm_val_mat),
200
208
]
201
209
0 commit comments