3#ifndef pRC_CORE_TENSOR_FUNCTIONS_EVAL_H
4#define pRC_CORE_TENSOR_FUNCTIONS_EVAL_H
11 requires IsTensor<RemoveReference<X>>
12 static inline constexpr decltype(
auto)
eval(X &&a)
14 return as(forward<X>(a));
18 requires IsTensorView<RemoveReference<X>>
19 static inline constexpr auto eval(X &&a)
21 return Tensor(forward<X>(a));
Definition cholesky.hpp:10
Tensor(TensorViews::View< T, Sizes< Ns... >, F > const &) -> Tensor< T, Ns... >
static constexpr RemoveConst< X > as(X &&a)
Definition basics.hpp:83
static constexpr decltype(auto) eval(X &&a)
Definition eval.hpp:12