aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/lz/anoti.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vops/lz/anoti.x')
-rw-r--r--sys/vops/lz/anoti.x15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/vops/lz/anoti.x b/sys/vops/lz/anoti.x
new file mode 100644
index 00000000..867a8c92
--- /dev/null
+++ b/sys/vops/lz/anoti.x
@@ -0,0 +1,15 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+# ANOT -- Compute the bitwise boolean complement of a vector (generic).
+
+procedure anoti (a, b, npix)
+
+int a[ARB], b[ARB]
+int npix, i
+int not()
+
+begin
+ do i = 1, npix {
+ b[i] = not (a[i])
+ }
+end