Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
operation_scalar.hpp
Go to the documentation of this file.
1#pragma once
2
10#if UNI20_HAS_MPREAL
12#endif
13
14#include <concepts>
15
16namespace uni20::linalg
17{
21template <class Value, class Scalar>
23 std::convertible_to<Value, Scalar>
24#if UNI20_HAS_MPREAL
25 || (has_runtime_precision_v<Scalar> && ExactRationalSource<Value> && std::constructible_from<Scalar, Value>)
26#endif
27 ;
28} // namespace uni20::linalg
Exact numeric sources accepted without an approximation precision.
Definition exact_rational.hpp:364
Numeric argument that an operation can convert to its scalar type.
Definition operation_scalar.hpp:22
Definition linalg/async.hpp:28