aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/aaddk.gx
blob: bd45782bdf26b24dc639ea860edc2d2d610c3e37 (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.

# AADDK -- Add a constant to a vector (generic).

procedure aaddk$t (a, b, c, npix)

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

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