Cholesky Factorization Rank-1 Update VI

Owning Palette: Linear Algebra VIs

Requires: Full Development System

Performs Cholesky factorization on the rank-1 updated Cholesky matrix. The VI performs Cholesky factorization directly on the known factored matrix instead of the updated matrix.

Wire data to the R or X inputs to determine the polymorphic instance to use or manually select the instance.

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

Real Cholesky Factorization

R is a real factored matrix of a known Cholesky factorization. R must be square. This VI uses only the upper triangular matrix of R.
X is a vector that updates RR. The length of X must equal the number of columns in R.
method specifies whether to perform the rank-1 Cholesky update or downdate.

0Update (default)—Computes the Cholesky factorization of R'R+XX'.
1Downdate—Computes the Cholesky factorization of R'R-XX'. When method is Downdate, RR and RR-XX’ must be positive definite.
Updated R returns the factored upper triangular matrix of the rank-1 updated Cholesky factorization.

When method is Downdate, if RR and RR-XX’ are not positive definite, this VI returns a warning and Updated R returns the upper triangular matrix of R.
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.

Complex Cholesky Factorization

R is a complex factored matrix of a known Cholesky factorization. R must be square. This VI uses only the upper triangular matrix of R.
X is a vector that updates RR. The length of X must equal the number of columns in R.
method specifies whether to perform the rank-1 Cholesky update or downdate.

0Update (default)—Computes the Cholesky factorization of R'R+XX'.
1Downdate—Computes the Cholesky factorization of R'R-XX'. When method is Downdate, RR and RR-XX’ must be positive definite.
Updated R returns the factored upper triangular matrix of the rank-1 updated Cholesky factorization.

When method is Downdate, if RR and RR-XX’ are not positive definite, this VI returns a warning and Updated R returns the upper triangular matrix of R.
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.