algebra/include/nil/crypto3/algebra/scalar/math.hpp File Reference
+ Include dependency graph for algebra/include/nil/crypto3/algebra/scalar/math.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 nil
 
 nil::crypto3
 
 nil::crypto3::algebra
 

Functions

template<typename T >
constexpr nil::crypto3::detail::remove_complex_t< T > nil::crypto3::algebra::abs (T x)
 computes the absolute value More...
 
template<typename T >
constexpr T nil::crypto3::algebra::conj (T x)
 computes the complex conjugate More...
 
constexpr double nil::crypto3::algebra::exponentiate (double x, int n)
 computes exponents More...
 
constexpr double nil::crypto3::algebra::nthroot (double x, int n)
 computes the $n$th root More...
 
constexpr double nil::crypto3::algebra::sqrt (double x)
 computes the square root More...
 
constexpr float nil::crypto3::algebra::sqrt (float x)
 computes the square root More...