| 
    iCub-main
    
   | 
 
Classes | |
| struct | matrix | 
Functions | |
| Q15 | convert (const double v, bool &saturated) | 
| Q15 | U16toQ15 (const std::uint16_t valU16) | 
| bool | convert (const std::vector< double > &in, std::vector< Q15 > &out) | 
| bool | convert (const std::vector< Q15 > &in, std::vector< double > &out) | 
| std::uint16_t | Q15toU16 (const Q15 valQ15) | 
| double | convert (const Q15 v) | 
| Q15 | opposite (const Q15 v) | 
| Q15 | saturate (const Q15result x, bool &saturated) | 
| Q15 | add (const Q15 a, const Q15 b) | 
| Q15 | add (const Q15 a, const Q15 b, bool &saturated) | 
| Q15 | sub (Q15 &a, Q15 &b) | 
| Q15 | mul (const Q15 a, const Q15 b, bool &saturated) | 
| Q15 | mul (const Q15 a, const Q15 b) | 
| Q15 | div (const Q15 a, const Q15 b, bool &saturated) | 
| bool | add (const matrix &m1, const matrix &m2, matrix &res, bool &saturated) | 
| bool | multiply (const matrix &m1, const matrix &m2, matrix &res, bool &saturated) | 
| Q15 | sub (const Q15 a, const Q15 b) | 
Variables | |
| const Q15 | negOne = 0x8000 | 
| const Q15 | negOneNearly = 0x8001 | 
| const Q15 | negOneHalf = 0xC000 | 
| const Q15 | negOneFourth = 0xE000 | 
| const Q15 | negOneEigth = 0xF000 | 
| const Q15 | negEPSILON = 0xFFFF | 
| const Q15 | zero = 0 | 
| const Q15 | posEPSILON = 0x0001 | 
| const Q15 | posOneHalf = 0x4000 | 
| const Q15 | posOneFourth = 0x2000 | 
| const Q15 | posOneEigth = 0x4000 | 
| const Q15 | posOneNearly = 0x7FFF | 
Definition at line 1280 of file strain.cpp.
Definition at line 1209 of file strain.cpp.
Definition at line 1215 of file strain.cpp.
| Q15 strain::dsp::q15::convert | ( | const double | v, | 
| bool & | saturated | ||
| ) | 
Definition at line 1135 of file strain.cpp.
| double strain::dsp::q15::convert | ( | const Q15 | v | ) | 
Definition at line 1178 of file strain.cpp.
| bool strain::dsp::q15::convert | ( | const std::vector< double > & | in, | 
| std::vector< Q15 > & | out | ||
| ) | 
Definition at line 1146 of file strain.cpp.
| bool strain::dsp::q15::convert | ( | const std::vector< Q15 > & | in, | 
| std::vector< double > & | out | ||
| ) | 
Definition at line 1162 of file strain.cpp.
Definition at line 1245 of file strain.cpp.
Definition at line 1239 of file strain.cpp.
Definition at line 1227 of file strain.cpp.
| bool strain::dsp::q15::multiply | ( | const matrix & | m1, | 
| const matrix & | m2, | ||
| matrix & | res, | ||
| bool & | saturated | ||
| ) | 
Definition at line 1311 of file strain.cpp.
Definition at line 1183 of file strain.cpp.
| std::uint16_t strain::dsp::q15::Q15toU16 | ( | const Q15 | valQ15 | ) | 
Definition at line 1173 of file strain.cpp.
Definition at line 1192 of file strain.cpp.
Definition at line 1222 of file strain.cpp.
| Q15 strain::dsp::q15::U16toQ15 | ( | const std::uint16_t | valU16 | ) | 
Definition at line 1141 of file strain.cpp.