naginterfaces.library.lapackeig.dgbbrd¶
- naginterfaces.library.lapackeig.dgbbrd(vect, m, kl, ku, ab, c)[source]¶
dgbbrd
reduces a real band matrix to upper bidiagonal form.For full information please refer to the NAG Library document for f08le
https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/f08/f08lef.html
- Parameters
- vectstr, length 1
Indicates whether the matrices and/or are generated.
Neither nor is generated.
is generated.
is generated.
Both and are generated.
- mint
, the number of rows of the matrix .
- klint
The number of subdiagonals, , within the band of .
- kuint
The number of superdiagonals, , within the band of .
- abfloat, array-like, shape
The original band matrix .
- cfloat, array-like, shape
Note: the required extent for this argument in dimension 1 is determined as follows: if : ; if : ; otherwise: .
An matrix .
- Returns
- abfloat, ndarray, shape
is overwritten by values generated during the reduction.
- dfloat, ndarray, shape
The diagonal elements of the bidiagonal matrix .
- efloat, ndarray, shape
The superdiagonal elements of the bidiagonal matrix .
- qfloat, ndarray, shape
If or , contains the orthogonal matrix .
If or , is not referenced.
- ptfloat, ndarray, shape
The orthogonal matrix , if or . If or , is not referenced.
- cfloat, ndarray, shape
is overwritten by . If , is not referenced.
- 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 )
On entry, error in parameter .
Constraint: .
- (errno )
On entry, error in parameter .
Constraint: .
- (errno )
On entry, error in parameter .
Constraint: .
- Notes
dgbbrd
reduces a real band matrix to upper bidiagonal form by an orthogonal transformation: . The orthogonal matrices and , of order and respectively, are determined as a product of Givens rotation matrices, and may be formed explicitly by the function if required. A matrix may also be updated to give .The function uses a vectorizable form of the reduction.