def func(): F = geteval(method, 'tempF') vl = geteval(method, 'vl') JacFl = jacobian(F, vl) G = sumvecs(F, [-e for e in matvecprod(JacFl, vl)]) return list(G)
def func(): G, v = geteval(method, 'G' + a), geteval(method, 'v' + b) return jacobian(G, v)
def func(): F, v = geteval(method, 'tempF' + n1), geteval(method, 'v' + n2) return jacobian(F, v)