- naginterfaces.library.matop.real_gen_trans_inplace(a, m, n)¶
real_gen_trans_inplacetransposes a rectangular matrix in-situ.
For full information please refer to the NAG Library document for f01cr
- afloat, ndarray, shape , modified in place
On entry: the elements of the matrix , stored by columns.
On exit: the elements of the transpose matrix, also stored by columns.
, the number of rows of the matrix .
, the number of columns of the matrix .
- (errno )
A serious internal error has occurred in
- (errno )
On entry, , and .
No equivalent traditional C interface for this routine exists in the NAG Library.
real_gen_trans_inplacerequires that the elements of an matrix are stored consecutively by columns in a one-dimensional array. It reorders the elements so that on exit the array holds the transpose of stored in the same way. For example, if and , on entry the array must hold:
and on exit it holds
Cate, E G and Twigg, D W, 1977, Algorithm 513: Analysis of in-situ transposition, ACM Trans. Math. Software (3), 104–110