[SciPy-dev] broyden methods commited
Nils Wagner
nwagner@iam.uni-stuttgart...
Sun May 13 14:35:18 CDT 2007
On Sun, 13 May 2007 20:22:15 +0200
"Ondrej Certik" <ondrej@certik.cz> wrote:
>> >>> 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?
>
IMHO, I would prefer a direct access.
Nils
> 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
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
More information about the Scipy-dev
mailing list