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

# ANEG -- Compute the arithmetic negation of a vector (generic).

procedure anegx (a, b, npix)

complex	a[ARB], b[ARB]
int	npix, i

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