superexacttestpy.tl.dmv_hyper_logval
- superexacttestpy.tl.dmv_hyper_logval(x, nl, set_len, n, logval, logp=False)
Get the distribution of the multiset intersection test
- Parameters:
- Returns:
p – Probability
- Return type:
Example
>>> dmv_hyper_logval(20,3,[100,200,50],10000,[np.log(i) for i in range(0,10000)],False) ... 8.785866699682634e-110
>>> dmv_hyper(20,3,[100,200,50],0.0,10000,logp=True) ... 0