naginterfaces.library.blas.dmcopy

naginterfaces.library.blas.dmcopy(matrix, m, a)[source]

dmcopy performs the matrix-copy operation

where and are real general or trapezoidal matrices.

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

https://www.nag.com/numeric/nl/nagdoc_28.7/flhtml/f06/f06qff.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 matrices and .

afloat, array-like, shape

The general or trapezoidal matrix .

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