[SciPy-User] Gradient inputs to SciPy optimize routines

Sturla Molden sturla@molden...
Mon Jul 23 09:39:42 CDT 2012



Den 23. juli 2012 kl. 16:36 skrev Sturla Molden <sturla@molden.no>:

> 
> 
> Den 23. juli 2012 kl. 14:17 skrev The Helmbolds <helmrp@yahoo.com>:
> 
> 
>> Now, how far is this generalizable? Is it true that _all_ native SciPy routines require numpy arrays as inputs? Is it true that _none_ of the native SciPy routines _ever_ take ordinary Python sequences as input? Is it true that _all_ native SciPy routines return numpy arrays and _never_ an ordinary Python sequence?
> 
> If the documentation says an argument is "array like" it means it can be "any Python sequence that can be coverted to a NumPy array."


Or converted ;)


S.M.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20120723/1e7ea44b/attachment.html 


More information about the SciPy-User mailing list