blob: a6edb5169267182c44315534c5e1bbc881090942 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
# AHIV -- Compute the high value (maximum) of a vector.
long procedure ahivl (a, npix)
long a[ARB]
int npix
long high, pixval
int i
begin
high = a[1]
do i = 1, npix {
pixval = a[i]
if (pixval > high)
high = pixval
}
return (high)
end
|