carl
24.04
Computer ARithmetic Library
|
The number type that some type is built upon can be defined with UnderlyingNumberType. More...
Data Structures | |
struct | carl::UnderlyingNumberType< T > |
Gives the underlying number type of a complex object. More... | |
struct | carl::UnderlyingNumberType< MultivariatePolynomial< C, O, P > > |
States that UnderlyingNumberType of MultivariatePolynomial<C,O,P> is UnderlyingNumberType<C>::type. More... | |
struct | carl::UnderlyingNumberType< UnivariatePolynomial< C > > |
States that UnderlyingNumberType of UnivariatePolynomial<T> is UnderlyingNumberType<C>::type. More... | |
The number type that some type is built upon can be defined with UnderlyingNumberType.
Any function that operates on the (more complex) type and returns a number can use this trait. The function can thereby easily retrieve the exact number type that is used within the complex type.
struct carl::UnderlyingNumberType |
Gives the underlying number type of a complex object.
Default is the type itself.
Definition at line 336 of file typetraits.h.
Public Types | |
using | type = T |
A type associated with the type. More... | |
|
inherited |
A type associated with the type.
Definition at line 77 of file typetraits.h.
struct carl::UnderlyingNumberType< MultivariatePolynomial< C, O, P > > |
States that UnderlyingNumberType of MultivariatePolynomial<C,O,P> is UnderlyingNumberType<C>::type.
Definition at line 650 of file MultivariatePolynomial.h.
Public Types | |
using | type = UnderlyingNumberType< C >::type |
A type associated with the type. More... | |
|
inherited |
A type associated with the type.
Definition at line 77 of file typetraits.h.
struct carl::UnderlyingNumberType< UnivariatePolynomial< C > > |
States that UnderlyingNumberType of UnivariatePolynomial<T> is UnderlyingNumberType<C>::type.
Definition at line 839 of file UnivariatePolynomial.h.
Public Types | |
using | type = UnderlyingNumberType< C >::type |
A type associated with the type. More... | |
|
inherited |
A type associated with the type.
Definition at line 77 of file typetraits.h.