Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Variables
types.hpp File Reference
#include <uni20/config.hpp>
#include <complex>
#include <concepts>
#include <limits>
Include dependency graph for types.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  uni20::logical_value< Value >
 Map an execution expression type to its backend-neutral logical value type. More...
 
struct  uni20::remove_proxy_reference< R >
 Trait for extracting the element type from a proxy reference. More...
 

Namespaces

namespace  uni20
 

Typedefs

using uni20::cdouble = complex< double >
 
using uni20::cfloat = complex< float >
 
template<typename Real >
using uni20::complex = typename detail::complex_type< Real >::type
 Project-level complex scalar spelling.
 
using uni20::complex128 = complex< double >
 
using uni20::complex64 = complex< float >
 
using uni20::float32 = float
 
using uni20::float64 = double
 
using uni20::index_type = std::ptrdiff_t
 
template<typename Value >
using uni20::logical_value_t = typename logical_value< std::remove_cvref_t< Value > >::type
 Backend-neutral logical value represented by an execution expression.
 
template<typename R >
using uni20::remove_proxy_reference_t = std::conditional_t< is_proxy_reference_v< R >, typename remove_proxy_reference< std::remove_cvref_t< R > >::type, std::remove_reference_t< R > >
 Extracts the underlying value type of a proxy (or normal) reference.
 
using uni20::size_type = std::ptrdiff_t
 Signed size and index type, used for tensor extents and indexing.
 

Variables

template<typename R >
constexpr bool uni20::is_proxy_reference_v
 Detects whether a type is considered a proxy reference.