blob: bfede4ea81f0159340f7b1cb0bbcdb01f5318408 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
# AMAXK -- Compute the maximum of a constant and a vector (generic).
procedure amaxkl (a, b, c, npix)
long a[ARB]
long b
long c[ARB]
int npix, i
begin
do i = 1, npix
c[i] = max (a[i], b)
end
|