Internal function multiplying a mass function by the sparse matrix A.
margProj(p, bS, M)
A collection of marginal mass functions.
A subprobability mass function on the full joint space.
A binary matrix specifying the set of observation patterns. Each row encodes a single pattern.
A vector of positive integers giving the alphabet sizes of the discrete variables.