algebra/include/nil/crypto3/algebra/scalar/math.hpp
Go to the documentation of this file.
constexpr matrix< T, M, N > conj(const matrix< T, M, N > &m)
computes the elementwise complex conjugate
Definition: algebra/include/nil/crypto3/algebra/matrix/math.hpp:57
constexpr nil::crypto3::detail::remove_complex_t< T > abs(T x)
computes the absolute value
Definition: algebra/include/nil/crypto3/algebra/scalar/math.hpp:76
constexpr double exponentiate(double x, int n)
computes exponents
Definition: algebra/include/nil/crypto3/algebra/scalar/math.hpp:91
constexpr double nthroot(double x, int n)
computes the th root
Definition: algebra/include/nil/crypto3/algebra/scalar/math.hpp:118
constexpr double sqrt(double x)
computes the square root
Definition: algebra/include/nil/crypto3/algebra/scalar/math.hpp:47
typename remove_complex< T >::type remove_complex_t
Definition: hash/include/nil/crypto3/detail/type_traits.hpp:404
Definition: pair.hpp:31