On Wed, Jul 2, 2014 at 10:43 PM, Nils Bruin wrote:
> On Wednesday, July 2, 2014 10:14:44 AM UTC-7, Jole Bradbury wrote:
>>
>> 2) I've noticed on the Sage Cell Server demo online that typing Maxima
>> code will result in every line being evaluated but Sage code only evaluates
>> the last line. For
On Wednesday, July 2, 2014 10:14:44 AM UTC-7, Jole Bradbury wrote:
>
> 2) I've noticed on the Sage Cell Server demo online that typing Maxima
> code will result in every line being evaluated but Sage code only evaluates
> the last line. For example,
> integrate(1,x)
> integrate(2,x)
> In "Sage"
A, that is the issue.
Thanks
Chris
On Wed, Jul 2, 2014 at 6:06 PM, Nils Bruin wrote:
> On Wednesday, July 2, 2014 4:33:33 PM UTC-7, Chris Maness wrote:
>>
>>
>> TypeError: unsupported operand parent(s) for '*': 'Symbolic Ring' and
>> ''
>>
> This error is more concisely generated with:
>
>
On Wednesday, July 2, 2014 4:33:33 PM UTC-7, Chris Maness wrote:
>
>
> TypeError: unsupported operand parent(s) for '*': 'Symbolic Ring' and
> ''
>
> This error is more concisely generated with:
sage: x*n
TypeError: unsupported operand parent(s) for '*': 'Symbolic Ring' and
''
and it's due to
On Wednesday, July 2, 2014 4:33:33 PM UTC-7, Chris Maness wrote:
>
> I don't see what the issue is with the code below:
>
> phinS=e^(i*n*pi*x/a);
> phim=e^(-i*m*pi*x/a);
> a=var('a');
> assume(a > 0);
> n=1;
> m=1;
> integrate(phinS*phim,x,-a,a)
For one thing, it doesn't execute, and it
I don't see what the issue is with the code below:
phinS=e^(i*n*pi*x/a);
phim=e^(-i*m*pi*x/a);
a=var('a');
assume(a > 0);
n=1;
m=1;
integrate(phinS*phim,x,-a,a)
I get this undecipherable error:
Traceback (most recent call last):integrate(phinS*phim,x,-a,a)
File "", line 1, in
File
"/p
Thank you Dominique,
I didn't realize that is_locally_represented_number() is defined to return
True if and only if m is locally represented by Q over the *rational* numbers.
(I misunderstood the documentation for the function.) In that case, you are
correct.
Is there a function in Sage that r
42 is (integer) represented by form x^2 + y^2 + z^2 : 42 = 1^2 + 4^2 +
5^2
42 is locally (rationaly) represented by form x^2 +4 y^2 + 4z^2 : 42 =
1^2 + 4(4/2)^2 + 4(5/2)^2
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe f
42 is (integer) represented by form x^2 + y^2 + z^2 : 42 = 1^2 + 4^2 +
5^2
42 is locally (rationaly) represented by form x^2 +4 y^2 + 4z^2 : 42 =
1^2 + (4/2)^2 + (5/2)^2
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe fr
In bold : where you and I disagree
you : "By m is represented by Q, I mean that there exists a vector v with*
integer* entries such that Q(v) = m"
me : "By m is* locally* represented by Q, I mean that there exists a vector
v with* rational* entries such that Q(v) = m"
You want to use Q.is_*lo
Hi all,
I've done some work in Java, HTML, CSS, JavaScript, ActionScript 3.0 and
recently Python.
I have a project I'm working on where I'd like to set up a very simple Sage
server, to function as follows: The server will receive Sage or Maxima
code, execute the code, and send back the result.
Hi, Jim,
Thanks for the reply. I tried your suggestions (below), but I am having
trouble running from a script, not the Sage or iPython interface for which
TKAgg works fine. As for the script trials I did, #1 doesn't work for
either pylab plot or D.show() (a Sage Graph plot). #2 is not releva
From earlier thread, either of two work-arounds worked for me in Sage 6.2:Work-around #1:sage: import matplotlibsage: matplotlib.use(‘agg’)sage: import matplotlib.pyplot as pltWork-around #2:rename ~/.matplotlib/matplotlibrc to .matplotlib/matplotlibrc.bakJim Clark-Original Message-
From: L
I am having problems with matplotlib, Sage plotting and, apparently,
backends. I have installed Sage 6.2 on my Mac Book Pro (system 10.6) (I
just upgraded from Sage 4.2). I have removed all copies of matplotlibrc
from my computer except for the file buried in Sage-6.2/.../mpl_data/. All
cho
14 matches
Mail list logo