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