Feature #1169
New function: RandomLinearForm (CoCoALib)
Description
Port RandomLinearForm
to CoCoALib
Related issues
History
#1 Updated by Anna Maria Bigatti about 6 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 80
- Estimated time set to 2.01 h
Done.
RandomLinearForm(P) -- if coeff ring of P is F_p
RandomLinearForm(P, n) -- same as RandomLinearForm(P, -n, n)
RandomLinearForm(P, lo, hi) -- lo, hi integers
#2 Updated by Anna Maria Bigatti about 6 years ago
- Related to Feature #1122: New fn: RandomLinearForm added
#3 Updated by Anna Maria Bigatti about 6 years ago
- Subject changed from New function: RandomLinearForm to New function: RandomLinearForm (CoCoALib)
#4 Updated by John Abbott about 6 years ago
I am not so convinced of the utility of RandomLinearForm(P,lo,hi)
, and suggest commenting it out until we find a genuine need for it.
#5 Updated by Anna Maria Bigatti about 6 years ago
John Abbott wrote:
I am not so convinced of the utility of
RandomLinearForm(P,lo,hi)
, and suggest commenting it out until we find a genuine need for it.
OK, I put it in anonymous namespace (it is used by the other two functions)
#6 Updated by John Abbott almost 6 years ago
I have added RandomLinearForm
to documentation for SparsePolyRing
.
Probably there should also be a version with interface: RandomLinearForm(P, RndSeq)
where RndSeq
is of type RandomSeqLong
(or perhaps RandomSeqBigInt
). What do you think?
#7 Updated by Anna Maria Bigatti almost 6 years ago
John Abbott wrote:
Probably there should also be a version with interface:
RandomLinearForm(P, RndSeq)
whereRndSeq
is of typeRandomSeqLong
(or perhapsRandomSeqBigInt
). What do you think?
You are right. Should I do it?
#8 Updated by Anna Maria Bigatti over 5 years ago
- Related to Bug #1208: New function: Threadsafe RandomLinearForm (CoCoALib) added
#9 Updated by Anna Maria Bigatti over 5 years ago
- Status changed from Resolved to Closed
- % Done changed from 80 to 100
- Estimated time changed from 2.01 h to 2.21 h
RandomLinearForm(P, RndSeq) has been moved to its own new issue.
#10 Updated by John Abbott over 3 years ago
- Related to Slug #1517: RandomLinearForm added