addScaled
implementation for GenericDenseTensor
.
More...
#include "inc/dense/generic.h"
#include "inc/dense/dense_convenience.h"
#include "inc/dense/offset_addscaled.h"
#include "inc/dense/cuda_addscaled.h"
Namespaces | |
namespace | syten |
Syten namespace. | |
namespace | 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... | |
addScaled
implementation for GenericDenseTensor
.