Re: [sage-support] Re: solve() free variable substitution

2013-06-12 Thread robin hankin
On Thu, Jun 13, 2013 at 12:45 PM, kcrisman wrote: > >> Smells like a bug... > > > Not exactly. The documentation for solve makes it clear (I hope!) in the > examples that these are "generic" variables generated by Maxima which we do > not make "Sage" variables. They just mean, "any old integer"

Re: [sage-support] sin(x)/cos(x)

2013-06-12 Thread Stephen Montgomery-Smith
On 06/11/2013 09:44 PM, robin hankin wrote: > OK thanks for this, bug reported [at least, I think it is. I > couldn't see it on trac]. > > Now what about this: > > > sage: solve(sin(x) + cos(x) == cos(2*x),x,to_poly_solve=True) > [x == 2*pi*z264, x == 2*pi*z268 + 1/6004799503160661*I - 355/4

[sage-support] Re: solve() free variable substitution

2013-06-12 Thread leif
kcrisman wrote: On Wednesday, June 12, 2013 8:09:02 PM UTC-4, leif wrote: robin hankin wrote: > hello, sage 5.9 > > If solve() gives an unspecificed integer, how do I substitute a > particular value into the expression? > > subs() does not work as expected/desi

[sage-support] Re: solve() free variable substitution

2013-06-12 Thread kcrisman
On Wednesday, June 12, 2013 8:09:02 PM UTC-4, leif wrote: > > robin hankin wrote: > > hello, sage 5.9 > > > > If solve() gives an unspecificed integer, how do I substitute a > > particular value into the expression? > > > > subs() does not work as expected/desired because the free variable

[sage-support] Re: solve() free variable substitution

2013-06-12 Thread leif
leif wrote: robin hankin wrote: hello, sage 5.9 If solve() gives an unspecificed integer, how do I substitute a particular value into the expression? subs() does not work as expected/desired because the free variables don't seem to be defined. sage: a=solve(sin(x)==0,x,to_poly_solve='force')

[sage-support] Re: solve() free variable substitution

2013-06-12 Thread leif
robin hankin wrote: hello, sage 5.9 If solve() gives an unspecificed integer, how do I substitute a particular value into the expression? subs() does not work as expected/desired because the free variables don't seem to be defined. sage: a=solve(sin(x)==0,x,to_poly_solve='force');a [x == 2*pi

[sage-support] solve() free variable substitution

2013-06-12 Thread robin hankin
hello, sage 5.9 If solve() gives an unspecificed integer, how do I substitute a particular value into the expression? subs() does not work as expected/desired because the free variables don't seem to be defined. sage: a=solve(sin(x)==0,x,to_poly_solve='force');a [x == 2*pi*z38, x == pi + 2*pi*z

[sage-support] Re: 5.9 build issue (source build)

2013-06-12 Thread leif
arojas wrote: El miércoles, 12 de junio de 2013 23:01:52 UTC+2, leif escribió: What does, in a Sage subshell ('./sage --sh'), the following give? $ echo '#include ' > gen_cf_gmp.cc $ $CXX -I$SAGE_LOCAL/include -M gen_cf_gmp.cc | grep gmp.h /opt/sage/local/include/gmp.h /usr/incl

[sage-support] Re: Capturing output, was: 5.9 build issue (source build)

2013-06-12 Thread leif
Stephen Montgomery-Smith wrote: On 06/12/2013 11:04 AM, leif wrote: chexmix wrote: I ran a script session to capture the build output. P.S.: You don't have to do that. There's $SAGE_ROOT/logs/install.log (cumulative, usually mostly unreadable when 'make' is run with multiple jobs), and $SAG

[sage-support] Re: 5.9 build issue (source build)

2013-06-12 Thread arojas
El miércoles, 12 de junio de 2013 23:01:52 UTC+2, leif escribió: What does, in a Sage subshell ('./sage --sh'), the following give? > > $ echo '#include ' > gen_cf_gmp.cc > > $ $CXX -I$SAGE_LOCAL/include -M gen_cf_gmp.cc | grep gmp.h > > /opt/sage/local/include/gmp.h /usr/include/c++/4.8.1

[sage-support] Re: 5.9 build issue (source build)

2013-06-12 Thread leif
arojas wrote: In Arch Linux a workaround for this is exporting CPP='/usr/bin/cpp' before compilation May I ask you the same? What does, in a Sage subshell ('./sage --sh'), the following give? $ echo '#include ' > gen_cf_gmp.cc $ $CXX -I$SAGE_LOCAL/include -M gen_cf_gmp.cc | grep gmp.h

[sage-support] Capturing output, was: 5.9 build issue (source build)

2013-06-12 Thread Stephen Montgomery-Smith
On 06/12/2013 11:04 AM, leif wrote: > chexmix wrote: >> I ran a script session to capture the build output. > > P.S.: > > You don't have to do that. > > There's $SAGE_ROOT/logs/install.log (cumulative, usually mostly > unreadable when 'make' is run with multiple jobs), and > $SAGE_ROOT/logs/pkgs

Re: [sage-support] sin(x)/cos(x)

2013-06-12 Thread kcrisman
On Tuesday, June 11, 2013 10:44:38 PM UTC-4, robin wrote: > > OK thanks for this, bug reported [at least, I think it is. I > couldn't see it on trac]. > > No > Unfortunately, the bug tracker from the notebook does *not* automatically create Trac tickets. (Actually, this is sort of good,

[sage-support] Re: 5.9 build issue (source build)

2013-06-12 Thread arojas
El miércoles, 12 de junio de 2013 16:42:01 UTC+2, chexmix escribió: > Hi -- > > I b0rked the Sage install on my netbook by somehow bungling upgrade(), so > decided to reinstall from source (I run Linux, but it's neither Red Hat-based > nor Debian/Ubuntu-oid ... it's Slackware). > > For the fir

[sage-support] Re: 5.9 build issue with Singular and bits/c++config.h

2013-06-12 Thread leif
leif wrote: What does, in a Sage subshell ('./sage --sh'), the following give: $ echo '#include ' > gen_cf_gmp.cc $ $CXX -M gen_cf_gmp.cc | grep gmp.h Oh, forgot: And what does in contrast $ $CXX -I$SAGE_LOCAL/include -M gen_cf_gmp.cc | grep gmp.h give? -leif (Do that in some arbitra

Re: [sage-support] sin(x)/cos(x)

2013-06-12 Thread Michael Orlitzky
On 06/11/2013 10:44 PM, robin hankin wrote: > OK thanks for this, bug reported [at least, I think it is. I > couldn't see it on trac]. > > Now what about this: > > > sage: solve(sin(x) + cos(x) == cos(2*x),x,to_poly_solve=True) > [x == 2*pi*z264, x == 2*pi*z268 + 1/6004799503160661*I - 355/4

[sage-support] Re: 5.9 build issue with Singular and bits/c++config.h

2013-06-12 Thread leif
leif wrote: chexmix wrote: In file included from ../kernel/si_gmp.h:4:0, from ../kernel/structs.h:15, from weight0.c:13: ../factory/cf_gmp.h:2501:28: fatal error: bits/c++config.h: No such file or directory #include ^ compilatio

[sage-support] Re: abstract algebraic equivalence

2013-06-12 Thread Stephen Nuchia
Apparently the answer to my last question is "yes". Since I originally studied the Sage tutorials a couple of years ago "var" has been extended to attache a domain to variables. Still reading up on it, it's connected to the assumptions mechanism and simplify method. I used all of the above in

Re: [sage-support] Re: sage sw for office

2013-06-12 Thread William Stein
On Wed, Jun 12, 2013 at 10:53 AM, Stephen Nuchia wrote: > This forum is for the open-source mathematics program called Sage. You want > the commercial office automation software company called Sage. See sage.com. > And to avoid future confusion:http://sagemath.org/legal.html > -- > You re

[sage-support] Re: sage sw for office

2013-06-12 Thread Stephen Nuchia
This forum is for the open-source mathematics program called Sage. You want the commercial office automation software company called Sage. See sage.com. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop r

[sage-support] abstract algebraic equivalence

2013-06-12 Thread Stephen Nuchia
In graduate school I used Mathematica all day every day. I've not had the luxury of that kind of immersion in Sage (yet). But I've searched the documentation and the forums and I see others struggling with the same issue I'm having so I don't think it's just me. I am working on mathematical a

[sage-support] Re: 5.9 build issue (source build)

2013-06-12 Thread leif
chexmix wrote: I ran a script session to capture the build output. P.S.: You don't have to do that. There's $SAGE_ROOT/logs/install.log (cumulative, usually mostly unreadable when 'make' is run with multiple jobs), and $SAGE_ROOT/logs/pkgs/.log for each of the Sage packages (formerly in $S

[sage-support] Re: 5.9 build issue with Singular and bits/c++config.h

2013-06-12 Thread leif
chexmix wrote: I b0rked the Sage install on my netbook by somehow bungling upgrade(), so decided to reinstall from source (I run Linux, but it's neither Red Hat-based nor Debian/Ubuntu-oid ... it's Slackware). For the first time ever, the Sage build failed. The details: OS is Slackware Linux 1

[sage-support] 5.9 build issue (source build)

2013-06-12 Thread chexmix
Hi -- I b0rked the Sage install on my netbook by somehow bungling upgrade(), so decided to reinstall from source (I run Linux, but it's neither Red Hat-based nor Debian/Ubuntu-oid ... it's Slackware). For the first time ever, the Sage build failed. The details: OS is Slackware Linux 14.0, 64