mirror of
https://github.com/aicodix/dsp.git
synced 2026-04-27 14:30:36 +00:00
overwrite members directly here
This commit is contained in:
parent
e149e5edc4
commit
7f64356dde
1 changed files with 2 additions and 2 deletions
|
|
@ -22,8 +22,8 @@ public:
|
|||
inline void imag(T i) { im = i; }
|
||||
inline Complex<T> operator = (T a)
|
||||
{
|
||||
real() = a;
|
||||
imag() = 0;
|
||||
re = a;
|
||||
im = 0;
|
||||
return *this;
|
||||
}
|
||||
inline Complex<T> operator += (Complex<T> a)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue