new coord stuff from 09
This commit is contained in:
@@ -41,8 +41,16 @@ auto CCW(Coord) -> Coord;
|
||||
|
||||
auto Turn180(Coord) -> Coord;
|
||||
|
||||
/// @brief Computes the "1 norm" of a coordinate as a vector
|
||||
/// @param vector
|
||||
/// @return Sum of magnitudes of components
|
||||
auto Norm1(Coord) -> std::int64_t;
|
||||
|
||||
/// @brief Computes the "infinity norm" of a coordinate as a vector
|
||||
/// @param vector
|
||||
/// @return Magnitude of the largest component
|
||||
auto NormInf(Coord) -> std::int64_t;
|
||||
|
||||
/// Add two coordinates pairwise
|
||||
auto operator+(Coord, Coord) -> Coord;
|
||||
|
||||
|
Reference in New Issue
Block a user