blob: 7b8f320e37b8d76274ad4e9f9499c6f91b3a24be (
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 anegs (a, b, npix)
short a[ARB], b[ARB]
int npix, i
begin
do i = 1, npix
b[i] = -a[i]
end
|