Calculates the rank-2 update of the upper or lower triangular component of a Hermitian matrix.
N-element vector.
Input vector.
y must be the same size as x.
Hermitian matrix.
A must have dimensions greater than or equal to N × N, where N is the number of elements in x. If A is an empty matrix, this node initializes A to be an N × N matrix with all elements set to 0.
Triangular component of A that this node uses for the calculation.
Name | Value | Description |
---|---|---|
Lower Triangular | 2 | Uses the lower triangular component of A for the calculation. |
Upper Triangular | 3 | Uses the upper triangular component of A for the calculation. |
Default: Upper Triangular
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Scalar that scales x * y^{H} and y * x^{H}, where x^{H} and y^{H} represent conjugate transpose of x and y, respectively.
Default: 1+0i
Matrix of the same dimensions as A.
For the elements in the first N rows and N columns of the triangular component you select in matrix A type, zher2 returns the results of alpha * x * y^{H} + alpha * y * x^{H} + A, where x^{H} and y^{H} represent conjugate transpose of x and y, respectively. For any remaining elements, zher2 returns the value of the element in A with the same index.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices
Web Server: Not supported in VIs that run in a web application