|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
2D halfspace a·x + b·y ≤ c, entries as NTTPs. More...
Public Types | |
| using | scalar_type = T |
Static Public Attributes | |
| static constexpr T | coeff_x = a |
| static constexpr T | coeff_y = b |
| static constexpr T | bound = c |
2D halfspace a·x + b·y ≤ c, entries as NTTPs.
Convention: constraints are in ≤-normal form. For ≥ constraints, negate coefficients and bound: x ≥ 0 becomes Halfspace2D<T, -1, 0, 0>.