Feature #1439
New function: LinearForm
Description
Add function which returns the sum of the summends of degree 1.
Related issues
History
#1 Updated by Anna Maria Bigatti about 4 years ago
Done (in NotBuiltin.cpkg5)
Funny cases:
if f = 0 returns 0
if GradingDim<>1 returns error
use weights: es:
/**/ OrdM := matrix([[2,3,1],[0,0,-1],[0,-1,0]]); /**/ P := NewPolyRing(QQ, "a,b,c", OrdM, 1); -- 3 indeterminates /**/ use P; /**/ LinearForm(a+b+c); c
#2 Updated by Anna Maria Bigatti about 4 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 80
documentation done
(but checkin later -- flat battery)
#3 Updated by Anna Maria Bigatti about 4 years ago
- Status changed from Resolved to Feedback
- % Done changed from 80 to 90
- Estimated time set to 2.51 h
updated RelNotes
Checked in everything
#4 Updated by John Abbott about 4 years ago
Do we have a function which computes a list of homog compts?
#5 Updated by Anna Maria Bigatti about 4 years ago
John Abbott wrote:
Do we have a function which computes a list of homog compts?
no, we explicitely decided not to, for its intrinsic use of memory.
We implemented LF and to promoted iterating over.
#6 Updated by Anna Maria Bigatti about 4 years ago
- Related to Feature #1022: New "LF" function which is based on StdDeg added
#7 Updated by John Abbott about 4 years ago
I now have a prototype of HomogForm(f,d)
in C++.
It seems to be about 30 times faster than LinearForm
in CoCoA-5.
Should I put it into CoCoALib? Or shall I delay it until the next release?
#8 Updated by Anna Maria Bigatti about 4 years ago
John Abbott wrote:
I now have a prototype of
HomogForm(f,d)
in C++.
It seems to be about 30 times faster thanLinearForm
in CoCoA-5.
Should I put it into CoCoALib? Or shall I delay it until the next release?
Put it in CoCoALib: we still have problems with the linux release, and I haven't made the CoCoALib release official yet (nor cocoa for M$).
#9 Updated by John Abbott about 4 years ago
What should the fn name be? HomogForm
or HomogCompt
?
#10 Updated by John Abbott about 4 years ago
- Estimated time changed from 2.51 h to 5.20 h
I have implemented HomogCompt
. Also accessible from CoCoA-5 (with man page).
No tests, no CoCoALib doc (oops... I'll fix that now).
Checked in.
#11 Updated by John Abbott about 4 years ago
Added doc for CoCoALib.
Still no test :-/
Close anyway?
#12 Updated by John Abbott about 4 years ago
- Status changed from Feedback to Closed
- % Done changed from 90 to 100