|
pRC
multi-purpose Tensor Train library for C++
|
#include <prc/core/functors/add.hpp>#include <prc/core/functors/extract_diagonal.hpp>#include <prc/core/functors/reduce.hpp>#include <prc/core/functors/trace.hpp>#include <prc/core/tensor/functions/reduce.hpp>#include <prc/core/tensor/operator/functions/extract_diagonal.hpp>Go to the source code of this file.
Namespaces | |
| namespace | pRC |
Functions | |
| template<class X , If< IsTensorish< RemoveReference< X > > > = 0, If< IsInvocable< View, X > > = 0, If< IsInvocable< ExtractDiagonal, X > > = 0, If< IsInvocable< Reduce< Add >, ResultOf< ExtractDiagonal, X > > > = 0> | |
| static constexpr auto | pRC::trace (X &&a) |
| Calculates the trace of a Tensor. | |
| template<class X , If< IsTensorish< RemoveReference< X > > > = 0, If< Not< IsInvocable< View, X > > > = 0, If< IsInvocable< Trace, X & > > = 0> | |
| static constexpr auto | pRC::trace (X &&a) |
| Calculates the trace of a Tensor. | |