[Benjamin Piwowarski] Renamed "foreach" macro into "bforeach" to avoid conflicts...
[libdai.git] / matlab / dai_potstrength.m
1 % N = dai_potstrength (psi, i, j)
2 %
3 % INPUT: psi = structure with a Member field and a P field, like a CPTAB.
4 % i = label of a variable in psi.
5 % j = label of another variable in psi.
6 %
7 % OUTPUT: N = strength of psi in direction i->j.