Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::Z2 Class Reference

#include <Zm.hh>

Public Member Functions

 Z2 ()
 Default constructor. Initialises to 0.
 
 Z2 (uint i)
 Constructor.
 
 operator int () const
 Conversion operator.
 
int operator= (int i)
 Assignment operator.
 
int operator++ ()
 Increment operator.
 
Z2 succ () const
 Returns the successor.
 

Detailed Description

Binary group (algebraic): only the values 0 and 1 are represented.

Definition at line 16 of file Zm.hh.

Constructor & Destructor Documentation

◆ Z2() [1/2]

concepts::Z2::Z2 ( )
inline

Default constructor. Initialises to 0.

Definition at line 21 of file Zm.hh.

◆ Z2() [2/2]

concepts::Z2::Z2 ( uint  i)
inline

Constructor.

Definition at line 23 of file Zm.hh.

Member Function Documentation

◆ operator int()

concepts::Z2::operator int ( ) const
inline

Conversion operator.

Definition at line 26 of file Zm.hh.

◆ operator++()

int concepts::Z2::operator++ ( )
inline

Increment operator.

Definition at line 31 of file Zm.hh.

◆ operator=()

int concepts::Z2::operator= ( int  i)
inline

Assignment operator.

Definition at line 29 of file Zm.hh.

◆ succ()

Z2 concepts::Z2::succ ( ) const
inline

Returns the successor.

Definition at line 33 of file Zm.hh.


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