Project

General

Profile

Support #234

Update/Improve geobucket documentation

Added by John Abbott over 11 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
High
Category:
Documentation
Target version:
Start date:
25 Sep 2012
Due date:
% Done:

100%

Estimated time:
5.00 h
Spent time:

Description

The geobucket doc is very old and needs a major revision.


Related issues

Related to CoCoALib - Feature #253: W.Bruns's wish listClosed2012-10-04

History

#1 Updated by John Abbott over 11 years ago

Anna will add a clear example.

#2 Updated by Anna Maria Bigatti over 11 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

I made an example showing how to add one monomial at a time and comparing timings with standard "+=".

... "+=" is surprisingly slow, even on small polynomials where I expect it to be indeed faster than the geobucket sum. Needs investigation.

#3 Updated by Anna Maria Bigatti over 11 years ago

I found the reason why "lhs+=f" is slow:
to guarantee exception safety it has to make a copy of lhs.
But, when f is just a monomial it is easy (well, a juggle with a few pointers) to make it exception safe.
So I wrote the function myAddMonomial to the class DistrMPolyClean and timings for "+=" are much much better.
Now I have to do it also for DMPI and DMPII.

I had forgotten how stressful it is to deal with memory and pointers....

#4 Updated by Anna Maria Bigatti over 11 years ago

Improved all multivariate polynomials (using new function myAddMonomial)
Need some memory checking, just to make sure....

#5 Updated by John Abbott over 11 years ago

Don't forget the DEBUG2 setting available in autoconf.mk; it activates checking in MemPool managed memory, and may do most of what you want.

#6 Updated by Anna Maria Bigatti about 10 years ago

  • Status changed from In Progress to Feedback
  • Target version set to CoCoALib-0.9953
  • % Done changed from 50 to 90

#7 Updated by Anna Maria Bigatti about 10 years ago

  • Target version changed from CoCoALib-0.9953 to CoCoALib-0.99532

#8 Updated by Anna Maria Bigatti almost 10 years ago

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

#9 Updated by Anna Maria Bigatti almost 10 years ago

  • Estimated time set to 5.00 h

Also available in: Atom PDF