Sequoia
|
Trait for specifying whether a type behaves (appoximately) as an abelian group under multiplication. More...
#include <Spaces.hpp>
Trait for specifying whether a type behaves (appoximately) as an abelian group under multiplication.
The floating-point types are taken to weakly model an abelian group under multiplication, since they attempt to approximate the reals.
The only integral type modelling this (exactly, as it transpires) is bool. It is the only type in C++ modelling Z/Zn where n is a prime. The other integral types do not model this even in an approximate sense.