`
On Wed, Sep 24, 2008 at 4:42 AM, John Cremona <[EMAIL PROTECTED]> wrote:
>
> 2008/9/24 mabshoff <[EMAIL PROTECTED]>:
>>
>>
>>
>> On Sep 24, 4:15 am, Raouf <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>> I want to have a numerical value of a Dirichlet character :
>>>
>>> I have this line code in my note
On Sep 24, 2008, at 4:42 AM, John Cremona wrote:
>
> 2008/9/24 mabshoff <[EMAIL PROTECTED]>:
>>
>>
>>
>> On Sep 24, 4:15 am, Raouf <[EMAIL PROTECTED]> wrote:
>>> Hi,
>>> I want to have a numerical value of a Dirichlet character :
>>>
>>> I have this line code in my notebook:
>>>
>>> sage:
>>> G
2008/9/24 mabshoff <[EMAIL PROTECTED]>:
>
>
>
> On Sep 24, 4:15 am, Raouf <[EMAIL PROTECTED]> wrote:
>> Hi,
>> I want to have a numerical value of a Dirichlet character :
>>
>> I have this line code in my notebook:
>>
>> sage:
>> G = DirichletGroup(21)
>> chi = G.1;
>> chi(23)
>>
>> evaluate:
>>
This works:
sage: emb = B.parent().complex_embeddings()[0]
sage: emb(B)
-6.5 + 11.2583302492*I
B is an element of a number field:
sage: B.parent()
Cyclotomic Field of order 6 and degree 2
and number fields have several embeddings into CC (in this case, 2):
sage: len( B.parent().complex_embeddi
On Sep 24, 4:15 am, Raouf <[EMAIL PROTECTED]> wrote:
> Hi,
> I want to have a numerical value of a Dirichlet character :
>
> I have this line code in my notebook:
>
> sage:
> G = DirichletGroup(21)
> chi = G.1;
> chi(23)
>
> evaluate:
> zeta6 - 1
>
> And when i want to use this value: zeta6 - 1