CXML

SOLR (3sciport)


SYNOPSIS

  CALL SOLR( n, x, incx, y, incy, z, incz )

ARGUMENTS

  n               Integer.
                  The length of the linear recurrence.

  x               Real vector.
                  An input vector of length n.

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

  y               Real vector.
                  An input vector of length n.

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

  z               Real vector.
                  A result vector of length n.

  incz            Integer.
                  The increment between elements of vector z. For contiguous
                  elements, incz = 1.

DESCRIPTION

  SOLR solves second-order linear recurrences using input vectors x and y and
  result vector z.  It has the form:

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

  Z(1) and Z(2) are input to the routine; Z(3) to Z(N) are output from the
  routine.

  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