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