home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / libblas / hpr.z / hpr
Encoding:
Text File  |  2002-10-03  |  3.6 KB  |  89 lines

  1. HPR(3F)                                               Last changed: 11-2-98
  2.  
  3.  
  4. NNAAMMEE
  5.      CCHHPPRR, ZZHHPPRR - Performs Hermitian rank 1 update of a packed complex
  6.      Hermitian matrix
  7.  
  8. SSYYNNOOPPSSIISS
  9.      Complex
  10.  
  11.         CCAALLLL CCHHPPRR ((_u_p_l_o,, _n,, _a_l_p_h_a,, _x,, _i_n_c_x,, _a_p))
  12.  
  13.      Double complex
  14.  
  15.         CCAALLLL ZZHHPPRR ((_u_p_l_o,, _n,, _a_l_p_h_a,, _x,, _i_n_c_x,, _a_p))
  16.  
  17. IIMMPPLLEEMMEENNTTAATTIIOONN
  18.      IRIX systems
  19.  
  20. DDEESSCCRRIIPPTTIIOONN
  21.      These routines perform the following Hermitian rank 1 operation:
  22.                        _H
  23.           _A <- _a_l_p_h_a _x_x  + _A
  24.                                                               _H
  25.      where _a_l_p_h_a is a real scalar, _x is an _n-element vector, _x  is the
  26.      conjugate transpose of _x, and _A is an _n-by-_n packed complex Hermitian
  27.      matrix.
  28.  
  29.      These routines have the following arguments:
  30.  
  31.      _u_p_l_o      Character*1.  (input)
  32.                Specifies whether the upper or lower triangular part of
  33.                matrix _A is packed into the array argument _a_p, as follows:
  34.  
  35.                _u_p_l_o= 'U' or 'u': the upper triangular part of _A is supplied
  36.                in the argument _a_p.
  37.                _u_p_l_o= 'L' or 'l': the lower triangular part of _A is supplied
  38.                in the argument _a_p.
  39.  
  40.      _n         Integer.  (input)
  41.                Specifies the order of matrix _A.  _n >= 0.
  42.  
  43.      _a_l_p_h_a     Scalar alpha.  (input)
  44.                CCHHPPRR: Real.
  45.                ZZHHPPRR: Double precision.
  46.  
  47.      _x         Array of dimension 1+(_n-1) * |_i_n_c_x|.  (input)
  48.                CCHHPPRR: Complex array.
  49.                ZZHHPPRR: Double complex array.
  50.                Contains vector _x.
  51.  
  52.      _i_n_c_x      Integer.  (input)
  53.                Specifies the increment for the elements of _x.  _i_n_c_x must
  54.                not be 0.
  55.  
  56.      _a_p        Array of dimension (_n(_n+1))/2 .  (input and output)
  57.                CCHHPPRR: Complex array.
  58.                ZZHHPPRR: Double complex array.
  59.  
  60.                Before entry with _u_p_l_o = 'U' or 'u', array _a_p must contain
  61.                the upper triangular part of the Hermitian matrix packed
  62.                sequentially, column-by-column, so that _a_p(1) contains
  63.                _A(1,1), _a_p(2) contains _A(1,2), _a_p(3) contains _A(2,2), and so
  64.                on.  On exit, the upper triangular part of the updated
  65.                matrix overwrites array _a_p.
  66.  
  67.                Before entry with _u_p_l_o = 'L' or 'l', array _a_p must contain
  68.                the lower triangular part of the Hermitian matrix packed
  69.                sequentially, column-by-column, so that _a_p(1) contains
  70.                _A(1,1), _a_p(2) contains _A(2,1), _a_p(3) contains _A(3,1), and so
  71.                on.  On exit, the lower triangular part of the updated
  72.                matrix overwrites array _a_p.
  73.  
  74.                The imaginary parts of the diagonal elements need not be
  75.                set.  They are assumed to be 0; on exit, they are set to 0.
  76.  
  77. NNOOTTEESS
  78.      CCHHPPRR/ZZHHPPRR is a Level 2 Basic Linear Algebra Subprogram (Level 2 BLAS).
  79.  
  80.      When working backward (_i_n_c_x < 0), this routine starts at the end of
  81.      the vector and moves backward, as follows:
  82.  
  83.           _x(1-_i_n_c_x * (_n-1)), _x(1-_i_n_c_x * (_n-2)), ..., _x(1)
  84.  
  85. SSEEEE AALLSSOO
  86.      SSPPRR(3F)
  87.  
  88.      This man page is available only online.
  89.