3#ifndef pRC_TENSOR_TRAIN_OPERATOR_IDENTITY_H
4#define pRC_TENSOR_TRAIN_OPERATOR_IDENTITY_H
27 constexpr auto CRL = Core::size(0);
28 constexpr auto CM = Core::size(1);
29 constexpr auto CN = Core::size(2);
30 constexpr auto CRR = Core::size(3);
35 zero<
typename Core::template ChangeSizes<
CRL - 1,
CM,
CN,
40 using M =
typename T::M;
41 using N =
typename T::N;
42 using Ranks =
typename T::Ranks;
48 template<
class X, If<IsConstructible<
typename T::Type, X>> = 0>
55 constexpr auto CRL = Core::size(0);
56 constexpr auto CM = Core::size(1);
57 constexpr auto CN = Core::size(2);
58 constexpr auto CRR = Core::size(3);
66 zero<
typename Core::template ChangeSizes<
CRL - 1,
CM,
74 zero<
typename Core::template ChangeSizes<
CRL - 1,
CM,
80 using M =
typename T::M;
81 using N =
typename T::N;
82 using Ranks =
typename T::Ranks;
Definition enumerate.hpp:19
Definition cholesky.hpp:18
static constexpr auto zero()
Definition zero.hpp:12
std::enable_if_t< B{}, int > If
Definition type_traits.hpp:68
static constexpr Conditional< IsSatisfied< C >, RemoveConstReference< X >, X > copy(X &&a)
Definition copy.hpp:13
RemoveConst< RemoveReference< T > > RemoveConstReference
Definition type_traits.hpp:62
Size Index
Definition type_traits.hpp:21
static constexpr auto identity()
Definition identity.hpp:12
constexpr auto operator()()
Definition identity.hpp:22
constexpr auto operator()(X &&value)
Definition identity.hpp:49
Definition type_traits.hpp:262