diff options
author | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2024-10-25 10:29:54 +0100 |
---|---|---|
committer | Arturs Artamonovs <arturs.artamonovs@protonmail.com> | 2024-10-25 10:29:54 +0100 |
commit | f3f0f90a51412d1684b43be6f2b5f93cb4154ee0 (patch) | |
tree | ac8c4df68d9d1046bd438abe3d6a258e48e95cf2 /Complex | |
parent | 8f8f78cd00d3b5e5ce5076d316f2499df35d532f (diff) | |
download | PrySDR-f3f0f90a51412d1684b43be6f2b5f93cb4154ee0.tar.gz PrySDR-f3f0f90a51412d1684b43be6f2b5f93cb4154ee0.zip |
Initial empty project structure
Diffstat (limited to 'Complex')
-rw-r--r-- | Complex/Complex.swift | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Complex/Complex.swift b/Complex/Complex.swift new file mode 100644 index 0000000..e3efb64 --- /dev/null +++ b/Complex/Complex.swift @@ -0,0 +1,18 @@ +// +// Complex.swift +// PrySDR +// +// Created by Jacky Jack on 22/10/2024. +// + +/// Complex number +class Complex { + var i: Float + var q: Float + + /// Create complex number + init(i: Float, q: Float) { + self.i = i + self.q = q + } +} |