factorization

© 2012 John Abbott, Anna Bigatti
GNU Free Documentation License, Version 1.2



CoCoALib Documentation Index

Examples

User documentation

In CoCoALib factorization is a template class with all fields public. Its purpose is to represent a (partial) factorization. The only operations for a factorization are the constructor and operator<< for printing.

A factorization contains three fields (currently they are all publicly accessible)

In CoCoALib there are just two instantiations of this template:

The exact characteristics of the factors found depend on the function which generated the factorization. However the vectors in myFactors and myMultiplicities will be of the same length; the factors will be non-zero and non-invertible, and the multiplicities will be strictly positive.

Constructor

Maintainer documentation

Short and simple! It's all in the header file.

Bugs, shortcomings and other ideas

It would be safer to have pairs of factor-and-multiplicity rather than two separate vectors whose length must be the same. However it may be less convenient for the user.

Add member functions for adjoining or removing factor-multiplicity pairs?

Main changes

2012