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

# AXOR -- Compute the exclusive or of two vectors (generic).

procedure axori (a, b, c, npix)

int	a[ARB], b[ARB], c[ARB]
int	npix, i
int	xor()

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