From f3f0f90a51412d1684b43be6f2b5f93cb4154ee0 Mon Sep 17 00:00:00 2001 From: Arturs Artamonovs Date: Fri, 25 Oct 2024 10:29:54 +0100 Subject: Initial empty project structure --- Complex/Complex.swift | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Complex/Complex.swift (limited to 'Complex/Complex.swift') 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 + } +} -- cgit v1.2.3