Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

rot - Givens Rotation (Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

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.

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 BLAS (Basic Linear Algebra Subprograms) for more information on the BLAS functions.

Example

Refer to the QR decomposition update by Givens rotation VI in the labview\examples\math\matrices.llb for an example of using the rot - Givens Rotation VI.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit