![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Implementation of vector assignment routines. More...
#include <utility>#include "CDPL/Math/Check.hpp"#include "CDPL/Math/CommonType.hpp"#include "CDPL/Base/Exceptions.hpp"Go to the source code of this file.
Namespaces | |
| CDPL | |
| The namespace of the Chemical Data Processing Library. | |
| CDPL::Math | |
| Contains classes and functions related to mathematics. | |
Functions | |
| template<template< typename T1, typename T2 > class F, typename V , typename E > | |
| void | CDPL::Math::vectorAssignVector (V &v, const VectorExpression< E > &e) |
Applies the element-wise functor F to every (vector element, source element) pair, i.e. F::apply(v(i), e()(i)). More... | |
| template<template< typename T1, typename T2 > class F, typename V , typename T > | |
| void | CDPL::Math::vectorAssignScalar (V &v, const T &t) |
Applies the element-wise functor F to every (vector element, scalar) pair, i.e. F::apply(v(i), t). More... | |
| template<typename V , typename E > | |
| void | CDPL::Math::vectorSwap (V &v, VectorExpression< E > &e) |
| Swaps the elements of two equally sized vector expressions element by element. More... | |
Implementation of vector assignment routines.