CXML

FOLRC (3sciport)


SYNOPSIS

  Call FOLRC( n, y, incy, x, incx, alpha )

ARGUMENTS

  n               Integer
                  The length of the linear recurrence.

  y               Real vector.
                  An input-output vector of length n.

  incy            Integer.
                  The increment between elements of vector y. For contiguous
                  elements, incy = 1.

  x               Real vector.
                  An input vector of length n.

  incx            Integer.
                  The increment between elements of vector x. For contiguous
                  elements, incx = 1.

  alpha           Real.
                  Coefficient used for recurrence

DESCRIPTION

  The subroutine FOLRC solves first-order linear recurrences where vector y
  is overwritten by the result vector.  It has the form:

          Y(1) = X(1)
          DO I = 2,N
             Y(I) = Alpha*Y(I-1) + X(I)
          ENDDO

  For equations and other information, see Volume 3: UNICOS Math and
  Scientific Library Reference Manual SR-2081 7.0, Cray Research, Inc.

CXML Home Page

Index of CXML Routines