Skip to content

mp_units::utility::operator==

Equality operators

Synopses

Declared in <mp-units/utility/cartesian_tensor.h>

Return true if two Cauchy distributions have the same parameters.

bool operator==(cauchy_distribution const& __d1, cauchy_distribution const& __d2);

» more...

Return true if two Weibull distributions have the same parameters.

bool operator==(weibull_distribution const& __d1, weibull_distribution const& __d2);

» more...

Return true if two Weibull distributions have the same parameters.

bool operator==(weibull_distribution const& __d1, weibull_distribution const& __d2);

» more...

Return true if two extreme value distributions have the same parameters.

bool operator==(extreme_value_distribution const& __d1, extreme_value_distribution const& __d2);

» more...

Return true if two extreme value distributions have the same parameters.

bool operator==(extreme_value_distribution const& __d1, extreme_value_distribution const& __d2);

» more...

Return true if two normal distributions have the same parameters and the sequences that would be generated are equal.

template<typename _RealType1>
bool operator==(normal_distribution const& __d1, normal_distribution const& __d2);

» more...

Return true if two normal distributions have the same parameters and the sequences that would be generated are equal.

template<typename _RealType1>
bool operator==(normal_distribution const& __d1, normal_distribution const& __d2);

» more...

Return true if two lognormal distributions have the same parameters and the sequences that would be generated are equal.

bool operator==(lognormal_distribution const& __d1, lognormal_distribution const& __d2);

» more...

Return true if two lognormal distributions have the same parameters and the sequences that would be generated are equal.

bool operator==(lognormal_distribution const& __d1, lognormal_distribution const& __d2);

» more...

Return true if two Chi-squared distributions have the same parameters and the sequences that would be generated are equal.

bool operator==(chi_squared_distribution const& __d1, chi_squared_distribution const& __d2);

» more...

Return true if two Chi-squared distributions have the same parameters and the sequences that would be generated are equal.

bool operator==(chi_squared_distribution const& __d1, chi_squared_distribution const& __d2);

» more...

Return true if two Cauchy distributions have the same parameters.

bool operator==(cauchy_distribution const& __d1, cauchy_distribution const& __d2);

» more...

Return true if two gamma distributions have the same parameters and the sequences that would be generated are equal.

bool operator==(gamma_distribution const& __d1, gamma_distribution const& __d2);

» more...

Return true if two Fisher f distributions have the same parameters and the sequences that would be generated are equal.

bool operator==(fisher_f_distribution const& __d1, fisher_f_distribution const& __d2);

» more...

Return true if two Fisher f distributions have the same parameters and the sequences that would be generated are equal.

bool operator==(fisher_f_distribution const& __d1, fisher_f_distribution const& __d2);

» more...

Return true if two Student t distributions have the same parameters and the sequences that would be generated are equal.

bool operator==(student_t_distribution const& __d1, student_t_distribution const& __d2);

» more...

Return true if two Student t distributions have the same parameters and the sequences that would be generated are equal.

bool operator==(student_t_distribution const& __d1, student_t_distribution const& __d2);

» more...

Return true if two discrete distributions have the same parameters.

bool operator==(discrete_distribution const& __d1, discrete_distribution const& __d2);

» more...

Return true if two discrete distributions have the same parameters.

bool operator==(discrete_distribution const& __d1, discrete_distribution const& __d2);

» more...

Return true if two piecewise constant distributions have the same parameters.

bool operator==(piecewise_constant_distribution const& __d1, piecewise_constant_distribution const& __d2);

» more...

Return true if two piecewise constant distributions have the same parameters.

bool operator==(piecewise_constant_distribution const& __d1, piecewise_constant_distribution const& __d2);

» more...

Return true if two piecewise linear distributions have the same parameters.

bool operator==(piecewise_linear_distribution const& __d1, piecewise_linear_distribution const& __d2);

» more...

Return true if two piecewise linear distributions have the same parameters.

bool operator==(piecewise_linear_distribution const& __d1, piecewise_linear_distribution const& __d2);

» more...

Return true if two binomial distributions have the same parameters and the sequences that would be generated are equal.

bool operator==(binomial_distribution const& __d1, binomial_distribution const& __d2);

» more...

Equality operator

template<typename U>
  requires treat_as_floating_point<U>
[[nodiscard]] constexpr bool operator==(safe_int lhs, U rhs);

» more...

Equality operator

template<typename U>
  requires detail::integral<U>
[[nodiscard]] constexpr bool operator==(safe_int lhs, U rhs);

» more...

Equality operator

[[nodiscard]] constexpr bool operator==(safe_int lhs, safe_int rhs) noexcept;

» more...

Equality operator

[[nodiscard]] constexpr bool operator==(polar_vector const& lhs, polar_vector const& rhs) = default;

» more...

Equality operator

[[nodiscard]] constexpr bool operator==(spherical_vector const& lhs, spherical_vector const& rhs) = default;

» more...

Equality operator

template<typename T, std::size_t N, std::equality_comparable_with<T> U>
[[nodiscard]] constexpr bool operator==(cartesian_tensor<T, N> const& lhs, cartesian_tensor<U, N> const& rhs);

» more...

Equality operator

template<typename T, std::size_t N, std::equality_comparable_with<T> U>
[[nodiscard]] constexpr bool operator==(cartesian_vector<T, N> const& lhs, cartesian_vector<U, N> const& rhs);

» more...

Return true if two uniform integer distributions have the same parameters.

bool operator==(uniform_int_distribution const& __d1, uniform_int_distribution const& __d2);

» more...

Return true if two uniform integer distributions have the same parameters.

bool operator==(uniform_int_distribution const& __d1, uniform_int_distribution const& __d2);

» more...

Return true if two uniform real distributions have the same parameters.

bool operator==(uniform_real_distribution const& __d1, uniform_real_distribution const& __d2);

» more...

Return true if two uniform real distributions have the same parameters.

bool operator==(uniform_real_distribution const& __d1, uniform_real_distribution const& __d2);

» more...

Equality operator

template<typename U, typename CP>
[[nodiscard]] constexpr bool operator==(safe_int lhs, constrained<U, CP> const& rhs);

» more...

Return true if two binomial distributions have the same parameters and the sequences that would be generated are equal.

bool operator==(binomial_distribution const& __d1, binomial_distribution const& __d2);

» more...

Return true if two negative binomial distributions have the same parameters and the sequences that would be generated are equal.

bool operator==(negative_binomial_distribution const& __d1, negative_binomial_distribution const& __d2);

» more...

Return true if two negative binomial distributions have the same parameters and the sequences that would be generated are equal.

bool operator==(negative_binomial_distribution const& __d1, negative_binomial_distribution const& __d2);

» more...

Return true if two geometric distributions have the same parameters.

bool operator==(geometric_distribution const& __d1, geometric_distribution const& __d2);

» more...

Return true if two geometric distributions have the same parameters.

bool operator==(geometric_distribution const& __d1, geometric_distribution const& __d2);

» more...

Return true if two Poisson distributions have the same parameters and the sequences that would be generated are equal.

bool operator==(poisson_distribution const& __d1, poisson_distribution const& __d2);

» more...

Return true if two Poisson distributions have the same parameters and the sequences that would be generated are equal.

bool operator==(poisson_distribution const& __d1, poisson_distribution const& __d2);

» more...

Return true if two exponential distributions have the same parameters.

bool operator==(exponential_distribution const& __d1, exponential_distribution const& __d2);

» more...

Return true if two exponential distributions have the same parameters.

bool operator==(exponential_distribution const& __d1, exponential_distribution const& __d2);

» more...

Return true if two gamma distributions have the same parameters and the sequences that would be generated are equal.

bool operator==(gamma_distribution const& __d1, gamma_distribution const& __d2);

» more...