aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/lz/anoti.x
blob: 867a8c92e1c218a7e22032b7ba12bdcff4db5323 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

# ANOT -- Compute the bitwise boolean complement of a vector (generic).

procedure anoti (a, b, npix)

int	a[ARB], b[ARB]
int	npix, i
int	not()

begin
	do i = 1, npix {
		b[i] = not (a[i])
	}
end