[SciPy-user] number of function evaluation for leastsq

Christian K. ckkart@hoc....
Tue Apr 15 16:12:34 CDT 2008


Pauli Virtanen wrote:
> 
> @memoize_single
> def target_function(z):
>     print "Evaluating..."
>     z = sp.asarray(z)
>     return sum(z**2)

Sorry for this off-topic questions, but can somebody explain me what
that @.... syntax means? I searched the python manuals several times
without luck.

Thanks, Christian



More information about the SciPy-user mailing list