shards
Version of the Day
|
#include <Shards_SimpleArrayOps.hpp>
Public Types | |
enum | { N = n, I = i } |
Public Member Functions | |
template<typename T > | |
Sum (T *const dst, const T *const src) | |
dst[0..N-1] += src[0..N-1] | |
template<typename T > | |
Sum (T *const dst, const T a, const T *const src) | |
dst[0..N-1] += a * src[0..N-1] | |
Sum into an array.
n | Number of members to sum. |
Definition at line 49 of file Shards_SimpleArrayOps.hpp.