Currently you need to load "eulerprod.py" (search for it), maybe from here:

http://purplesage.googlecode.com/hg-history/6bac823fb2ef13c9c602203591587049acfe3863/psage/lseries/eulerprod.py

This works for me:

sage: load eulerprod.py
sage: Z1.<Z>=ZZ[]
sage: Nf.<v>=NumberField(Z**2+1)
sage: L=LSeries(Nf)
sage: L
Dedekind Zeta function of Number Field in v with defining polynomial Z^2 + 1
sage: L(1/2+I)
0.302675790657936779964948103095684788837343183147516784341448029748974263532441111279452499
 - 
0.517840900734412719155534258211294840216830050895051536044014429256591893818783220651514849*I

On Sat, Jun 29, 2013 at 04:47:06PM -0700, Adrián Barquero wrote:
> Dear All,
> 
> I was trying to define Dirichlet L-functions in SAGE, and while looking 
> online for how to actually do it, I found the following tutorial from SAGE 
> Days 33 
> 
> http://wiki.sagemath.org/days33/lfunction/tutorial
> 
> In that tutorial it is described how to define different types of L-series, 
> for example Dedekind zeta functions, Dirichlet L-functions and L-functions 
> of Elliptic Curves by using the method LSeries().
> 
> Nevertheless, when I try to run the method, for example to define the 
> Dirichlet L-function attached to some Dirichlet character, I get the error 
> message 
> 
> NameError: name 'LSeries' is not defined
> 
> Thus, I would like to ask if you can help me identify what it is that I'm 
> doing wrong, or how to define Dirichlet L-functions in SAGE.
> 
> PS: The version of SAGE that I have installed in my computer is Version 
> 5.3-OSX-64bit-10.6  (5.3-OSX-64bit-10.6), but I also tried running the same 
> code online and it didn't work either.
> 
> Thank you very much for your help.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to