carl
24.04
Computer ARithmetic Library
|
All types that represent a field are marked with is_field_type
.
More...
Data Structures | |
struct | carl::is_field_type< T > |
States if a type is a field. More... | |
struct | carl::is_field_type< GFNumber< C > > |
States that a Gallois field is a field. More... | |
All types that represent a field are marked with is_field_type
.
To be a field, the type must satisfy the common axioms for fields (and their technical interpretation):
operator+()
, operator-()
, operator*()
, operator/()
. The result of these operators is of the same type, i.e. the type is closed under the given operations.All types that are marked with is_rational_type
represent a field.
struct carl::is_field_type |
States if a type is a field.
Default is true for rationals, false otherwise.
Definition at line 132 of file typetraits.h.
struct carl::is_field_type< GFNumber< C > > |
States that a Gallois field is a field.
Definition at line 138 of file typetraits.h.