Expand description
An algorithm library based on C/C++
§Installation
Add this to your Cargo.toml
:
[dependencies]
liba = "0.1"
Modules§
- fuzzy PID controller operator
- membership function
Macros§
- compute size of memory block for fuzzy PID controller
Structs§
- Cyclic Redundancy Check for 8 bits
- Cyclic Redundancy Check for 16 bits
- Cyclic Redundancy Check for 32 bits
- Cyclic Redundancy Check for 64 bits
- High Pass Filter
- Low Pass Filter
- proportional integral derivative controller
- fuzzy proportional integral derivative controller
- single neuron proportional integral derivative controller
- transfer function
- bell-shaped velocity trajectory
- cubic polynomial trajectory
- quintic polynomial trajectory
- hepta polynomial trajectory
- trapezoidal velocity trajectory
- version
Functions§
- reciprocal of square-root,
\frac{1}{\sqrt{x}}
- reciprocal of square-root,
\frac{1}{\sqrt{x}}
- a hash function whose prime number is 131
- a hash function whose prime number is 65599
- square root of an unsigned integer
- square root of an unsigned integer
Type Aliases§
- floating-point number stored using
f64
- Equivalent to C’s int type.
- Equivalent to C’s unsigned int type.