From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- sys/vops/lz/apkxs.x | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sys/vops/lz/apkxs.x (limited to 'sys/vops/lz/apkxs.x') diff --git a/sys/vops/lz/apkxs.x b/sys/vops/lz/apkxs.x new file mode 100644 index 00000000..178683a9 --- /dev/null +++ b/sys/vops/lz/apkxs.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 apkxs (a, b, c, npix) + +short a[ARB] # real component +short 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