blob: 824e77d506dbdf8853568dd42cff5b6a9d5f7985 (
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.
# AABS -- Compute the absolute value of a vector (generic).
procedure aabsr (a, b, npix)
real a[ARB], b[ARB]
int npix, i
begin
do i = 1, npix
b[i] = abs(a[i])
end
|