On 2014-09-19, Jonas Jermann wrote:
> Hi again
>
> I somehow can't get it to work for non-exact fields / CC.
> Here is an example:
>
> x = PolynomialRing(QQ,'x').gen()
> F_pol = x^3 - x^2 - 2*x + 1
> F. = NumberField(F_pol, 'lam')
> D = 4*lam^2 + 4*lam - 4
> K_pol = x^2 - D
> K
Ok, convert to maxima, derive, convert back to sage works fine.
At first a little bit confusing for the unprepared mind though.
--
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, s
It is not F[0] it is F(0). :-) The example cited is definitely a bug,
perhaps from sage. Note the following:
sage: M = matrix(F, [[1],[0]])
sage: type(M)
sage: M
)
failed: OverflowError: cannot convert float infinity to integer>
So, sage doesn
Hi again
I somehow can't get it to work for non-exact fields / CC.
Here is an example:
x = PolynomialRing(QQ,'x').gen()
F_pol = x^3 - x^2 - 2*x + 1
F. = NumberField(F_pol, 'lam')
D = 4*lam^2 + 4*lam - 4
K_pol = x^2 - D
K = F.extension(K_pol, 'e')
L = CC
lam_im = F_po
There is definitely something wrong, but what would you expect from the command
sage: F[0]
Vincent
2014-09-19 6:25 UTC+02:00, Michiel Kosters :
> I have a similar bug with the following code:
>
> n=16
> F.=GF(2^n)
> print Matrix([a]), F(0)
> print Matrix([F(0)])
>
> The last print statement give
Hello,
it seems that the derivatives of bessel_K have the wrong sign:
sage: [Bessel(i, 'K')(x).diff(x) for i in range(5)]
[1/2*bessel_K(1, x) + 1/2*bessel_K(-1, x), 1/2*bessel_K(2, x) +
1/2*bessel_K(0, x), 1/2*bessel_K(3, x) + 1/2*bessel_K(1, x),
1/2*bessel_K(4, x) + 1/2*bessel_K(2, x), 1/2*bess
Can you be more specific about exactly what you were trying to do? This is
very vague, just reporting a log without context. Thanks!
On Wednesday, September 17, 2014 10:10:06 AM UTC-4, Jacques Avigdor wrote:
>
> Here the act Log
>
>
> Traceback (most recent call last):
> File
> "/Application
>
> Is this just my computer, or has anyone else experienced this:
>
> ┌┐
> │ Sage Version 6.2, Release Date: 2014-05-06 │
> │ Type "notebook()" for the browser-based notebook interface.│
> │ Type "
Is this just my computer, or has anyone else experienced this:
┌┐
│ Sage Version 6.2, Release Date: 2014-05-06 │
│ Type "notebook()" for the browser-based notebook interface.│
│ Type "help()" for he
I have a similar bug with the following code:
n=16
F.=GF(2^n)
print Matrix([a]), F(0)
print Matrix([F(0)])
The last print statement gives an error OverflowError: cannot convert float
infinity to integer
For other n, the code does not give an error.
Yours,
Michiel
On Tuesday, July 8, 2014 10:
Ok, this was answered on:
http://ask.sagemath.org/question/24173/homomorphisms-for-relative-number-fields/
Regards
Jonas
On 17.09.2014 23:31, Jonas Jermann wrote:
Hi
How can I define a homomorphism from a relative number field
to some other field L which sends (all) the generators to
cor
11 matches
Mail list logo