aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/lz/apkxr.x
blob: aba0261aba4aaac1f3c3f7925843c7ce94d553d9 (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 apkxr (a, b, c, npix)

real	a[ARB]			# real component
real	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