gemmi/math.hpp file

Contents

Namespaces

namespace gemmi

Classes

struct gemmi::Vec3
struct gemmi::Mat33
template<typename T>
struct gemmi::SMat33
struct gemmi::Transform
struct gemmi::BoundingBox
struct gemmi::Variance
struct gemmi::Covariance
struct gemmi::Correlation
struct gemmi::DataStats

Functions

auto pi() -> double constexpr
auto hc() -> double constexpr
auto deg(double angle) -> double constexpr
auto rad(double angle) -> double constexpr
auto sq(float x) -> float constexpr
auto sq(double x) -> double constexpr
auto iround(double d) -> int
auto operator*(double d, const Vec3& v) -> Vec3
template<typename T>
auto calculate_data_statistics(const std::vector<T>& data) -> DataStats