Ask Your Question

Kevin Smith's profile - activity

2019-05-12 13:53:42 -0600 received badge  Notable Question (source)
2017-12-11 22:04:10 -0600 received badge  Popular Question (source)
2017-12-11 22:03:51 -0600 received badge  Student (source)
2016-07-05 15:05:52 -0600 received badge  Notable Question (source)
2016-07-05 15:05:52 -0600 received badge  Popular Question (source)
2015-01-21 06:05:44 -0600 received badge  Scholar (source)
2015-01-20 09:01:56 -0600 received badge  Commentator
2015-01-20 09:01:56 -0600 commented question linbox error in sage 6.4 install to ubuntu 14.04

Thank you for this people. I had tried to run the ./sage command previously, however it didn't work so I'd assumed it was source code and ran make. I've now downloaded the source bundle-.gz, as per slelievre's answer below, and the same problem hasn't occurred. Problem solved. Thanks again.

2015-01-19 14:20:09 -0600 commented answer linbox error in sage 6.4 install to ubuntu 14.04

Thank you for this useful answer.

2015-01-19 13:37:08 -0600 commented question linbox error in sage 6.4 install to ubuntu 14.04

I downloaded the .lzma tarball of the source files from the linux site, into home/Downloads. I used the archive manager to unzip it,I renamed the file unzipped file SAGE_ROOT and put it into the home directory. I then typed 'make' in home/SAGE_ROOT.

I think somehow I've managed to recreate a problem involving the DDISABLE_COMMENTATOR business that one finds people encountered on mac OS, not sure.

It appears

2015-01-18 05:37:50 -0600 commented question linbox error in sage 6.4 install to ubuntu 14.04

I have all of those yes.

2015-01-18 04:56:44 -0600 commented answer How to create a loop with two variables?

Excuse my absolute ignorance of programming- though I am now certain this is complete nonsense from sage's point of view, in an algebraic sense, I want the function I(x) to be something in the domain of the operator that I name Moebius. The reason I set I(x) to be constant initially was merely to demonstrate that I get the right output in this case. What I really want to do is take the output as an input to further applications of Moebius, so that I get the higher order Mertens functions, that is, the Mellin transforms of the negative powers of the Riemann zeta function. Of course there ought to be another way to do this involving extracting the number of times each primes divides a given integer, but that looked rather more difficult at first. It's equally likely that I am mistaken about that too though.

2015-01-18 04:40:08 -0600 asked a question linbox error in sage 6.4 install to ubuntu 14.04

I have just switched over to ubuntu and attempted to install sagemath for the first time. The install ran for about an hour then stopped with the following information in the logfile:

make[7]: Entering directory `/home/kevin/Downloads/sage/local/var/tmp/sage/build/linbox-1.3.2.p1/src/linbox/util'
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../linbox -I/home/kevin/Downloads/sage/local/include -I/home/kevin/Downloads/sage/local/include -DDISABLE_COMMENTATOR -O2    -g -DNDEBUG -U_LB_DEBUG -I/home/kevin/Downloads/sage/local/include  -g -fPIC -c -o error.lo error.C
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../linbox -I/home/kevin/Downloads/sage/local/include -I/home/kevin/Downloads/sage/local/include -DDISABLE_COMMENTATOR -O2 -g -DNDEBUG -U_LB_DEBUG -I/home/kevin/Downloads/sage/local/include -g -fPIC -c error.C  -fPIC -DPIC -o .libs/error.o
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../linbox -I/home/kevin/Downloads/sage/local/include -I/home/kevin/Downloads/sage/local/include -DDISABLE_COMMENTATOR -O2    -g -DNDEBUG -U_LB_DEBUG -I/home/kevin/Downloads/sage/local/include  -g -fPIC -c -o debug.lo debug.C
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../linbox -I/home/kevin/Downloads/sage/local/include -I/home/kevin/Downloads/sage/local/include -DDISABLE_COMMENTATOR -O2 -g -DNDEBUG -U_LB_DEBUG -I/home/kevin/Downloads/sage/local/include -g -fPIC -c debug.C  -fPIC -DPIC -o .libs/debug.o
/bin/bash ../../libtool --tag=CXX   --mode=link g++ -O2    -g -DNDEBUG -U_LB_DEBUG -I/home/kevin/Downloads/sage/local/include  -g -fPIC -L/home/kevin/Downloads/sage/local/lib -lgivaro    -o libutil.la  error.lo debug.lo  -L/home/kevin/Downloads/sage/local/lib -lgivaro
libtool: link: warning: library `/home/kevin/Downloads/sage/local/lib/libgivaro.la' was moved.
/bin/grep: /home/buildslave-sage/slave/sage_git/build/local/lib/libgmpxx.la: No such file or directory
/bin/sed: can't read /home/buildslave-sage/slave/sage_git/build/local/lib/libgmpxx.la: No such file or directory
libtool: link: `/home/buildslave-sage/slave/sage_git/build/local/lib/libgmpxx.la' is not a valid libtool archive
make[7]: *** [libutil.la] Error 1
make[7]: Leaving directory `/home/kevin/Downloads/sage/local/var/tmp/sage/build/linbox-1.3.2.p1/src/linbox/util'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/kevin/Downloads/sage/local/var/tmp/sage/build/linbox-1.3.2.p1/src/linbox/util'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/kevin/Downloads/sage/local/var/tmp/sage/build/linbox-1.3.2.p1/src/linbox'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/kevin/Downloads/sage/local/var/tmp/sage/build/linbox-1.3.2.p1/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/kevin/Downloads/sage/local/var/tmp/sage/build/linbox-1.3.2.p1/src'
Error building LinBox.

This is well over my head, so I wonder if anyone can help-there doesn't seem to be anything on the ubuntu forums.

Thanks in advance

2015-01-03 08:37:26 -0600 commented answer How to create a loop with two variables?

Without the presence of a function such as I(x), I don't see how Moebius even has an input ( other than x). Can you explain how your solution had another input please? Thank you

2015-01-03 06:51:31 -0600 commented answer How to create a loop with two variables?

Thank you very much for such a prompt and clear reply. The I function was there because I'd hoped to have it as non-trivial input to the function.

2015-01-03 05:55:13 -0600 asked a question How to create a loop with two variables?

I have defined the following functions:

def I(x):
    return 1

def Moebius(x):
    return sum(moebius(i) * I(x*i^(-1)) for i in range(1,x+1))

The output is of course Mertens function. How do I turn Moebius(x) into an operator, so that I can define Moebius^2(x) as the Moebius transform of the output?

2014-12-10 03:58:36 -0600 commented answer Mertens Function Error

Thank you! Is there an obvious reason why this only works sporadically? I would like to know.

2014-12-10 03:56:45 -0600 commented question Mertens Function Error

Thank you.

2014-12-10 03:38:44 -0600 asked a question Mertens Function Error

I am new to Sage, so I suppose the answer to this is ridiculously obvious, but please go easy on me!

I have an error when I try to get Mertens function as an output yet: I know the summation works for other functions; and I know the Moebius function is defined on the range. So what's going on?

This is the input and output:

sage: var('j')
sage: f = moebius(j) 
TypeError                                 Traceback (most recent call last)
....
----> f=moebius(j)
...
TypeError: 'sage.symbolic.expression.Expression' object is not iterable