mirror of
https://github.com/aicodix/dsp.git
synced 2026-04-27 14:30:36 +00:00
moved Complex to DSP namespace
This commit is contained in:
parent
7b2cf8970a
commit
76f1590f1a
1 changed files with 4 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ Copyright 2018 Ahmet Inan <inan@aicodix.de>
|
|||
|
||||
#pragma once
|
||||
|
||||
namespace DSP {
|
||||
|
||||
template <typename T>
|
||||
class Complex
|
||||
{
|
||||
|
|
@ -118,3 +120,5 @@ static constexpr T arg(Complex<T> a)
|
|||
return atan2(a.imag(), a.real());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue