EXTTRI Extraction diagonale ou triangulaire
The EXTTRI block extracts some elements from the input matrix u.
When the "Extraction type" is set to "1", the block copies the elements on and above the main diagonal to an output matrix of the same size. The elements below the main diagonal are set to zero.
When the "Extraction type" is set to "2", the block copies the elements on and below the main diagonal to an output matrix of the same size. The elements above the main diagonal are set to zero.
When the "Extraction type" is set to "3", the block copies the elements on the main diagonal to an output matrix of the same size. The elements above and below the main diagonal are set to zero.
- Datatype(1=real double 2=Complex)
It indicates the type of the output. It support only the two types double (1) and complex (2). If we input another entry in this label scicos will print the message "Datatype is not supported".
Propriétés : Type 'vec' de taille 1.
- extraction type (1=lower 2=upper 3=diagonal)
It indicates the form of the output matrix. It can be an upper triangle, a lower triangle or a diagonal matrix.
Propriétés : Type 'vec' de taille 1.
- toujours actif: non
- direct-feedthrough: oui
- détection de passage à zéro: non
- mode: non
- entrée régulières:
- port 1 : taille [-1,-2] / type 1
- sorties régulières:
- port 1 : taille [-1,-2] / type 1
- nombre des entrées évènementielles: 0
- nombre des sorties évènementielles: 0
- possède un état continu: non
- possède un état discret: non
- possède un état objet: non
- nom de la fonction de calcul: extrilz
- SCI/macros/scicos_blocks/MatrixOp/EXTTRI.sci [voir code]
Fady NASSIF INRIA