From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- sys/vops/lz/apkxl.x | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sys/vops/lz/apkxl.x (limited to 'sys/vops/lz/apkxl.x') 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 -- cgit