Project

General

Profile

Design #1753

Clean up EulerTotient, InvTotient jungle in NumTheory-misc

Added by John Abbott 10 months ago. Updated 30 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tidying
Target version:
Start date:
13 Jul 2023
Due date:
% Done:

100%

Estimated time:
0.95 h
Spent time:

Description

The various functions for computing InvTotient are now rather a mess.
Clean this up, and revise documentation.

History

#1 Updated by John Abbott 3 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 90
I have cleaned the code:
  • removed the InvTotient iterator which is superseded by the new code (which is fast enough)
  • removed quite a lot of cruft (incl. obsolete includes)

Not sure if further cleaning is necessary - probably not (or unimportant).

#2 Updated by John Abbott about 2 months ago

The relevant files are NumTheory-misc.
Tests are in test-NumTheory1,C.

#3 Updated by John Abbott about 2 months ago

  • Status changed from Feedback to Closed
  • Estimated time set to 0.95 h

The header & source files look to be acceptably neat & tidy. So closing.

#4 Updated by Anna Maria Bigatti 30 days ago

  • % Done changed from 90 to 100

set to 100% (after being closed)

Also available in: Atom PDF