Basic scalar implementation template. More...
#include <eagine/math/scalar.hpp>
Public Types | |
using | value_type = T |
The scalar element type. | |
using | is_vectorized = vect::has_vect_data_t< T, N, V > |
Indicates if the implementation uses SIMD extensions. | |
Public Member Functions | |
constexpr | operator T () const noexcept |
Implicit cast to the value type. | |
auto | operator= (T v) noexcept -> scalar & |
Assignment from the value type. | |
Static Public Member Functions | |
static constexpr auto | make (T v) noexcept |
Creates a scalar with the specified value. | |
Basic scalar implementation template.