rot - Givens Rotation VI

Owning Palette: Basic Linear Algebra Subroutines VIs

Requires: Full Development System

Applies a Givens rotation to a set of points.

The data types you wire to x in and y in determine the polymorphic instance to use.

Details  Example

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

drot - Givens Rotation (DBL)

yInc determines whether the VI skips elements in y in. The default is 1, meaning the VI does not skip any elements in y in.
Note  If you wire a value besides 1 to yInc, the VI uses only the elements that have indexes that are multiples of the number you wire. If yInc is less than 0, the VI reverses the order of the elements in y in. yInc cannot be 0.
xInc determines whether the VI skips elements in x in. The default is 1, meaning the VI does not skip any elements in x in.
Note  If you wire a value besides 1 to xInc, the VI uses only the elements that have indexes that are multiples of the number you wire. If xInc is less than 0, the VI reverses the order of the elements in x in. xInc cannot be 0.
x in is a real vector that contains the x-components of a set of two-element vectors.
y in is a real vector that contains the y-components of a set of two-element vectors.
c specifies the c parameter of the Givens rotation. You can use the rotg – Givens Rotation Parameters VI to obtain the value for c.
s specifies the s parameter of the Givens rotation. You can use the rotg – Givens Rotation Parameters VI to obtain the value for s.
x out is a real vector that contains the x-components of the set of two-element vectors after the rotation.
y out is a real vector that contains the y-components of the set of two-element vectors after the rotation.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

zdrot - Givens Rotation (CDB)

yInc determines whether the VI skips elements in y in. The default is 1, meaning the VI does not skip any elements in y in.
Note  If you wire a value besides 1 to yInc, the VI uses only the elements that have indexes that are multiples of the number you wire. If yInc is less than 0, the VI reverses the order of the elements in y in. yInc cannot be 0.
xInc determines whether the VI skips elements in x in. The default is 1, meaning the VI does not skip any elements in x in.
Note  If you wire a value besides 1 to xInc, the VI uses only the elements that have indexes that are multiples of the number you wire. If xInc is less than 0, the VI reverses the order of the elements in x in. xInc cannot be 0.
x in is a complex vector that contains the x-components of a set of two-element vectors.
y in is a complex vector that contains the y-components of a set of two-element vectors.
c specifies the c parameter of the Givens rotation. You can use the rotg – Givens Rotation Parameters VI to obtain the value for c.
s specifies the s parameter of the Givens rotation. You can use the rotg – Givens Rotation Parameters VI to obtain the value for s.
x out is a complex vector that contains the x-components of the set of two-element vectors after the rotation.
y out is a complex vector that contains the y-components of the set of two-element vectors after the rotation.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

rot - Givens Rotation Details

Tip  When performing a series of Givens rotation operations, consider using the fast Givens rotation instead of the Givens Rotation for better performance. You also can use the fast Givens rotation to compute the QR Decomposition.

Refer to the BLAS (Basic Linear Algebra Subprograms) website at netlib.org for more information on BLAS functions.

Example

Refer to the QR decomposition update by Givens rotation VI in the labview\examples\Mathematics\Linear Algebra directory for an example of using the rot - Givens Rotation VI.

 Open example  Find related examples