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

#include <Zm.hh>

Public Member Functions

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

Private Attributes

uchar i_
 Data. More...
 

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.

Member Data Documentation

◆ i_

uchar concepts::Z2::i_
private

Data.

Definition at line 18 of file Zm.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich