1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-26 19:17:52 +00:00

Adds a negative operator.

This commit is contained in:
Thomas Harte
2018-11-26 22:34:04 -05:00
parent 5618288459
commit 61a63a673c
2 changed files with 18 additions and 0 deletions
+5
View File
@@ -83,6 +83,11 @@ class FIRFilter {
*/
FIRFilter operator*(const FIRFilter &) const;
/*!
@returns A filter that would have the opposite effect of this filter.
*/
FIRFilter operator-() const;
private:
std::vector<short> filter_coefficients_;