aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/lz/amaxkl.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vops/lz/amaxkl.x')
-rw-r--r--sys/vops/lz/amaxkl.x16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys/vops/lz/amaxkl.x b/sys/vops/lz/amaxkl.x
new file mode 100644
index 00000000..bfede4ea
--- /dev/null
+++ b/sys/vops/lz/amaxkl.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 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