rotg - Givens Rotation Parameters VI

Owning Palette: Basic Linear Algebra Subroutines VIs

Requires: Full Development System

Creates the parameters used in the rot - Givens Rotation VI.

You can use a Givens rotation to zero the input y-component. The data types you wire to the x and y inputs 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

drotg - Givens Rotation Parameters (DBL)

x is the real input x-component for the two-element vector.
y is the real input y-component for the two-element vector.
r returns the x-component after the Givens rotation.
c returns the c parameter of the Givens rotation.
s returns the s parameter of the Givens 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.
z returns the z parameter of the Givens rotation.
Note  You can use z to reconstruct Givens rotation parameters c and s.

zrotg - Givens Rotation Parameters (CDB)

x is the complex input x-component for the two-element vector.
y is the complex input y-coordinate for the two-element vector.
r returns the x-coordinate after the Givens rotation.
c returns the c parameter of the Givens rotation.
s returns the s parameter of the Givens 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.
z returns the z parameter of the Givens rotation.
Note  You can use z to reconstruct Givens rotation parameters c and s.

rotg - Givens Rotation Parameters Details

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 rotg - Givens Rotation Parameters VI.

 Open example  Find related examples