nag_hermitian_lin_eqn_mult_rhs (f04awc) calculates the approximate solution of a set of complex Hermitian positive definite linear equations with multiple right-hand sides,
, where
has been factorized by
nag_complex_cholesky (f01bnc).
To solve a set of complex linear equations,
, where
is positive definite Hermitian, this function must be preceded by a call to
nag_complex_cholesky (f01bnc) which computes a Cholesky factorization
, where
is an upper triangular matrix with real diagonal elements. The columns
of the solution
are found in two steps
and
, where
is a column of the right-hand side matrix
.
The solutions should be the best possible for the precision of computation having regard to the condition of
. The computed solution
, corresponding to the right-hand side
, satisfies the bound
Here
is a modest function of
,
is the
machine precision, and
is the condition number defined by
Not applicable.
The time taken by nag_hermitian_lin_eqn_mult_rhs (f04awc) is approximately proportional to .
The function may be called with the same actual array supplied for arguments
b and
x, in which case the solution vectors will overwrite the right-hand sides.
To solve the set of linear equations
where
is the positive definite Hermitian matrix:
and
is the single column vector: