aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/ak/aexpks.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vops/ak/aexpks.x')
-rw-r--r--sys/vops/ak/aexpks.x15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/vops/ak/aexpks.x b/sys/vops/ak/aexpks.x
new file mode 100644
index 00000000..cfcd1218
--- /dev/null
+++ b/sys/vops/ak/aexpks.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 aexpks (a, b, c, npix)
+
+short a[ARB]
+short b
+short c[ARB]
+int npix, i
+
+begin
+ do i = 1, npix
+ c[i] = a[i] ** b
+end