(x)
| 29 | # }}} |
| 30 | import scipy.optimize as so |
| 31 | def F(x): |
| 32 | return x[0]+x[1]+ x[2]-1 - (x[0]**2+ x[1]**2+x[2]**2-1), \ |
| 33 | x[0]+x[1]+x[2]-1 - (x[0]**2+4*x[1]**2+x[2]**2-2), \ |
| 34 | (x[0]**2+x[1]**2+x[2]**2-1) - (x[0]**2+4*x[1]**2+x[2]**2-2) |
| 35 | |
| 36 | def F_roots(guess=[0,0,0]): |
| 37 | return so.root(F, guess) |
nothing calls this directly
no outgoing calls
no test coverage detected