diff libcruft/arpack/util/iset.f @ 12274:9f5d2ef078e8 release-3-4-x

import ARPACK sources to libcruft from Debian package libarpack2 2.1+parpack96.dfsg-3+b1
author John W. Eaton <jwe@octave.org>
date Fri, 28 Jan 2011 14:04:33 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libcruft/arpack/util/iset.f	Fri Jan 28 14:04:33 2011 -0500
@@ -0,0 +1,16 @@
+c
+c-----------------------------------------------------------------------
+c
+c     Only work with increment equal to 1 right now.
+c
+      subroutine iset (n, value, array, inc)
+c
+      integer    n, value, inc
+      integer    array(*)
+c
+      do 10 i = 1, n
+         array(i) = value
+   10 continue
+c
+      return
+      end