ML_DLASET – Initilizes the off-diagonal elements and the diagonal elements of a matrix to given values
Block SymbolLicensing group: STANDARD
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: , and .
- 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) |
|
|
|
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 |
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com