help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Octave: possible bug in symbolic 2.1.0 and/or SymPy ?


From: Constantine Frangos
Subject: Octave: possible bug in symbolic 2.1.0 and/or SymPy ?
Date: Sun, 6 Dec 2015 12:06:50 +0200 (SAST)

Hi Mike,

I applied the factor() command to a lengthy expression and there is an
error message - see below. I am using Octave 3.8.1 and symbolic 2.1.0
running on an ubuntu linux 64 bit machine.

This seems to indicate a bug in SymPy and/or in symbolic 2.1.0 ?

Constantine.


octave:34> sympref display flat
octave:35> q=(x1*x2 + x2*cos(x3) + sin(x1)*cos(x2) + 12345)^10;
octave:36> qe=expand(q);
octave:37> factor(qe)
  File "<stdin>", line 4
SyntaxError: more than 255 arguments
^C
KeyboardInterrupt
Waiting..........
octave:37> q=(x1*x2 + x2*cos(x3) + sin(x1)*cos(x2) + 12345)^9;
octave:38> qe=expand(q);
octave:39> factor(qe)
Waiting.................................
ans = (sym) (x1*x2 + x2*cos(x3) + sin(x1)*cos(x2) + 12345)**9
octave:40> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]