Calculates the rank–2k update of a symmetric matrix.

The data types you wire to the A, B, and C inputs determine the polymorphic instance to use.


icon

Inputs/Outputs

  • ci32.png operation

    operation specifies the operation the VI performs on matrices A and B, resulting in matrices op(A) and op(B).

    The default is Not Transposed.

    0Direct (default)
    1Conjugated & Transposed
    2Transposed
  • c2ddbl.png A

    A is a real matrix of dimensions N × K.

  • c2ddbl.png B

    B is a real matrix.

    op(B) must have the same dimensions as op(A).

  • c2ddbl.png C

    C is a real symmetric matrix of at least dimensions N × K, or K × N if you set operation to Transposed.

  • ci32.png matrix C type

    matrix C type specifies whether to update the upper or lower triangular component of C. The default is Upper Triangular.

    2Lower Triangular—The VI uses only the lower triangular component of C to calculate the rank–2k update.
    3Upper Triangular (default)—The VI uses only the upper triangular component of C to calculate the rank–2k update.
  • cdbl.png alpha

    alpha is a real scalar that scales scale factor for A*B^T + B*A^T or A^T *B + B^T*A, where A^T represents A transposed.

    The default is 1.

  • cdbl.png beta

    beta is a real scalar that scales C.

    The default is 1.

  • i2ddbl.png dsyr2k

    dsyr2k is a real matrix of the same dimensions as C.

    For the elements in the first N rows and N columns of the triangular component you select for matrix C type, dsyr2k returns the results of the calculation. For any other elements, dsyr2k returns the value of the element in C with the same index.

  • ii32.png error

    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.

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