User Tools

Site Tools


tools:matrix:start

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:matrix:start [2022/04/20 12:45] – [Vectors and Matrices] ursgraftools:matrix:start [2026/04/13 12:15] (current) ursgraf
Line 1: Line 1:
 ====== Vectors and Matrices ====== ====== Vectors and Matrices ======
-The blocks in the control system are connected among each other with the aid of signals. As described in [[eeros_architecture:control_system:signals|]] they carry a timestamp and a value. The value could be a simple type such as an integer or float. Quite often it will consist of a vector or a matrix. A three dimensional vector of type ''double'' can be declared and initialized as follows:+The blocks in the control system are connected among each other with the aid of signals. As described in [[eeros_architecture:control_system:signals|]] they carry a timestamp and a value. The value could be a simple type such as an integer or float. Quite often it will consist of a vector or a matrix.  
 + 
 +In the EEROS library you will find a directory with examples. For an example showing the use of matrices see [[https://github.com/eeros-project/eeros-framework/blob/master/examples/math/MatrixTest.cpp|MatrixTest.cpp]].  
 + 
 +A three dimensional vector of type ''double'' can be declared and initialized as follows:
 <code cpp> <code cpp>
 Vector<3, double> v;  Vector<3, double> v; 
Line 69: Line 73:
 <code> <code>
 2021-09-16 17:37:18:122    I:  [1]' 2021-09-16 17:37:18:122    I:  [1]'
-2021-09-16 17:37:18:122    I:  [1 2]' +2021-09-16 17:37:18:122    I:  [1 2]'         // one colon with two rows 
-2021-09-16 17:37:18:122    I:  [ [1]' [2]' ]'+2021-09-16 17:37:18:122    I:  [ [1]' [2]' ]' // one row with two colons
 </code> </code>
  
tools/matrix/start.1650451511.txt.gz · Last modified: by ursgraf