Somme matricielle
The MATSUM block returns the sum of the element of an input matrix/vector. When the Sum along is set to all the block outputs the sum of all the elements of the matrix. The output is then a scalar. When the Sum along is set to lines the block is a rowwise sum. The output is a row vector. When the Sum along is set to Columns the block is a columnwise sum. The output is a column vector. The equivalent function of this block in scilab is: "sum".
- Datatype(1=real double 2=Complex)
Ce paramètre indique le type de donnée de la sortie. Ce bloc fonctionne uniquement avec des types de donnée réels(1) et complexes(2). Si un autre type que 1 et 2 est indiqué, alors Scicos retourne le message d'erreur "Datatype is not supported".
Propriétés : Type 'vec' de taille 1.
- Sum along (0=all 1=lines 2=Columns)
Indicates the used rule to sum. For more information see the description part.
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,1] / 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: mat_sum
- SCI/macros/scicos_blocks/MatrixOp/MATSUM.sci [voir code]
Fady NASSIF INRIA