Read-only forum archive

Rational Functions

Rational Functions

Steve · Mon Jun 14, 2010 4:58 pm

Hello-

I am having trouble using transcendental extension for manipulation of rational functions. I would like to have a matrix with quolynomial entries. Is this possible in Singular?

Thank you.

Steve

Re: Rational Functions

gorzel · Mon Jun 14, 2010 7:12 pm

Sure you can do.
See parameter and 4.10 matrix declariations
e.g.:
Code:

ring Rt = (0,s,t),(x,y),lp;  // s and t are  transcendal parameters

// define a 2x3 matrix with polynomial entries in x and y
// having rational coefficients in Q(s,t)
matrix m[2][3] = 2/t*x+1,1, xy, s/(t2-1),s/t*y,0;
m;
m[2,3] = -1;   // new assignment
print(m);

Re: Rational Functions

Steve · Mon Jun 14, 2010 7:53 pm

Thanks. That helps!