Class TempLat::Factorize
ClassList > TempLat > Factorize
A class which factorizes an integer into its primes. More...
#include <factorize.h>
Public Functions
| Type | Name |
|---|---|
| Factorize (ptrdiff_t total) |
|
| auto | begin () const |
| auto | end () const |
| const ptrdiff_t & | operator[] (ptrdiff_t i) const access |
| size_t | size () const size |
| void | sort (bool reverse=false) |
Detailed Description
Unit test: ctest -R test-factorize
Public Functions Documentation
function Factorize
function begin
iterate
function end
iterate
function operator[]
access
function size
size
function sort
We are sorted already, but let's just give the caller peace of mind.
Friends Documentation
friend operator<<
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/util/factorize.h