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

# AEXP -- Compute a ** b, where b is of type PIXEL (generic).

procedure aexpr (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