Purpose
=======
DLAR2V applies a vector of real plane rotations from both sides to
a sequence of 2-by-2 real symmetric matrices, defined by the elements
of the vectors x, y and z. For i = 1,2,...,n
( x(i) z(i) ) := ( c(i) s(i) ) ( x(i) z(i) ) ( c(i) -s(i) )
( z(i) y(i) ) ( -s(i) c(i) ) ( z(i) y(i) ) ( s(i) c(i) )
Namespace: DotNumerics.LinearAlgebra.CSLapackAssembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void Run(
int N,
ref double[] X,
int offset_x,
ref double[] Y,
int offset_y,
ref double[] Z,
int offset_z,
int INCX,
double[] C,
int offset_c,
double[] S,
int offset_s,
int INCC
)
Public Sub Run (
N As Integer,
ByRef X As Double(),
offset_x As Integer,
ByRef Y As Double(),
offset_y As Integer,
ByRef Z As Double(),
offset_z As Integer,
INCX As Integer,
C As Double(),
offset_c As Integer,
S As Double(),
offset_s As Integer,
INCC As Integer
)
Request Example
View SourceParameters
- N Int32
-
(input) INTEGER
The number of plane rotations to be applied.
- X Double
-
(input/output) DOUBLE PRECISION array,
dimension (1+(N-1)*INCX)
The vector x.
- offset_x Int32
-
- Y Double
-
(input/output) DOUBLE PRECISION array,
dimension (1+(N-1)*INCX)
The vector y.
- offset_y Int32
-
- Z Double
-
(input/output) DOUBLE PRECISION array,
dimension (1+(N-1)*INCX)
The vector z.
- offset_z Int32
-
- INCX Int32
-
(input) INTEGER
The increment between elements of X, Y and Z. INCX .GT. 0.
- C Double
-
(input) DOUBLE PRECISION array, dimension (1+(N-1)*INCC)
The cosines of the plane rotations.
- offset_c Int32
-
- S Double
-
(input) DOUBLE PRECISION array, dimension (1+(N-1)*INCC)
The sines of the plane rotations.
- offset_s Int32
-
- INCC Int32
-
(input) INTEGER
The increment between elements of C and S. INCC .GT. 0.
See Also