aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/lz/apkxl.x
blob: 5af1f9e07d621b831ca1f4a4d5b6a26fa19ac97b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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