aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/ak/aabsl.x
blob: 275431186b60cf8ad3d3e1d15d3558309d0169bd (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 aabsl (a, b, npix)

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

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