aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/ak/aabsx.x
blob: 287e22cf38e21590a866eae771d314d62fdcaf90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

# AABS -- Compute the absolute value of a vector (generic).

procedure aabsx (a, b, npix)

complex	a[ARB], b[ARB]
int	npix, i

begin
	do i = 1, npix
	    b[i] = abs(a[i])
end