home *** CD-ROM | disk | FTP | other *** search
- SCAL(3F) Last changed: 11-2-98
-
-
- NNAAMMEE
- SSSSCCAALL, DDSSCCAALL, CCSSSSCCAALL, ZZDDSSCCAALL, CCSSCCAALL, ZZSSCCAALL - Scales a real or complex
- vector
-
- SSYYNNOOPPSSIISS
- Real
-
- CCAALLLL SSSSCCAALL ((_n,, _a_l_p_h_a,, _x,, _i_n_c_x))
-
- Double precision
-
- CCAALLLL DDSSCCAALL ((_n,, _a_l_p_h_a,, _x,, _i_n_c_x))
-
- Complex
-
- CCAALLLL CCSSSSCCAALL ((_n,, _a_l_p_h_a,, _x,, _i_n_c_x))
-
- CCAALLLL CCSSCCAALL ((_n,, _a_l_p_h_a,, _x,, _i_n_c_x))
-
- Double complex
-
- CCAALLLL ZZDDSSCCAALL ((_n,, _a_l_p_h_a,, _x,, _i_n_c_x))
-
- CCAALLLL ZZSSCCAALL ((_n,, _a_l_p_h_a,, _x,, _i_n_c_x))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- SSSSCCAALL/DDSSCCAALL scales a real vector with a real scalar.
-
- CCSSSSCCAALL/ZZDDSSCCAALL scales a complex vector with a real scalar.
-
- CCSSCCAALL/ZZSSCCAALL scales a complex vector with a complex scalar.
-
- These routines perform the following vector operation:
-
- _x <- _a_l_p_h_a _x
-
- where _a_l_p_h_a is a real or complex scalar, and _x is a real or complex
- vector.
-
- These routines have the following arguments:
-
- _n Integer. (input)
- Number of elements in the vector. If _n <= 0, these routines
- return without any computation.
-
- _a_l_p_h_a Scalar alpha. (input)
- SSSSCCAALL, CCSSSSCCAALL: Real.
- DDSSCCAALL, ZZDDSSCCAALL: Double precision.
- CCSSCCAALL: Complex.
- ZZSSCCAALL: Double complex.
-
- _x Array of dimension (_n-1) * |_i_n_c_x| + 1. (input and output)
- SSSSCCAALL: Real array.
- DDSSCCAALL: Double precision array.
- CCSSSSCCAALL, CCSSCCAALL: Complex array.
- ZZDDSSCCAALL, ZZSSCCAALL: Double complex array.
- Vector to be scaled.
-
- _i_n_c_x Integer. (input)
- Increment between elements of _x. If _i_n_c_x = 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), 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)
-
- SSEEEE AALLSSOO
- This man page is available only online.
-