naginterfaces.library.lapackeig.dpbstf¶
- naginterfaces.library.lapackeig.dpbstf(uplo, kb, bb)[source]¶
dpbstf
computes a split Cholesky factorization of a real symmetric positive definite band matrix.For full information please refer to the NAG Library document for f08uf
https://support.nag.com/numeric/nl/nagdoc_30.3/flhtml/f08/f08uff.html
- Parameters
- uplostr, length 1
Indicates whether the upper or lower triangular part of is stored.
The upper triangular part of is stored.
The lower triangular part of is stored.
- kbint
If , the number of superdiagonals, , of the matrix .
If , the number of subdiagonals, , of the matrix .
- bbfloat, array-like, shape
The symmetric positive definite band matrix .
- Returns
- bbfloat, ndarray, shape
is overwritten by the elements of its split Cholesky factor .
- Raises
- NagValueError
- (errno )
On entry, error in parameter .
Constraint: or .
- (errno )
On entry, error in parameter .
Constraint: .
- (errno )
On entry, error in parameter .
Constraint: .
- (errno )
The factorization could not be completed, because the updated element would be the square root of a negative number. Hence is not positive definite. This may indicate an error in forming the matrix .
- Notes
dpbstf
computes a split Cholesky factorization of a real symmetric positive definite band matrix . It is designed to be used in conjunction withdsbgst()
.The factorization has the form , where is a band matrix of the same bandwidth as and the following structure: is upper triangular in the first rows, and transposed — hence, lower triangular — in the remaining rows. For example, if and , then