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

# AMIN -- Compute the minimum of two vectors (generic).

procedure amini (a, b, c, npix)

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

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