3#ifndef pRC_CORE_TENSOR_OPERATOR_FUNCTIONS_EXTRACT_DIAGONAL_H
4#define pRC_CORE_TENSOR_OPERATOR_FUNCTIONS_EXTRACT_DIAGONAL_H
25 template<
class X,
class R = RemoveReference<X>, If<IsTensorish<R>> = 0,
26 If<IsInvocable<View, X>> = 0,
27 If<IsSatisfied<(isEven(
typename R::Dimension()))>> = 0>
51 template<
class X,
class R = RemoveReference<X>, If<IsTensorish<R>> = 0,
52 If<Not<IsInvocable<View, X>>> = 0,
53 If<IsInvocable<ExtractDiagonal, X &>> = 0>
Definition cholesky.hpp:18
static constexpr auto extractDiagonal(X &&a)
Extracts the diagonal of a Tensor.
Definition extract_diagonal.hpp:28
static constexpr X eval(X &&a)
Definition eval.hpp:11
static constexpr X view(X &&a)
Returns a TensorView obtained from a TensorView.
Definition view.hpp:22
static constexpr Conditional< IsSatisfied< C >, RemoveConstReference< X >, X > copy(X &&a)
Definition copy.hpp:13