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

# AMAX -- Compute the maximum of two vectors (generic).

procedure amaxc (a, b, c, npix)

char	a[ARB], b[ARB], c[ARB]
int	npix, i

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