Calculates the rank–1 update of the upper or lower triangular component of a symmetric matrix.


icon

Inputs/Outputs

  • c1ddbl.png x

    x is an N–element real vector.

  • c2ddbl.png A

    A is a real symmetric matrix.

    The VI updates only the upper or lower triangular component of A, depending on what you select for matrix A type. A must have at least N rows and N columns. The default is an N × N matrix with zero values for all elements.

  • ci32.png matrix A type

    matrix A type specifies whether to update the upper or lower triangular component of A.

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

    alpha is a real scalar that scales x*x^T, where x^T is the same as x transposed.

  • i2ddbl.png dsyr

    dsyr is a real matrix of the same dimensions as A.

    For the elements in the first N rows and N columns of the triangular component you select for matrix A type, dsyr returns the results of the calculation. For any remaining elements, dsyr returns the value of the element in A 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.