File tree Expand file tree Collapse file tree 2 files changed +0
-31
lines changed Expand file tree Collapse file tree 2 files changed +0
-31
lines changed Original file line number Diff line number Diff line change 18
18
19
19
namespace modm
20
20
{
21
- template <>
22
- int16_t
23
- Vector<int16_t , 2 >::getLength() const
24
- {
25
- int32_t t;
26
-
27
- t = math::mul (this ->x , this ->x );
28
- t = math::mac (t, this -> y, this ->y );
29
-
30
- return math::sqrt (t);
31
- }
32
-
33
- template <>
34
- int32_t
35
- Vector<int16_t , 2 >::getLengthSquared() const
36
- {
37
- int32_t t;
38
-
39
- t = math::mul (this ->x , this ->x );
40
- t = math::mac (t,this -> y, this ->y );
41
-
42
- return t;
43
- }
44
-
45
21
template <>
46
22
int32_t
47
23
Vector<int16_t , 2 >::dot(const modm::Vector<int16_t , 2 >& other) const
Original file line number Diff line number Diff line change @@ -301,13 +301,6 @@ namespace modm
301
301
// ------------------------------------------------------------------------
302
302
// Declaration of specialized methods
303
303
// ------------------------------------------------------------------------
304
- template <>
305
- int16_t
306
- Vector<int16_t , 2 >::getLength() const ;
307
-
308
- template <>
309
- int32_t
310
- Vector<int16_t , 2 >::getLengthSquared() const ;
311
304
312
305
template <>
313
306
int32_t
You can’t perform that action at this time.
0 commit comments