Specialization of the Algebra Interface for type unsigned int. More...
#include <interface.hpp>
Static Public Member Functions | |
| static unsigned int | plus (const unsigned int &a, const unsigned int &b) |
| Add the specified arguments. | |
| static unsigned int | multiply (const unsigned int &a, const unsigned int &b) |
| Multiply the specified arguments. | |
| static unsigned int | get_zero () |
| Get the additive identity element. | |
| static unsigned int | get_one () |
| Get multiplicative identity element. | |
Static Public Attributes | |
| static const bool | is_additive_assocativity = true |
| Check additive associativity of the type. | |
| static const bool | is_multiplicative_assocativity = true |
| Check multiplicative associativity of the type. | |
| static const bool | is_comutativity_addition = true |
| Check commutativity of addition. | |
| static const bool | is_comutativity_multiplication = true |
| Check commutativity of multiplication. | |
| static const bool | is_distributivity = true |
| Check distributivity. | |
Specialization of the Algebra Interface for type unsigned int.
| static unsigned int instigate::algebra::interface< unsigned int >::get_one | ( | ) | [inline, static] |
Get multiplicative identity element.
| static unsigned int instigate::algebra::interface< unsigned int >::get_zero | ( | ) | [inline, static] |
Get the additive identity element.
| static unsigned int instigate::algebra::interface< unsigned int >::multiply | ( | const unsigned int & | a, | |
| const unsigned int & | b | |||
| ) | [inline, static] |
Multiply the specified arguments.
| a | - the first multiplier | |
| b | - the second multiplier |
| static unsigned int instigate::algebra::interface< unsigned int >::plus | ( | const unsigned int & | a, | |
| const unsigned int & | b | |||
| ) | [inline, static] |
Add the specified arguments.
| a | - the first addend | |
| b | - the second addend |