Loading...
Searching...
No Matches
dolfinx::scalar Concept Reference

## Concept definition

template<class T>
concept dolfinx::scalar = std::floating_point<T>
|| std::is_same_v<T, std::complex<typename T::value_type>>
dolfinx::scalar
Definition types.h:20

## Detailed Description

This concept is used to constrain the a template type to floating point real or complex types. Note that this concept is different to std::floating_point which does not include std::complex.