Project

General

Profile

Feature #392

add Value::from(factorization<..>)

Added by Anna Maria Bigatti almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Parser/Interpreter
Target version:
Start date:
24 Jul 2013
Due date:
% Done:

100%

Estimated time:
Spent time:

Description

Adding it functions like factor and SmoothFactor can become oneliners


Related issues

Related to CoCoA-5 - Feature #393: add Value::from(HPSeries)Closed2013-07-24

Related to CoCoA-5 - Support #395: Naming conventions: upper or lower case?Closed2013-08-01

History

#1 Updated by Anna Maria Bigatti almost 11 years ago

  • Category set to Parser/Interpreter
  • Status changed from New to Feedback
  • Assignee set to Anna Maria Bigatti
  • Target version set to CoCoA-5.0.9
  • % Done changed from 0 to 90

Implemented for BigInt and RingElem (in AST.H and Interpreter.C).
Looks like it should be templated, but I'm doing something worng and does not compile.
... for the moment I give up with templates.

#2 Updated by Anna Maria Bigatti over 10 years ago

Following our naming conventions

/**/ Factor(x^2-1);
Record[Factors := [x +1, x -1], Multiplicities := [1, 1], RemainingFactor := 1]

should it be factors and multiplicities?

REPLY JAA thinks we should continue to apply the standard naming convention (i.e. yes, they should both be lower case)

#3 Updated by Anna Maria Bigatti over 10 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 90 to 100

done, it works, no complaints ==> closing this issue

Also available in: Atom PDF