naginterfaces.library.blas.dmload

naginterfaces.library.blas.dmload(matrix, m, n, con, diag)[source]

dmload forms the real rectangular or trapezoidal matrix given by

For full information please refer to the NAG Library document for f06qh

https://support.nag.com/numeric/nl/nagdoc_30.2/flhtml/f06/f06qhf.html

Parameters
matrixstr, length 1

The matrix type.

General matrix.

Upper trapezoidal matrix (upper triangular if ).

Lower trapezoidal matrix (lower triangular if ).

mint

, the number of rows of the matrix .

nint

, the number of columns of the matrix .

confloat

The value to be assigned to the off-diagonal elements of .

diagfloat

The value to be assigned to the diagonal elements of .

Returns
afloat, ndarray, shape

The general or trapezoidal matrix .

Raises
NagValueError
(errno )

On entry, error in parameter .

Constraint: , or .

(errno )

On entry, error in parameter .

Constraint: .

(errno )

On entry, error in parameter .

Constraint: .

Notes

No equivalent traditional C interface for this routine exists in the NAG Library.