SyTen
generic_operators.h File Reference

Some operators implemented for generic dense tensors. More...

+ Include dependency graph for generic_operators.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  syten
 Syten namespace.
 
namespace  syten::GenericDenseTensorImpl
 Implementation for the generic dense tensor.
 

Functions

template<Rank rank, typename ScalarA , typename ScalarB , template< Rank ra, typename ScalarAa > typename A>
A< rank, ScalarA > & syten::GenericDenseTensorImpl::operator*= (A< rank, ScalarA > &a, ScalarB)
 Dummy implementation to scale a dense tensor by a scalar. More...
 
template<Rank rank, typename ScalarA , typename ScalarB >
GenericDenseTensor< rank, ScalarA > syten::GenericDenseTensorImpl::operator*= (GenericDenseTensor< rank, ScalarA > &&a, ScalarB const &b)
 \( a_{i\ldots} = b \cdot a_{i\ldots} \) More...
 
template<Rank rank, typename ScalarA , typename ScalarB >
GenericDenseTensor< rank, ScalarA > & syten::GenericDenseTensorImpl::operator*= (GenericDenseTensor< rank, ScalarA > &a, ScalarB const &b)
 \( a_{i\ldots} = b \cdot a_{i\ldots} \) More...
 

Detailed Description

Some operators implemented for generic dense tensors.