DUNE-ACFEM (unstable)
TensorExpressionOptimizations
Modules | |
TensorEinsumOptimizations | |
Perform the following substitutions: | |
TensorPowerOptimizations | |
Perform the following substitutions: | |
TensorSumOptimizations | |
Perform the following substitutions: | |
Functions | |
template<class ReshapeSignature , class T , std::enable_if_t< std::is_same< ReshapeSignature, typename TensorTraits< T >::Signature >::value, int > = 0> | |
constexpr decltype(auto) | Dune::ACFem::Tensor::Optimization::Reshape::operate (OptimizeTerminal1, OperationTraits< ReshapeOperation< ReshapeSignature > >, T &&t) |
template<class ReshapeSignature , class T , std::enable_if_t<(ReshapeTraits< T >::Signature::size() >=0), int > = 0> | |
constexpr decltype(auto) | Dune::ACFem::Tensor::Optimization::Reshape::operate (DefaultTag, OperationTraits< ReshapeOperation< ReshapeSignature > >, T &&t) |
Detailed Description
Function Documentation
◆ operate() [1/2]
template<class ReshapeSignature , class T , std::enable_if_t<(ReshapeTraits< T >::Signature::size() >=0), int > = 0>
|
constexpr |
Collapse nested reshapes.
References Dune::ACFem::Tensor::Optimization::Reshape::operate().
Referenced by Dune::ACFem::Tensor::Optimization::Reshape::operate().
◆ operate() [2/2]
template<class ReshapeSignature , class T , std::enable_if_t< std::is_same< ReshapeSignature, typename TensorTraits< T >::Signature >::value, int > = 0>
|
constexpr |
Reshaping a reshaped tensor to its original signature yields the original tensor.
@@OptimizeFinal Candidate
