Lattice Builder Manual Software Package for Constructing Rank-1 Lattices

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Modules Pages
Public Member Functions | Protected Member Functions | Friends | List of all members
LatBuilder::BasicSizeParam< DERIVED > Class Template Reference

Abstract CRTP base class for lattice size parameter. More...

`#include <SizeParam.h>`

## Public Member Functions
| BasicSizeParam (Modulus numPoints)
Modulus | numPoints () const
| operator Modulus () const
size_t | totient () const
| Returns the value of Euler's totient function. More...
template<class D >
bool | operator== (const BasicSizeParam< D > &other) const
template<class D >
bool | operator!= (const BasicSizeParam< D > &other) const
template<class D >
bool | operator< (const BasicSizeParam< D > &other) const
void | normalize (Real &merit) const
| Divides the merit value `merit` by the number of points.
void | normalize (RealVector &merit) const
| Divides the each merit value in `merit` by the number of points.

## Protected Member Functions
| BasicSizeParam (const BasicSizeParam &)=default

## Friends
template<class D >
std::ostream & | operator<< (std::ostream &, const BasicSizeParam< D > &)

## Detailed Description

### template<class DERIVED>
class LatBuilder::BasicSizeParam< DERIVED >

Abstract CRTP base class for lattice size parameter.

## Member Function Documentation

template<class DERIVED>

size_t LatBuilder::BasicSizeParam< DERIVED >::totient | ( |  | ) | const
| inline

Returns the value of Euler's totient function.

It is the number of positive integers that are smaller than and coprime to the number of points.

The documentation for this class was generated from the following file:

- latbuilder/include/latbuilder/SizeParam.h