|
| | AgeGenderTable ()=default |
| | Initialises a new instance of the AgeGenderTable class.
|
| | AgeGenderTable (const MonotonicVector< int > &rows, const std::vector< core::Gender > &cols, core::Array2D< TYPE > &&values) |
| | Initialises a new instance of the AgeGenderTable class.
|
| | GenderTable ()=default |
| | Initialises a new instance of the GenderTable class.
|
| std::size_t | size () const noexcept |
| | Gets the lookup table size.
|
| std::size_t | rows () const noexcept |
| | Get the number of rows lookup breakpoints.
|
| std::size_t | columns () const noexcept |
| | Get the number of columns lookup breakpoints.
|
| bool | empty () const noexcept |
| | Determine whether the lookup table is empty.
|
| TYPE & | at (const ROW row, const core::Gender gender) |
| | Gets a value at a given row and column intersection.
|
| TYPE & | operator() (const ROW row, const core::Gender gender) |
| | Gets a value at a given row and column intersection.
|
| bool | contains (const ROW row) const noexcept |
| | Determines whether the lookup contains a row.
|
template<core::Numerical TYPE>
class hgps::AgeGenderTable< TYPE >
Defines the age and gender lookup table data type.
- Template Parameters
-