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

# ADIV -- Divide two vectors (generic).  No divide by zero checking is
# performed.  If this is desired, advz should be used instead.

procedure adivr (a, b, c, npix)

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

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