예제 #1
0
def moveVariance(conf1, conf2):
    dist = confDist(conf1, conf2)
    var = math.ceil(dist)*0.001
    moveVar = makeDiag((var, var))
    return moveVar
예제 #2
0
def invComposeVarianceLists(addedVar, resultVar):
    # Assumes np 
    return makeDiag(resultVar) - makeDiag(addedVar)