def Ham(fs, x, u):
    return -fs(x) + 0.5 * vec.dot(tuple(snds(u.items())), tuple(snds(
        u.items())))
Beispiel #2
0
 def dotgauss_local(x, y):
     return gaussPDF(vec.dot(x, y), mean, var)
def Ham(fs, x, u):
    return -fs(x) + 0.5*vec.dot(tuple(snds(u.items())), tuple(snds(u.items())))
 def dotgauss_local(x, y):
     return gaussPDF(vec.dot(x, y), mean, var)