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