[SciPy-dev] broyden methods commited

Ondrej Certik ondrej@certik...
Sun May 13 13:22:15 CDT 2007


> >>> scipy.__version__
> '0.5.3.dev2990'
>
>   >>> help (optimize.anderson)
> Traceback (most recent call last):
>    File "<stdin>", line 1, in <module>
> AttributeError: 'module' object has no attribute
> 'anderson'
> >>> from scipy.optimize import anderson
> Traceback (most recent call last):
>    File "<stdin>", line 1, in <module>
> ImportError: cannot import name anderson
>
> Nils

The methods are in optimize.nonlin - should I import them in
optimize.__init__, so that they are accesible immediatelly?

At the moment, it works like this:

>>> import scipy
>>> scipy.__version__
'0.5.3.dev2992'
>>> from scipy import optimize
>>> help(optimize.nonlin)

>>> help(optimize.nonlin.anderson)

>>>

(the two help() commands will print help)

Ondrej


More information about the Scipy-dev mailing list