Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
uni20::make_real< T > Struct Template Reference

Metafunction to convert a type to its real-valued analog. More...

Detailed Description

template<typename T>
struct uni20::make_real< T >

Metafunction to convert a type to its real-valued analog.

If T is a complex scalar, this returns the underlying real type. For real types, it returns T unchanged.

Note
This is a customization point. For containers like tensors, users can specialize this to return a structurally identical container with real-valued elements.
Template Parameters
TType to convert.

The documentation for this struct was generated from the following file: