naginterfaces.library.blas.zmload

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

zmload forms the complex rectangular or trapezoidal matrix given by

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

https://support.nag.com/numeric/nl/nagdoc_30/flhtml/f06/f06thf.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 .

concomplex

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

diagcomplex

The value to be assigned to the diagonal elements of .

Returns
acomplex, 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.