SyTen
generic_addscaled.h File Reference

addScaled implementation for GenericDenseTensor. More...

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

Namespaces

 syten::GenericDenseTensorImpl
 Implementation for the generic dense tensor.
 

Functions

template<Rank rank, typename Scalar , template< Rank ra, typename Scalara > typename A, template< Rank rb, typename Scalarb > typename B>
void syten::GenericDenseTensorImpl::addScaled (A< rank, Scalar > &, B< rank, Scalar > const &, typename IdentityType< Scalar >::type const, EliminateZeros const)
 Dummy implementation to be used if no better implementations are available. More...
 
template<Rank rank, typename Scalar >
void syten::GenericDenseTensorImpl::addScaled (GenericDenseTensor< rank, Scalar > &a, GenericDenseTensor< rank, Scalar > const &b, typename IdentityType< Scalar >::type const factor, EliminateZeros const ezeros)
 \( a_i = a_i + f b_i \) for generic dense tensors. More...
 

Detailed Description

addScaled implementation for GenericDenseTensor.