Go to the source code of this file.
|
| template<Config Conf> |
| auto | project (const auto &v, const Box< Conf > &box) |
| | Project a vector onto a box.
|
| |
| template<Config Conf> |
| auto | projecting_difference (const auto &v, const Box< Conf > &box) |
| | Get the difference between the given vector and its projection.
|
| |
| template<Config Conf> |
| auto | dist_squared (const auto &v, const Box< Conf > &box) |
| | Get the distance squared between the given vector and its projection.
|
| |
| template<Config Conf> |
| auto | dist_squared (const auto &v, const Box< Conf > &box, const auto &Σ) -> real_t< Conf > |
| | Get the distance squared between the given vector and its projection in the Σ norm.
|
| |