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

Block SymbolLicensing group: STANDARD
PIC

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 DLACPY 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 [7] for more details.

Inputs

uA

Input reference to matrix A

Reference

uplo

Part of the matrix to be set

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

Outputs

yA

Output reference to matrix A

Reference

E

Error indicator

Bool

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