### MX_DTRNSQ – Square matrix in-place transposition: A := alpha*A^T

Block SymbolLicensing group: STANDARD

Function Description

The function block MX_DTRNSQ transpose the scalar multiple of the square matrix referenced by
uA in-place.

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

X_DTRNSQ(N, ALPHA, uA, LDA);

where parameters of X_DTRNSQ are set in the following way:

- N is number of rows and 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 is the leading dimension of the matrix referenced by uA.

The error flag E is set to on if:

- the reference uA is not defined (i.e. input uA is not connected),
- the matrix referenced by uA is not square,
- the call of the function X_DTRNSQ returns error using the function XERBLA, see the system log.

Inputs

uA | Input reference to matrix A | Reference |

alpha | Scalar coefficient alpha $\odot $0.0 | Double (F64) |

HLD | Hold | Bool |

Outputs

yA | Output reference to matrix A | Reference |

E | Error indicator | Bool |

[Previous] [Back to top] [Up] [Next]

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