aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/asub.gx
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vops/asub.gx')
-rw-r--r--sys/vops/asub.gx13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/vops/asub.gx b/sys/vops/asub.gx
new file mode 100644
index 00000000..547ee29c
--- /dev/null
+++ b/sys/vops/asub.gx
@@ -0,0 +1,13 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+# ASUB -- Subtract two vectors (generic).
+
+procedure asub$t (a, b, c, npix)
+
+PIXEL a[ARB], b[ARB], c[ARB]
+int npix, i
+
+begin
+ do i = 1, npix
+ c[i] = a[i] - b[i]
+end