aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/ak/aexpi.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vops/ak/aexpi.x')
-rw-r--r--sys/vops/ak/aexpi.x13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/vops/ak/aexpi.x b/sys/vops/ak/aexpi.x
new file mode 100644
index 00000000..0e332a9a
--- /dev/null
+++ b/sys/vops/ak/aexpi.x
@@ -0,0 +1,13 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+# AEXP -- Compute a ** b, where b is of type PIXEL (generic).
+
+procedure aexpi (a, b, c, npix)
+
+int a[ARB], b[ARB], c[ARB]
+int npix, i
+
+begin
+ do i = 1, npix
+ c[i] = a[i] ** b[i]
+end