Ask Your Question

finotti's profile - activity

2020-11-16 07:38:07 +0100 received badge  Famous Question (source)
2019-04-02 17:37:20 +0100 received badge  Nice Question (source)
2018-09-21 20:42:38 +0100 received badge  Notable Question (source)
2016-03-16 20:30:50 +0100 received badge  Popular Question (source)
2013-04-28 07:04:04 +0100 received badge  Taxonomist
2012-11-25 14:49:40 +0100 received badge  Notable Question (source)
2012-10-09 03:04:51 +0100 received badge  Notable Question (source)
2012-08-07 05:35:15 +0100 received badge  Popular Question (source)
2011-12-26 08:47:25 +0100 received badge  Popular Question (source)
2011-08-16 14:55:01 +0100 received badge  Nice Question (source)
2011-08-15 17:32:38 +0100 commented answer bug in minimal polynomials of finite fields

Thanks! (Are you a Sage developer? Should I consider the bug reported?)

2011-08-15 15:30:28 +0100 asked a question bug in minimal polynomials of finite fields

In a compiled version of 4.7 (64 bit, Debian Sid), I get:

   ----------------------------------------------------------------------
| Sage Version 4.7, Release Date: 2011-05-23                         |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: F.<a>=GF(2^64)          
sage: a.minpoly()
_3 = x^64 + x^33 + x^30 + x^26 + x^25 + x^24 + x^23 + x^22 + x^21 + x^20 + x^18 + x^13 + x^12 + x^11 + x^10 + x^7 + x^5 + x^4 + x^2 + x + 1
sage: K.<b>=GF(2^128)
sage: b.minpoly()
_5 = x^128 + x^7 + x^2 + x + 1
sage: a.minpoly()
_6 = x^128 + x^7 + x^2 + x + 1

Is this a bug or am I doing something stupid?

Thanks,

Luis

2011-05-31 13:54:46 +0100 commented answer Fedora 14 binary

Thanks. I've compiled it from source successfully.

2011-05-27 11:48:59 +0100 asked a question Fedora 14 binary

Dear all,

I just installed sage-4.7-linux-64bit-fedora_release_14_laughlin_-x86_64-Linux.tar.lzma on my computer running Fedora 14:

boole[~]$ uname -a

Linux boole.math.utk.edu 2.6.35.12-90.fc14.x86_64 #1 SMP Fri Apr 22 16:01:29 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

But I'm getting the following error:

ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /work/local/sage-4.7/local/lib/python2.6/site-packages/sage/rings/finite_rings/element_givaro.so)
Error importing ipy_profile_sage - perhaps you should run %upgrade?
WARNING: Loading of ipy_profile_sage failed.

I do get a prompt but

sage: 2+2
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)

/work/local/sage-4.7/local/bin/<ipython console> in <module>()

NameError: name 'Integer' is not defined

Can this be fixed or should I just compile it from source.

Thanks,

Luis

2011-03-29 16:46:10 +0100 commented answer no linewidth with parametric plot

Thanks. That works (of course). It is too bad that the syntax is not uniform...

2011-03-28 18:42:17 +0100 received badge  Organizer (source)
2011-03-28 18:41:32 +0100 asked a question no linewidth with parametric plot

It seems that there is no option for linewidth in parametric_plot. (2D in my case.) Is that true? Any way to make the graph thicker?

2010-11-08 20:18:39 +0100 received badge  Supporter
2010-11-05 17:50:53 +0100 commented question compilation problem: 4.6 on Fedora 11

Thanks Evgeny. I hadn't noticed the code buttom...

2010-11-05 17:48:04 +0100 commented answer compilation problem: 4.6 on Fedora 11

Thanks! This worked perfectly.

2010-11-05 10:04:44 +0100 asked a question compilation problem: 4.6 on Fedora 11

Hi,

I am trying to install from source version 4.6. The computer is a Dell server running Fedora 11.

boole[~]$ uname -a
Linux boole.math.utk.edu 2.6.30.10-105.2.23.fc11.x86_64 #1 SMP Thu Feb 11 07:06:34 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

Here is the end of install.log:

stark.o ../src/modules/stark.c
gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer  -O3 -g   -I. -I../src/headers -fPIC -o subfield.o ../src/modules/subfield.c
gcc  -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer  -O3 -g   -I. -I../src/headers -fPIC -o thue.o ../src/modules/thue.c
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[3]: *** [base3.o] Error 1
make[3]: Leaving directory `/work/local/sage-4.6/spkg/build/pari-2.4.3.svn-12577.p9/src/Olinux-x86_64'
make[2]: *** [gp] Error 2
make[2]: Leaving directory `/work/local/sage-4.6/spkg/build/pari-2.4.3.svn-12577.p9/src'
Error building GP

real    111m27.732s
user    112m57.112s
sys     1m18.139s
sage: An error occurred while installing pari-2.4.3.svn-12577.p9
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /scratch/local/sage-4.6/install.log.  Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/scratch/local/sage-4.6/spkg/build/pari-2.4.3.svn-12577.p9 and type 'make check' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/scratch/local/sage-4.6/spkg/build/pari-2.4.3.svn-12577.p9' && '/scratch/local/sage-4.6/sage' -sh)
When you are done debugging, you can type "exit" to leave the
subshell.
make[1]: *** [installed/pari-2.4.3.svn-12577.p9] Error 1
make[1]: Leaving directory `/work/local/sage-4.6/spkg'

real    143m41.614s
user    143m27.691s
sys     9m26.463s
Error building Sage.

Any ideas?

Thanks,

Luis

2010-10-14 23:11:12 +0100 received badge  Student (source)
2010-09-07 11:32:48 +0100 asked a question plotting prime_pi

Maybe I am missing something really simple, but shouldn't one be able to plot prime_pi?


----------------------------------------------------------------------
| Sage Version 4.5.1, Release Date: 2010-07-19                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: plot(prime_pi(x),3,10)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)

/home/dept/finotti/<ipython console=""> in <module>()

/scratch/local/sage-4.5.1/local/lib/python2.6/site-packages/sage/functions/prime_pi.so in sage.functions.prime_pi.PrimePi.__call__ (sage/functions/prime_pi.c:1064)()

/scratch/local/sage-4.5.1/local/lib/python2.6/site-packages/sage/symbolic/expression.so in sage.symbolic.expression.Expression.__int__ (sage/symbolic/expression.cpp:4171)()

/scratch/local/sage-4.5.1/local/lib/python2.6/site-packages/sage/symbolic/expression.so in sage.symbolic.expression.Expression.n (sage/symbolic/expression.cpp:17042)()

TypeError: cannot evaluate symbolic expression numerically

It seems wot work fine with real input


sage: prime_pi(pi)
_3 = 2
sage: prime_pi(1020.312788)
_4 = 171

Thanks,

Luis