MX_DTRNSP – General matrix transposition: B := alpha*A^T

Block SymbolLicensing group: STANDARD
PIC

Function Description
The function block MX_DTRNSP stores the scalar multiple of the general (i.e. rectangular) matrix referenced by uA into the matrix referenced by uB.

The output references yA and yB are always set to the corresponding input references uA and uB. If HLD = on then nothing else is done otherwise the BLAS-like function X_DTRNSP is called internally:

X_DTRNSP(M, N, ALPHA, uA, LDA, uB, LDB);

where parameters of X_DTRNSP are set in the following way:

  • M is number of rows of the matrix referenced by uA.
  • N is number of columns of the matrix referenced by uA.
  • If the input alpha is equal to 0 then ALPHA is set to 1 else ALPHA is set to alpha.
  • LDA and LDB are leading dimensions of matrices referenced by uA and uB.

The error flag E is set to on if:

  • the reference uA or uB is not defined (i.e. input uA or uB is not connected),
  • the call of the function X_DTRNSP returns error using the function XERBLA, see the system log.

Inputs

uA

Input reference to matrix A

Reference

uB

Input reference to matrix B

Reference

alpha

Scalar coefficient alpha  0.0

Double (F64)

HLD

Hold

Bool

Outputs

yA

Output reference to matrix A

Reference

yB

Output reference to matrix B

Reference

E

Error indicator

Bool

2022 © REX Controls s.r.o., www.rexygen.com