home *** CD-ROM | disk | FTP | other *** search
- SWAP(3F) Last changed: 11-2-98
-
-
- NNAAMMEE
- SSSSWWAAPP, DDSSWWAAPP, CCSSWWAAPP, ZZSSWWAAPP - Swaps two real or complex vectors
-
- SSYYNNOOPPSSIISS
- Real
-
- CCAALLLL SSSSWWAAPP ((_n,, _x,, _i_n_c_x,, _y,, _i_n_c_y))
-
- Double precision
-
- CCAALLLL DDSSWWAAPP ((_n,, _x,, _i_n_c_x,, _y,, _i_n_c_y))
-
- Complex
-
- CCAALLLL CCSSWWAAPP ((_n,, _x,, _i_n_c_x,, _y,, _i_n_c_y))
-
- Double complex
-
- CCAALLLL ZZSSWWAAPP ((_n,, _x,, _i_n_c_x,, _y,, _i_n_c_y))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- SSSSWWAAPP/DDSSWWAAPP swaps two real vectors.
-
- CCSSWWAAPP/ZZSSWWAAPP swaps two complex vectors.
-
- These routines perform the following vector operation:
-
- _x <-> _y
-
- where _x and _y are real or complex vectors.
-
- These routines have the following arguments:
-
- _n Integer. (input)
- Number of vector elements to be swapped. If _n <= 0, these
- routines return without any computation.
-
- _x Array of dimension (_n-1) * |_i_n_c_x| + 1. (input and output)
- SSSSWWAAPP: Real array.
- DDSSWWAAPP: Double precision array.
- CCSSWWAAPP: Complex array.
- ZZSSWWAAPP: Double complex array.
- Vector to be swapped.
-
- _i_n_c_x Integer. (input)
- Increment between elements of _x.
- If _i_n_c_x = 0, the results will be unpredictable.
-
- _y Array of dimension (_n-1) * |_i_n_c_y| + 1. (input and output)
- SSSSWWAAPP: Real array.
- DDSSWWAAPP: Double precision array.
- CCSSWWAAPP: Complex array.
- ZZSSWWAAPP: Double complex array.
- Vector to be swapped.
-
- _i_n_c_y Integer. (input)
- Increment between elements of _y. If _i_n_c_y = 0, the results
- will be unpredictable.
-
- NNOOTTEESS
- These routines are Level 1 Basic Linear Algebra Subprograms (Level 1
- BLAS).
-
- When working backward (_i_n_c_x < 0 or _i_n_c_y < 0), each routine starts at
- the end of the vector and moves backward, as follows:
-
- _x(1-_i_n_c_x * (_n-1)), _x(1-_i_n_c_x * (_n-2)), ..., _x(1)
-
- _y(1-_i_n_c_y * (_n-1)), _y(1-_i_n_c_y * (_n-2)), ..., _y(1)
-
- SSEEEE AALLSSOO
- This man page is available only online.
-