Opened 11 years ago

Closed 11 years ago

#389 closed proposed feature (fixed)

transfer denominator() and numerator() from poly.lib to the Singular kernel

Reported by: steenpass Owned by: Oleksandr
Priority: minor Milestone: 3-1-4 and higher
Component: dontKnow Version: 3-1-3
Keywords: modStd, numerator, denominator Cc:


denominator() und numerator() are currently procs in poly.lib. The code looks like this:

proc denominator(number n)
  poly p = cleardenom(n+var(1));
  return (number(coeffs(p,var(1))[2,1]));

This is OK, but I expect that kernel commands could be much faster. Note that these procedures are used extensively by modStd().

Change History (3)

comment:1 Changed 11 years ago by steidel

Owner: changed from somebody to Oleksandr

comment:2 Changed 11 years ago by Oleksandr

done in SW with git commit [1cbb1f452324cf72b33ef5a1cb6256d97bcbcbd0]

comment:3 Changed 11 years ago by Oleksandr

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.