User Tools

Site Tools


eeros_architecture:control_system:available_blocks:mul

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

eeros_architecture:control_system:available_blocks:mul [2017/10/01 17:00] – created grafeeros_architecture:control_system:available_blocks:mul [2021/05/16 14:28] (current) ursgraf
Line 2: Line 2:
 A multiplier takes its two input signals and multiplies them. If the inputs are of type matrix it will calculate the matrix products. When declaring this block you have to indicate the two types of the two input signals as well as the type of the output signal, e.g.: A multiplier takes its two input signals and multiplies them. If the inputs are of type matrix it will calculate the matrix products. When declaring this block you have to indicate the two types of the two input signals as well as the type of the output signal, e.g.:
 <code cpp> <code cpp>
-  Mul<Matrix<2,1,double>,Matrix<1,3,double>,Matrix<2,3,double>> m1; +Mul<Matrix<2,1,double>,Matrix<1,3,double>,Matrix<2,3,double>> m1; 
-  Mul<> m2;   // all types will be double +Mul<> m2;   // all types will be double 
 </code> </code>
eeros_architecture/control_system/available_blocks/mul.1506870046.txt.gz · Last modified: 2017/10/01 17:00 by graf