Warning: include(php/utility.php): Failed to open stream: No such file or directory in /home/argos/argos3/doc/api/embedded/a00490_source.php on line 2

Warning: include(): Failed opening 'php/utility.php' for inclusion (include_path='.:/usr/lib64/php') in /home/argos/argos3/doc/api/embedded/a00490_source.php on line 2
The ARGoS Website

squarematrix.cpp
Go to the documentation of this file.
1 
9 #include "squarematrix.h"
10 
11 namespace 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 }
Real GetDeterminant() const
Definition: squarematrix.h:62
float Real
Collects all ARGoS code.
Definition: datatypes.h:39
The namespace containing all the ARGoS related code.
Definition: ci_actuator.h:12