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

# ASUBK -- Subtract a constant from a vector (generic).

procedure asubks (a, b, c, npix)

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

begin
	do i = 1, npix
	    c[i] = a[i] - b
end