3#ifndef pRC_CORE_TENSOR_FUNCTIONS_ADD_H
4#define pRC_CORE_TENSOR_FUNCTIONS_ADD_H
12 template<
class XA,
class XB>
13 requires IsTensorish<RemoveReference<XA>> &&
14 IsTensorish<RemoveReference<XB>> && IsInvocable<Loop<Add>, XA, XB>
15 static inline constexpr auto operator+(XA &&a, XB &&b)
17 return loop<Add>(forward<XA>(a), forward<XB>(b));
Definition cholesky.hpp:10
static constexpr auto loop(F &&f, Xs &&...args)
Definition loop.hpp:20
static constexpr auto operator+(Sequence< T, As... > const, Sequence< T, Bs... > const)
Definition sequence.hpp:107