aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/lz/apkxl.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vops/lz/apkxl.x')
-rw-r--r--sys/vops/lz/apkxl.x16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/vops/lz/apkxl.x b/sys/vops/lz/apkxl.x
new file mode 100644
index 00000000..5af1f9e0
--- /dev/null
+++ b/sys/vops/lz/apkxl.x
@@ -0,0 +1,16 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+# APKX -- Generate a type COMPLEX output vector given the real and imaginary
+# components as input vectors.
+
+procedure apkxl (a, b, c, npix)
+
+long a[ARB] # real component
+long b[ARB] # imaginary component
+complex c[ARB] # output vector
+int npix, i
+
+begin
+ do i = 1, npix
+ c[i] = complex (real(a[i]), real(b[i]))
+end