Skip to content

Instantly share code, notes, and snippets.

View AnderGray's full-sized avatar
☘️

Ander Gray AnderGray

☘️
  • UKAEA
  • Liverpool
View GitHub Profile
using ProbabilityBoundsAnalysis, IntervalArithmetic
###
# Converts a vector a pboxes to a multivariate DSS under RS independence
###
function cart_prod(pbs :: Vector{pbox})
marginal_fe = [interval.(x.u, x.d) for x in pbs] # Marginal Focal Elements
marginal_m = [ones(length(x.u))/ length(x.u) for x in pbs]