aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/aneg.gx
blob: 6b18e520f9bd9dc177ccabde2db3e7fdd9102791 (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 aneg$t (a, b, npix)

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

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