aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/lz/anegl.x
blob: e3ab64f45592b1fb9a6365b5c66c0910300807ec (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.

# ANEG -- Compute the arithmetic negation of a vector (generic).

procedure anegl (a, b, npix)

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

begin
	do i = 1, npix
	    b[i] = -a[i]
end