Top
Back: ncratEvaluateAt
Forward: ncrepAdd
FastBack:
FastForward:
Up: ncrat_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

7.10.6.15 ncrepGet

Procedure from library ncrat.lib (see ncrat_lib).

Usage:
ncrep q = ncrepGet(f);
f of type ncrat

Return:
q = (u, Q, v) linear representation of f

Example:
 
LIB "ncrat.lib";
ncInit(list("x", "y", "z"));
ncrat f = ncratFromString("2*x*y");
ncrep q = ncrepGet(f);
print(q);
==> lvec=
==> 0,0,0,1
==> 
==> mat=
==> 0, 0, 1/2*x,-1/2,
==> 0, 1, -1/2, 0,   
==> y, -1,0,    0,   
==> -1,0, 0,    0    
==> 
==> rvec=
==> 0,
==> 0,
==> 0,
==> 1 


Top Back: ncratEvaluateAt Forward: ncrepAdd FastBack: FastForward: Up: ncrat_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.2, 2023, generated by texi2html.