TiledArray::detail::Trace< Tensor< T, A >, detail::enable_if_numeric_t< T > > Struct Template Reference

Documentation

template<typename T, typename A>
struct TiledArray::detail::Trace< Tensor< T, A >, detail::enable_if_numeric_t< T > >

Implements taking the trace of a Tensor<T> (T is a numeric type)

Template Parameters
TThe type of the elements in the tensor. For this specialization to be considered must satisfy the concept of numeric type.
AThe type of the allocator for the tensor

Definition at line 2180 of file tensor.h.

Public Member Functions

decltype(auto) operator() (const Tensor< T > &t) const
 

Member Function Documentation

◆ operator()()

template<typename T , typename A >
decltype(auto) TiledArray::detail::Trace< Tensor< T, A >, detail::enable_if_numeric_t< T > >::operator() ( const Tensor< T > &  t) const
inline

Definition at line 2181 of file tensor.h.

Here is the call graph for this function:

The documentation for this struct was generated from the following file: