diff options
Diffstat (limited to 'sys/vops/lz/amaxkr.x')
-rw-r--r-- | sys/vops/lz/amaxkr.x | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/vops/lz/amaxkr.x b/sys/vops/lz/amaxkr.x new file mode 100644 index 00000000..766c12e5 --- /dev/null +++ b/sys/vops/lz/amaxkr.x @@ -0,0 +1,16 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +# AMAXK -- Compute the maximum of a constant and a vector (generic). + +procedure amaxkr (a, b, c, npix) + +real a[ARB] +real b +real c[ARB] +int npix, i + +begin + + do i = 1, npix + c[i] = max (a[i], b) +end |