mirror of
https://github.com/AlexandreRouma/dsp2.git
synced 2026-04-18 14:52:43 +00:00
17 lines
367 B
C++
17 lines
367 B
C++
#pragma once
|
|
|
|
namespace dsp::math {
|
|
template <class T>
|
|
class Add {
|
|
public:
|
|
/**
|
|
* Add the samples together.
|
|
* @param a Operand A.
|
|
* @param b Operand B.
|
|
* @param out Sum of A and B.
|
|
*/
|
|
size_t process(const T* a, const T* b, T* out, size_t count);
|
|
};
|
|
|
|
const int test = sizeof(Add<float>);
|
|
} |