Project

General

Profile

Feature #1169

New function: RandomLinearForm (CoCoALib)

Added by Anna Maria Bigatti about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
New Function
Target version:
Start date:
19 Mar 2018
Due date:
% Done:

100%

Estimated time:
2.21 h
Spent time:

Description

Port RandomLinearForm to CoCoALib


Related issues

Related to CoCoA-5 - Feature #1122: New fn: RandomLinearFormClosed2017-11-15

Related to CoCoALib - Bug #1208: New function: Threadsafe RandomLinearForm (CoCoALib)New2018-08-02

Related to CoCoALib - Slug #1517: RandomLinearFormClosed2020-10-23

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

#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) where RndSeq is of type RandomSeqLong (or perhaps RandomSeqBigInt). 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

Also available in: Atom PDF