diff options
Diffstat (limited to 'sys/vops/lz/amaxc.x')
-rw-r--r-- | sys/vops/lz/amaxc.x | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/vops/lz/amaxc.x b/sys/vops/lz/amaxc.x new file mode 100644 index 00000000..89c5808b --- /dev/null +++ b/sys/vops/lz/amaxc.x @@ -0,0 +1,13 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +# AMAX -- Compute the maximum of two vectors (generic). + +procedure amaxc (a, b, c, npix) + +char a[ARB], b[ARB], c[ARB] +int npix, i + +begin + do i = 1, npix + c[i] = max (a[i], b[i]) +end |