title: How to pass additional arguments to scipy.optimize.newton_krylov?
body: <p>So I'm trying to find <code>"k"</code>  which satisfies the equation </p>
  
  <pre><code>F(k,u,v,w) = 0
  </code></pre>
  
  <p>and u, v, and w are extra parameters.  I've been trying to solve it using newton_krylov (<a href="http://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.optimize.newton_krylov.html" rel="nofollow">http://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.optimize.newton_krylov.html</a>), which will solve the system numerically based on a guess for <strong><code>k</code></strong>, but there does not appear to be a way to include the other parameters.</p>
  
  <p>My trouble is that I need to pass <strong><code>F</code></strong> the additional arguments, but there does not appear to be a way to pass them to <strong><code>F</code></strong>.  Is there a way to pass them that I don't know about? or is there a hack I can do to make it work?</p>
  
  <p>Also if there is a more appropriate function for this situation that would be cool too.</p>