aboutsummaryrefslogtreecommitdiff
path: root/math/ieee/chap1/fr2tr.f
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /math/ieee/chap1/fr2tr.f
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'math/ieee/chap1/fr2tr.f')
-rw-r--r--math/ieee/chap1/fr2tr.f15
1 files changed, 15 insertions, 0 deletions
diff --git a/math/ieee/chap1/fr2tr.f b/math/ieee/chap1/fr2tr.f
new file mode 100644
index 00000000..24a103ff
--- /dev/null
+++ b/math/ieee/chap1/fr2tr.f
@@ -0,0 +1,15 @@
+c
+c-----------------------------------------------------------------------
+c subroutine: fr2tr
+c radix 2 iteration subroutine
+c-----------------------------------------------------------------------
+c
+ subroutine fr2tr(int, b0, b1)
+ dimension b0(2), b1(2)
+ do 10 k=1,int
+ t = b0(k) + b1(k)
+ b1(k) = b0(k) - b1(k)
+ b0(k) = t
+ 10 continue
+ return
+ end