aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/lz/aminkr.x
blob: 76000fb733f3a71394582493b67758e0920cbf92 (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 aminkr (a, b, c, npix)

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

begin

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