summaryrefslogtreecommitdiff
path: root/Complex/Complex.swift
diff options
context:
space:
mode:
authorArturs Artamonovs <arturs.artamonovs@protonmail.com>2024-10-25 10:29:54 +0100
committerArturs Artamonovs <arturs.artamonovs@protonmail.com>2024-10-25 10:29:54 +0100
commitf3f0f90a51412d1684b43be6f2b5f93cb4154ee0 (patch)
treeac8c4df68d9d1046bd438abe3d6a258e48e95cf2 /Complex/Complex.swift
parent8f8f78cd00d3b5e5ce5076d316f2499df35d532f (diff)
downloadPrySDR-f3f0f90a51412d1684b43be6f2b5f93cb4154ee0.tar.gz
PrySDR-f3f0f90a51412d1684b43be6f2b5f93cb4154ee0.zip
Initial empty project structure
Diffstat (limited to 'Complex/Complex.swift')
-rw-r--r--Complex/Complex.swift18
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
+ }
+}