|
NAG[f07qrc] NAG[nag_zsptrf] - Bunch–Kaufman factorization of complex symmetric matrix, packed storage
|
|
Calling Sequence
f07qrc(uplo, n, ap, ipiv, 'fail'=fail)
nag_zsptrf(. . .)
Parameters
|
uplo - String;
|
|
|
On entry: indicates whether the upper or lower triangular part of is stored and how is to be factorized.
|
|
Constraint: "Nag_Upper" or "Nag_Lower". .
|
|
|
n - integer;
|
|
|
On entry: , the order of the matrix .
|
|
Constraint: . .
|
|
|
ap - Vector(1..dim, datatype=complex[8]);
|
|
|
Note: the dimension, dim, of the array ap must be at least .
|
|
|
ipiv - Vector(1..dim, datatype=integer[kernelopts('wordsize')/8]);
|
|
|
Note: the dimension, dim, of the array ipiv must be at least .
|
|
On exit: details of the interchanges and the block structure of . More precisely,
|
|
|
'fail'=fail - table; (optional)
|
|
|
The NAG error argument, see the documentation for NagError.
|
|
|
|
Description
|
|
|
Purpose
|
|
nag_zsptrf (f07qrc) computes the Bunch–Kaufman factorization of a complex symmetric matrix, using packed storage.
|
|
Error Indicators and Warnings
|
|
"NE_BAD_PARAM"
On entry, argument had an illegal value.
"NE_INT"
On entry, . Constraint: .
"NE_INTERNAL_ERROR"
An internal error has occurred in this function. Check the function call and any array sizes. If the call is correct then please consult NAG for assistance.
"NE_SINGULAR"
The block diagonal matrix is exactly singular.
|
|
|
Examples
|
|
>
|
uplo := "Nag_Upper":
n := 4:
ap := Vector([-0.39 -0.71*I, 5.14 -0.64*I, -7.86 -2.96*I, 3.8 +0.92*I, 8.859999999999999 +1.81*I, -3.52 +0.58*I, 5.32 -1.59*I, -2.83 -0.03*I, -1.54 -2.86*I, -0.5600000000000001 +0.12*I], datatype=complex[8], order='C_order'):
ipiv := Vector(4, datatype=integer[kernelopts('wordsize')/8]):
NAG:-f07qrc(uplo, n, ap, ipiv):
|
|
|