diff --git a/docs/html/FixMathMapper_8h_source.html b/docs/html/FixMathMapper_8h_source.html new file mode 100644 index 0000000..288e4da --- /dev/null +++ b/docs/html/FixMathMapper_8h_source.html @@ -0,0 +1,229 @@ + + +
+ + + + +|
+ FixMath
+
+ |
+

Go to the source code of this file.
| ▼NFixMathPrivate | |
| CBitCounter | |
| CBitCounter< value, 0 > | |
| CIntegerType | |
| CIntegerType< 1 > | |
| CIntegerType< 2 > | |
| CIntegerType< 4 > | |
| CIntegerType< 8 > | |
| CSFix | |
| CUFix | |
| CFixMathMapperAccurate | |
| CFixMathMapperFast | |
| CFixMathMapperFull | |
| CIntegerType | |
| CIntegerType< 1 > | |
| CIntegerType< 2 > | |
| CIntegerType< 4 > | |
| CIntegerType< 8 > | |
| CSFix | |
| CUFix |
|
+ FixMath
+
+ |
+
This is the complete list of members for FixMathMapperAccurate< in_type, out_type >, including all inherited members.
+| FixMathMapperAccurate() | FixMathMapperAccurate< in_type, out_type > | inline |
| FixMathMapperAccurate(in_type _in_min, in_type _in_max, out_type _out_min, out_type _out_max) | FixMathMapperAccurate< in_type, out_type > | inline |
| map(in_type in) const | FixMathMapperAccurate< in_type, out_type > | inline |
| setBounds(in_type _in_min, in_type _in_max, out_type _out_min, out_type _out_max) | FixMathMapperAccurate< in_type, out_type > | inline |
|
+ FixMath
+
+ |
+
#include <FixMathMapper.h>
+Public Member Functions | |
| FixMathMapperAccurate () | |
| FixMathMapperAccurate (in_type _in_min, in_type _in_max, out_type _out_min, out_type _out_max) | |
| void | setBounds (in_type _in_min, in_type _in_max, out_type _out_min, out_type _out_max) |
| out_type | map (in_type in) const |
A mapper, intended to work as Arduino's map, but faster as division is involved only when setBounds() is called, as custom-made for FixMath's types. This version uses invAccurate() to perform the calculations. The nearly biggest precision available, at the cost of some speed (platform and use-case dependent)
+
+
|
+ +inline | +
Constructor
+ +
+
|
+ +inline | +
Constructor
| _in_min | the lower bound of the input |
| _in_max | the higher bound of the input |
| _out_min | the lower bound of the output |
| _out_max | the higher bound of the output |
+
|
+ +inline | +
Map an input to the output range
| in | the input |
+
|
+ +inline | +
Set the bounds of the mapper
| _in_min | the lower bound of the input |
| _in_max | the higher bound of the input |
| _out_min | the lower bound of the output |
| _out_max | the higher bound of the output |
|
+ FixMath
+
+ |
+
This is the complete list of members for FixMathMapperFast< in_type, out_type >, including all inherited members.
+| FixMathMapperFast() | FixMathMapperFast< in_type, out_type > | inline |
| FixMathMapperFast(in_type _in_min, in_type _in_max, out_type _out_min, out_type _out_max) | FixMathMapperFast< in_type, out_type > | inline |
| map(in_type in) const | FixMathMapperFast< in_type, out_type > | inline |
| setBounds(in_type _in_min, in_type _in_max, out_type _out_min, out_type _out_max) | FixMathMapperFast< in_type, out_type > | inline |
|
+ FixMath
+
+ |
+
#include <FixMathMapper.h>
+Public Member Functions | |
| FixMathMapperFast () | |
| FixMathMapperFast (in_type _in_min, in_type _in_max, out_type _out_min, out_type _out_max) | |
| void | setBounds (in_type _in_min, in_type _in_max, out_type _out_min, out_type _out_max) |
| out_type | map (in_type in) const |
A mapper, intended to work as Arduino's map, but faster as division is involved only when setBounds() is called, as custom-made for FixMath's types. This version uses invAccurate() to perform the calculations. The biggest speed available to represent the whole target range, at the cost of some precision
+
+
|
+ +inline | +
Constructor
+ +
+
|
+ +inline | +
Constructor
| _in_min | the lower bound of the input |
| _in_max | the higher bound of the input |
| _out_min | the lower bound of the output |
| _out_max | the higher bound of the output |
+
|
+ +inline | +
Map an input to the output range
| in | the input |
+
|
+ +inline | +
Set the bounds of the mapper
| _in_min | the lower bound of the input |
| _in_max | the higher bound of the input |
| _out_min | the lower bound of the output |
| _out_max | the higher bound of the output |
|
+ FixMath
+
+ |
+
This is the complete list of members for FixMathMapperFull< in_type, out_type >, including all inherited members.
+| FixMathMapperFull() | FixMathMapperFull< in_type, out_type > | inline |
| FixMathMapperFull(in_type _in_min, in_type _in_max, out_type _out_min, out_type _out_max) | FixMathMapperFull< in_type, out_type > | inline |
| map(in_type in) const | FixMathMapperFull< in_type, out_type > | inline |
| setBounds(in_type _in_min, in_type _in_max, out_type _out_min, out_type _out_max) | FixMathMapperFull< in_type, out_type > | inline |
|
+ FixMath
+
+ |
+
#include <FixMathMapper.h>
+Public Member Functions | |
| FixMathMapperFull () | |
| FixMathMapperFull (in_type _in_min, in_type _in_max, out_type _out_min, out_type _out_max) | |
| void | setBounds (in_type _in_min, in_type _in_max, out_type _out_min, out_type _out_max) |
| out_type | map (in_type in) const |
A mapper, intended to work as Arduino's map, but faster as division is involved only when setBounds() is called, as custom-made for FixMath's types. This version uses invFull() to perform the calculations. The biggest precision available, at the cost of some speed (platform and use-case dependent)
+
+
|
+ +inline | +
Constructor
+ +
+
|
+ +inline | +
Constructor
| _in_min | the lower bound of the input |
| _in_max | the higher bound of the input |
| _out_min | the lower bound of the output |
| _out_max | the higher bound of the output |
+
|
+ +inline | +
Map an input to the output range
| in | the input |
+
|
+ +inline | +
Set the bounds of the mapper
| _in_min | the lower bound of the input |
| _in_max | the higher bound of the input |
| _out_min | the lower bound of the output |
| _out_max | the higher bound of the output |
| FixMath.h | |
| FixMath_Autotests.h | |
| IntegerType.h | |
| FixMathMapper.h | |
| IntegerType.h |
|
+ FixMath
+
+ |
+
This is the complete list of members for FixMathPrivate::BitCounter< value, bits >, including all inherited members.
+| bitsNeeded() (defined in FixMathPrivate::BitCounter< value, bits >) | FixMathPrivate::BitCounter< value, bits > | inlinestatic |
|
+ FixMath
+
+ |
+
+Static Public Member Functions | |
| +static constexpr int8_t | bitsNeeded () |
|
+ FixMath
+
+ |
+
This is the complete list of members for FixMathPrivate::BitCounter< value, 0 >, including all inherited members.
+| bitsNeeded() (defined in FixMathPrivate::BitCounter< value, 0 >) | FixMathPrivate::BitCounter< value, 0 > | inlinestatic |
|
+ FixMath
+
+ |
+
+Static Public Member Functions | |
| +static constexpr int8_t | bitsNeeded () |