Performs two-strided scaling and out-of-place transposition/copying of matrices.
mkl_?omatcopy2routine performs two-strided scaling and out-of-place transposition/copying of matrices. A transposition operation can be a normal matrix copy, a transposition, a conjugate transposition, or just a conjugation. The operation is defined as follows:
Normally, matrices in the BLAS or LAPACK are specified by a single stride index. For instance, in the column-major order,
is stored in memory one element away from
is a leading dimension away. The leading dimension in this case is at least the number of rows of the source matrix. If a matrix has two strides, then both
may be an arbitrary distance from
Parameter descriptions are common for all implemented interfaces with the exception of data types that refer here to the FORTRAN 77 standard types. Data types specific to the different interfaces are described in the section
Different arrays must not overlap.
- Ordering of the matrix storage.CHARACTER*1.Ifordering='R'or'r', the ordering is row-major.Ifordering='C'or'c', the ordering is column-major.
- Parameter that specifies the operation type.CHARACTER*1.Iftrans='N'or'n',op(and the matrixA)=AAis assumed unchanged on input.Iftrans='T'or't', it is assumed thatAshould be transposed.Iftrans='C'or'c', it is assumed thatAshould be conjugate transposed.Iftrans='R'or'r', it is assumed thatAshould be only conjugated.If the data is real, thentrans='R'is the same astrans='N', andtrans='C'is the same astrans='T'.
- The number of rows in matrixINTEGER.B(the source matrix).
- The number of columns in matrixINTEGER.B(the source matrix).
- REALformkl_somatcopy2.DOUBLE PRECISIONformkl_domatcopy2.COMPLEXformkl_comatcopy2.DOUBLE COMPLEXformkl_zomatcopy2.This parameter scales the input matrix byalpha.
- REALformkl_somatcopy2.DOUBLE PRECISIONformkl_domatcopy2.COMPLEXformkl_comatcopy2.DOUBLE COMPLEXformkl_zomatcopy2.Array, size