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

# AMINK -- Compute the minimum of a constant and a vector (generic).

procedure aminkd (a, b, c, npix)

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

begin

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