Discussion:
Symbolic Package
(too old to reply)
Thomas D. Dean
2009-01-29 23:46:50 UTC
Permalink
I have Octave 3.0.1 on Ubuntu 8.10

I want to work with symbols like

H = 2*s^2+ 3*s + 1, etc.

I installed octave-symbolic with apt-get.

starting octave and entering 'help sym2poly', I see

Example:
symbols
x=sym("x"); y=sym("y");
c = sym2poly (x^2+3*x-4); # c = [2,3,-4]
c = sym2poly (x^2+y*x,x); # c = list(2,y,0)

octave:20> clear all
octave:21> symbols
error:
/usr/lib/octave/packages/symbolic-1.0.6/i486-pc-linux-gnu-api-v32/symbols.oct:
undefined symbol: _ZNK5GiNaC5basic5evalfEi

And,
octave:23> pkg load symbolic
octave:24> x=sym("x")
error:
/usr/lib/octave/packages/symbolic-1.0.6/i486-pc-linux-gnu-api-v32/symbols.oct:
undefined symbol: _ZNK5GiNaC5basic5evalfEi
error: `sym' undefined near line 24 column 3
error: evaluating assignment expression near line 24, column 2

What am I doing wrong?

tomdean
Francesco Potortì
2009-01-30 12:21:42 UTC
Permalink
Post by Thomas D. Dean
I have Octave 3.0.1 on Ubuntu 8.10
...
Post by Thomas D. Dean
octave:23> pkg load symbolic
octave:24> x=sym("x")
undefined symbol: _ZNK5GiNaC5basic5evalfEi
error: `sym' undefined near line 24 column 3
error: evaluating assignment expression near line 24, column 2
What am I doing wrong?
I fear you are doing nothing wrong, and that you should file a bug
report with Ubuntu for the octave-symbolic package.
Thomas D. Dean
2009-01-31 02:21:25 UTC
Permalink
Post by Francesco Potortì
I fear you are doing nothing wrong, and that you should file a bug
report with Ubuntu for the octave-symbolic package.
I removed the octave-symbolic package from ubuntu.

I downloaded symbolic-1.0.7.tar.gz

That seems to work. Now, all I need to do is learn to use it.

I will tell ubuntu about symbolic-1.0.6

Thanks.

Continue reading on narkive:
Loading...