carl  24.04
Computer ARithmetic Library
is_field_type

All types that represent a field are marked with is_field_type. More...

Collaboration diagram for is_field_type:

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...
 

Detailed Description

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):

All types that are marked with is_rational_type represent a field.


Data Structure Documentation

◆ carl::is_field_type

struct carl::is_field_type

template<typename T>
struct carl::is_field_type< T >

States if a type is a field.

Default is true for rationals, false otherwise.

See also
UnivariatePolynomial - CauchyBound for example.

Definition at line 132 of file typetraits.h.

Inheritance diagram for carl::is_field_type< T >:
Collaboration diagram for carl::is_field_type< T >:

◆ carl::is_field_type< GFNumber< C > >

struct carl::is_field_type< GFNumber< C > >

template<typename C>
struct carl::is_field_type< GFNumber< C > >

States that a Gallois field is a field.

Definition at line 138 of file typetraits.h.

Inheritance diagram for carl::is_field_type< GFNumber< C > >:
Collaboration diagram for carl::is_field_type< GFNumber< C > >: