Construct a single-precision real modified Givens rotation matrix.
Constructs the single-precision real modified Givens rotation matrix h = [[h11, h12], [h21, h22]] that zeros out the second entry of the vector [[sqrt(d1)*x1], [sqrt(d2)*x2]].
Parameters: | handle : int
d1 : numpy.float32
d2 : numpy.float32
x1 : numpy.float32
x2 : numpy.float32
|
---|---|
Returns: | sparam : numpy.ndarray
|
Notes
The rotation matrix may assume the following values:
for flag == -1.0, h == [[h00, h01], [h10, h11]] for flag == 0.0, h == [[1.0, h01], [h10, 1.0]] for flag == 1.0, h == [[h00, 1.0], [-1.0, h11]] for flag == -2.0, h == [[1.0, 0.0], [0.0, 1.0]]