|
template<typename Scalar > |
void | syten::addScaled (DynArray< Scalar > &a, DynArray< Scalar > const &b, typename IdentityType< Scalar >::type const factor) |
| \( A_i \leftarrow A_i + f B_i \), adds b scaled by factor to a More...
|
|
template<typename Scalar > |
void | syten::addScaled (Scalar *a, Scalar const *b, typename IdentityType< Scalar >::type const factor, Size sz) |
| \( A_i \leftarrow A_i + f B_i \), adds b scaled by factor to a More...
|
|
template<> |
void | syten::addScaled< double > (double *a, double const *b, double const factor, Size sz) |
|
template<> |
void | syten::addScaled< float > (float *a, float const *b, float const factor, Size sz) |
|
template<> |
void | syten::addScaled< std::complex< double > > (std::complex< double > *a, std::complex< double > const *b, std::complex< double > const factor, Size sz) |
|
template<> |
void | syten::addScaled< std::complex< float > > (std::complex< float > *a, std::complex< float > const *b, std::complex< float > const factor, Size sz) |
|
template<typename Scalar > |
Scalar | syten::dot (DynArray< Scalar > const &a, DynArray< Scalar > const &b, bool const conjugate) |
| Calculates the scalar product of two DynArray's. More...
|
|
template<> |
double | syten::dot< double > (DynArray< double > const &a, DynArray< double > const &b, bool const) |
|
template<> |
float | syten::dot< float > (DynArray< float > const &a, DynArray< float > const &b, bool const) |
|
template<> |
std::complex< double > | syten::dot< std::complex< double > > (DynArray< std::complex< double > > const &a, DynArray< std::complex< double > > const &b, bool const conjugate) |
|
template<> |
std::complex< float > | syten::dot< std::complex< float > > (DynArray< std::complex< float > > const &a, DynArray< std::complex< float > > const &b, bool const conjugate) |
|
template<typename Type > |
std::ostream & | syten::operator<< (std::ostream &out, DynArray< Type > const &a) |
| Formatted output of a DynArray, using square brackets. More...
|
|
template<typename Type > |
std::ostream & | syten::operator<< (std::ostream &out, Verbose< DynArray< Type > > const &a) |
| Formatted verbose output of a DynArray, using square brackets. More...
|
|
template<typename ScalarA , typename ScalarB > |
void | syten::scale (DynArray< ScalarA > &a, ScalarB const b) |
| Scales all elements of a in-place by the scalar factor b . More...
|
|
template<> |
void | syten::scale< double, double > (DynArray< double > &a, double const b) |
|
template<> |
void | syten::scale< float, float > (DynArray< float > &a, float const b) |
|
template<> |
void | syten::scale< std::complex< double >, double > (DynArray< std::complex< double > > &a, double const b) |
|
template<> |
void | syten::scale< std::complex< float >, float > (DynArray< std::complex< float > > &a, float const b) |
|
Simple wrapper around malloc/free.