ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::Group Concept Reference

a monoid with the inverse G::inverse( a ), i.e., combine( inverse( a ) , a ) and combine( a , inverse( a ) ) are the identity More...

#include <ADS/Algebra.h>

Concept definition

template< class G >
concept Group = Monoid< G > && requires( const typename G::Value & a )
{
{ G::inverse( a ) } -> std::convertible_to< typename G::Value >;
}
a monoid with the inverse G::inverse( a ), i.e., combine( inverse( a) , a ) and combine( a ,...
Definition Algebra.h:130
a monoid on G::Value: the identity G::identity() and the associative operation G::combine( a ,...
Definition Algebra.h:117

Detailed description

a monoid with the inverse G::inverse( a ), i.e., combine( inverse( a ) , a ) and combine( a , inverse( a ) ) are the identity