aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/ak/aabsx.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vops/ak/aabsx.x')
-rw-r--r--sys/vops/ak/aabsx.x13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/vops/ak/aabsx.x b/sys/vops/ak/aabsx.x
new file mode 100644
index 00000000..287e22cf
--- /dev/null
+++ b/sys/vops/ak/aabsx.x
@@ -0,0 +1,13 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+# AABS -- Compute the absolute value of a vector (generic).
+
+procedure aabsx (a, b, npix)
+
+complex a[ARB], b[ARB]
+int npix, i
+
+begin
+ do i = 1, npix
+ b[i] = abs(a[i])
+end