I just tried the following code on sagemath cloud. Note the last line in
the error message -- clearly not correct!
Victor
sage> V = VectorSpace(QQ,12)
sage> C = ModulesWithBasis(V.base_ring())
sage> C0 = C.FiniteDimensional()
sage> V in C0
False
sage> v = V.random_element()
sage> V0 = V.sub
> On Thursday, March 31, 2016, VictorMiller > wrote:
>
>> The method rational_form for matrices just returns the class
>> representative of the conjugacy class of a matrix by other rational
>> matrices. A similar function PrimaryRationalForm in magma returns 3 things
&
The method rational_form for matrices just returns the class representative
of the conjugacy class of a matrix by other rational matrices. A similar
function PrimaryRationalForm in magma returns 3 things -- the class
representative, a rational matrix which, when conjugated by the input,
gives
I have Sage-6.6 on my macbook. At first I tried to install the package
qepcad and got "Not Found: '//www.sagemath.org/spkg/optional/list".
When I tried to have my browser go to http://www.sagemath.org/spkg and
clicked on Optional I got "404". I then went to the MIT mirror, and
downloaded the
I'd like to have a python "very global" variable -- i.e. one which
will be unique, not only across all worksheets in a notebook, but
across ALL notebook sessions on a server, even those with different
log in ids. How can I do this?
--
To post to this group, send an email to sage-devel@googlegrou
I got a cython error. On on a Mac book pro running OSX 10.6 with sage
4.6.2 64 bit:
cythoning patch/mipGlpk.pyx to patch/mipGlpk.cpp
Error converting Pyrex file to C:
...
# Builds the GLPK version of the problem
build_glp_prob
on called '*' only
defined on elements of that ideal (I won't bother to give to the
axioms). This also extends in standard ways to power series.
Victor
On Oct 27, 5:07 pm, Florent Hivert
wrote:
> Hi Victor,
>
> On Wed, Oct 27, 2010 at 01:55:21PM -0700, VictorMiller wrot
I would like to experiment with adding some new types. One of the is
SemiRing (this is an algebraic structure which is like a ring except
that there might not be an additive inverse -- think of the
nonnegative integers). I would like to insert it in the class
hierarchy so that every Ring is a Sem
I find that in writing python code for inclusion into SAGE that I
always need to add lines like:
from foo import baz,faz,buz
to the top of my file, in order to get standard SAGE things such as
ZZ, QQ, factor, randint, etc. etc. known to the code. The way I've
been doing that is to look at my cod
I'm in the process of developing some SAGE packages, so I've made my
own private copy of the whole SAGE tree, and have added/modified some
files in that. I'd like to upgrade to a new SAGE version. What's the
proper procedure for doing this? That is how do I get my changes
installed into it. I s
This is the last error that's in the sage install.log, before it
quits:
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "", line 1, in ?
File "/east/u/victor/sage-4.3.rc0/local/lib/python/hashlib.py", line
136, in ?
md5 = __get_builtin_constructor('md5')
t error message might just be warning, but its
> hard to tell.
>
> -Marshall
>
> On Dec 14, 3:22 pm, VictorMiller wrote:
>
> > More data. I downloaded the Python-2.6.4 source from python.org and
> > tried to build it. I get the same sort of errors mentioning
> >
that anything involving sudo is
out.
Victor
On Dec 14, 2:49 pm, VictorMiller wrote:
> When trying to build sage 4.3 on a 64 bit Redhat system, the first
> error that I get is:
>
> Failed to find the necessary bits to build these modules:
> bsddb185 dl
When trying to build sage 4.3 on a 64 bit Redhat system, the first
error that I get is:
Failed to find the necessary bits to build these modules:
bsddb185 dl imageop
sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for
the module's name.
Quest
Can someone tell me where I can get SAGE sources for old (possibly
very old) versions? The reason that I ask is that I've been unable to
build SAGE from sources on my 32 bit redhat system since version 4.
The error that keeps happening is first the following:
*** WARNING: renaming "readline" sinc
To do this correctly in full generality one needs to get into
"cyclindrical algebraic decomposition" -- a set in R^n has a
cylindrical algebraic
decomposition if it is written as a finite union of sets of the form
{ x : f(x) > 0 } where f is a polynomial. There is an algorithm due
to Tarski
for cr
This is a question about class design in SAGE.
I'm going to implement classes for various flavors of decision
diagrams using the outside package CUDD. It turns out that Cudd and
its library is already part of SAGE -- it's included as part of
Polybori (which uses it "under the covers"). The inter
*** [installed/python-2.6.2.p4] Error 1
make[1]: Leaving directory `/east/u/victor/sage-4.2.1/spkg'
real5m9.467s
user1m40.578s
sys 0m34.178s
Error building Sage.
ld these modules:
dbm readline
On Nov 19, 6:01 pm, William Stein wrote:
> On Thu, Nov 19, 2009 at 2:29 PM,
(cd /u/victor/sage-4.2.1/local/bin; ln python2.6 python)
rm -f /u/victor/sage-4.2.1/local/bin/python-config
(cd /u/victor/sage-4.2.1/local/bin; ln -s python2.6-config python-
config)
/usr/bin/install -c -m 644 ./Misc/python.man \
/u/victor/sage-4.2.1/local/share/man/man1/python.1
ma
> On Tuesday 10 November 2009, VictorMiller wrote:
>
> > The package CUDD is part of Polybori, which uses it for some internal
> > manipulation. I'm interested in accessing some CUDD functions
> > directly, but I'm not sure where to find the library. More
>
The package CUDD is part of Polybori, which uses it for some internal
manipulation. I'm interested in accessing some CUDD functions
directly, but I'm not sure where to find the library. More
specifically, if I wanted to write some Cython to access these
functions what path should I use? It's ha
Yes, this is a great idea. The benchmarks should be contained in some
sort of database, and, the previous values on the same machine should
be compared to the new values, and significant departures (both
positively and negatively) listed. If performance degrades
significantly on one test, it cou
This brings back memories -- my father went to work for the Rand
Corporation (System Development Division -- later spun off as SDC) in
1956 to join project SAGE. He was later the site leader of one of the
SAGE installations at Stewart AFB in Newburgh, NY. The SAGE computer
-- the ANFSQ7 (or Q7)
No, installing or upgrading Linux isn't an option.
Victor
On Aug 7, 9:40 pm, William Stein wrote:
> On Fri, Aug 7, 2009 at 6:37 PM, VictorMiller wrote:
>
>
>
>
>
>
>
> > Here's the cpuinfo:
>
> > processor : 0
> > vendor_id
53 pm, William Stein wrote:
> On Fri, Aug 7, 2009 at 4:47 PM, VictorMiller wrote:
>
>
>
> > gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
>
> > uname -a
> > Linux manley 2.6.18-128.1.10.el5 #1 SMP Wed Apr 29 13:55:17 EDT 2009
> > i686 i686 i386 GNU/Linux
>
>
hf_lm
bogomips: 5985.03
clflush size: 64
cache_alignment : 64
address sizes : 38 bits physical, 48 bits virtual
power management:
On Aug 7, 7:53 pm, William Stein wrote:
> On Fri, Aug 7, 2009 at 4:47 PM, VictorMiller wrote:
>
>
>
> > gcc (GCC) 4.1.2 20080704 (Red Hat
g 7, 2009 at 3:35 PM, VictorMiller wrote:
>
>
>
> > I just downloaded the source of sage 4.1 from sagemath.org, and tried
> > to build it (using make). It failed.
>
> > Here are some relevant parts of the install.log
>
> What compiler? What operating system (i.e.,
I just downloaded the source of sage 4.1 from sagemath.org, and tried
to build it (using make). It failed.
Here are some relevant parts of the install.log
building 'dbm' extension
gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -DHAVE_GDBM_NDBM_H -I. -
On Aug 6, 7:02 am, gsw wrote:
> On 5 Aug., 19:15, VictorMiller wrote:
>
>
>
>
>
> > Ok, I think I've found the problem. Perhaps this should point to the
> > need for making clear and complete instructions about creating your
> > own copy.
>
> > I f
hese files?
Victor
On Aug 5, 12:50 pm, VictorMiller wrote:
> First, when I run
>
> mysage -sh
>
> and look at the environment variables involving the string SAGE, I
> find they the all point to my local copy. There is a SAGE_SERVER
> variable
> which has the valuehttp://ww
On Aug 4, 5:57 pm, William Stein wrote:
> On Tue, Aug 4, 2009 at 2:50 PM, VictorMiller wrote:
>
>
>
> > It isn't. Systemwide SAGE is only in my path if I run a particular
> > script. I tried this in a fresh shell and checked that the systemwide
> > SAGE w
own copy.
>
> Don't recall the exact details, though, so I may be way off target.
>
> Best, Gonzalo
>
> On Tue, Aug 4, 2009 at 6:50 PM, VictorMiller wrote:
>
> > It isn't. Systemwide SAGE is only in my path if I run a particular
> > script. I tried this
It isn't. Systemwide SAGE is only in my path if I run a particular
script. I tried this in a fresh shell and checked that the systemwide
SAGE wasn't there. The problem was still there!
Victor
On Aug 4, 5:12 pm, William Stein wrote:
> On Tue, Aug 4, 2009 at 12:12 PM, Victo
More info. When I type
notebook()
after typing the banner telling me to open my web browser
it prints a path to a system files copy of sob.py (not my local
copy!)
and a deprecation warning about the md5 module.
Victor
On Aug 4, 2:46 pm, gsw wrote:
> Guess 2:
> You need to "run" this new cop
Thanks for the suggestions. I checked -- my local copies are all
writeable, and
sage-current-location.txt contains my local path. As I said in the
previous post, everything works ok in command line.
It's just when I work from the notebook that I get pointed back at the
system files.
Could my ~/.
['SAGE_ROOT'] from the command line it points to
my local branch
but from the notebook it points to the system directory.
Victor
On Aug 4, 2:20 pm, William Stein wrote:
> On Tue, Aug 4, 2009 at 10:40 AM, VictorMiller wrote:
>
> > I have a copy of SAGE 4.1 installed in our syste
I have a copy of SAGE 4.1 installed in our system files, and I want to
work on changing some code. So, I copied sage and its subdirectories
into my home directory:
cp -p -R sage-system-directory ~/sage
I also copied the sage script into my ~/bin, renaming it mysage and
then edited the SAGE_ROOT
and
prime associated with them, and then change multiplicative order to
use that method.
Victor
On Jul 31, 11:16 am, Simon King wrote:
> Hi Victor,
>
> On Jul 31, 3:59 pm, VictorMiller wrote:
>
> > I was just looking at the code for multiplicative_order in
> > fini
I was just looking at the code for multiplicative_order in
finite_field_element.py, and noticed that it factors the group order,
and find the "cofactors" corresponding to each prime power dividing
the order (which is really the only algorithm that I know to do
this). To avoid repeating this calcu
I'm in the process of trying to write a class for G-Modules, where G
is a finite group (in particular, I'm interested in Galois modules).
As far as I can see, this doesn't seem to exist in SAGE. In the
process of doing this I've been reading over code, and noticed that
there seems to be a certain
Ah, ok, I understand.
On Jul 22, 4:42 pm, Minh Nguyen wrote:
> Hi Victor,
>
> On Thu, Jul 23, 2009 at 6:36 AM, VictorMiller wrote:
>
> > I just tried to run sage -clone on our local SAGE installation and got
> > back the following error.
> > Is there something wr
I just tried to run sage -clone on our local SAGE installation and got
back the following error.
Is there something wrong with the SAGE installation? How can it be
fixed?
Victor
Now cloning the current Sage library branch...
hg clone sage sage-victor
Not trusting file /east/common/Sage/sage-4.0
As a comparison I just ran my old C program (implementing the
algorithm in my paper with Lagarias and Odlyzko) on my workstation
which is a fast Dell '86 box (sorry I don't have more details) running
Red Hat:
time ./findn 249
n=249_999_999_999_999
pi(249_999_999_999_999)=7_783_516_108
The following code causes a crash:
R = BooleanPolynomialRing(2)
f = 1 + R.gens()[0]
s = f.set()
t = set(s)
# this happened on sagenb.org, as well as the latest SAGE version
installed locally.
Unhandled SIGSEGV: A segmentation fault
I just tried downloading sage-2.9.3 and building it on my system
(value of uname -a is below):
Linux runner 2.6.9-55.0.9.ELsmp #1 SMP Tue Sep 25 02:17:24 EDT 2007
i686 i686 i386 GNU/Linux
I got an error. As requested, I'm posting the relevant lines.
Victor
sage-spkg cython-0.9.6.9 2>&1
cython
45 matches
Mail list logo