ML_DLASET – Initilizes the off-diagonal elements and the diagonal elements of a matrix to given values

Block SymbolLicensing group: STANDARD
Qt SVG Document Exported by REXYGEN Studio uA uplo alpha beta HLD yA E ML_DLASET

Function Description
The output reference yA is always set to the corresponding input references uA. If HLD = on then nothing is computed otherwise the LAPACK function DLASET is called internally:

DLASET(sUPLO, M, N, alpha, beta,uA, LDA);

where parameters of DLASET are set in the following way:

  • Integer input uplo is mapped to the string sUPLO: {0,1}"A", {2}"U" and {3}"L".
  • M is number of rows of the matrix referenced by uA.
  • N is number of columns of the matrix referenced by uA.
  • 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).

See LAPACK documentation [10] for more details.

This block does not propagate the signal quality. More information can be found in the 1.4 section.

Input

uA

Input reference to matrix A

Reference

uplo

Part of the matrix to be copied

Long (I32)

0 ....

All

1 ....

All

2 ....

Upper

3 ....

Lower

alpha

Scalar coefficient alpha

Double (F64)

beta

Scalar coefficient beta

Double (F64)

HLD

Hold

Bool

Output

yA

Output reference to matrix A

Reference

E

Error indicator

Bool

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