ARGoS 3
A parallel, multi-engine simulator for swarm robotics
squarematrix.cpp
Go to the documentation of this file.
1
9#include "squarematrix.h"
10
11namespace argos {
12
13 /****************************************/
14 /****************************************/
15
16 template<>
18 return m_pfValues[0];
19 }
20
21 /****************************************/
22 /****************************************/
23
24 template<>
26 return m_pfValues[0] * m_pfValues[3] - m_pfValues[2] * m_pfValues[1];
27 }
28
29 /****************************************/
30 /****************************************/
31
32 template<>
34 Real pfValues[] = {m_pfValues[3], -m_pfValues[2], -m_pfValues[1], m_pfValues[0]};
35 return CSquareMatrix<2>(pfValues);
36 }
37
38 /****************************************/
39 /****************************************/
40}
float Real
Collects all ARGoS code.
Definition datatypes.h:39
The namespace containing all the ARGoS related code.
Definition ci_actuator.h:12
CSquareMatrix< DIM > GetCofactorMatrix() const
Find the cofactor matrix.
Real GetDeterminant() const