Double4
Double4
Section titled “Double4”#include <custom_types.hh>struct Double4Defined in src/lib/ncarray/custom_types.hh:739
A 4-double (double precision) vector data type.
List of all members
Section titled “List of all members”| Name | Kind | Owner |
|---|---|---|
x |
variable |
Declared here |
y |
variable |
Declared here |
z |
variable |
Declared here |
w |
variable |
Declared here |
Double4 |
function |
Declared here |
Double4 |
function |
Declared here |
Double4 |
function |
Declared here |
Double4 |
function |
Declared here |
Double4 |
function |
Declared here |
Double4 |
function |
Declared here |
operator bool |
function |
Declared here |
Public Attributes
Section titled “Public Attributes”| Return | Name | Description |
|---|---|---|
double |
x |
|
double |
y |
|
double |
z |
|
double |
w |
double x { 0.0 }Defined in src/lib/ncarray/custom_types.hh:740
double y { 0.0 }Defined in src/lib/ncarray/custom_types.hh:741
double z { 0.0 }Defined in src/lib/ncarray/custom_types.hh:742
double w { 0.0 }Defined in src/lib/ncarray/custom_types.hh:743
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
constexpr |
Double4 constexpr |
Defaulted member function. |
constexpr |
Double4 constexpr |
Defaulted member function. |
constexpr |
Double4 constexpr |
Defaulted member function. |
NCA_HD constexpr |
Double4 inline constexpr |
|
NCA_HD constexpr |
Double4 inline constexpr |
|
NCA_HD constexpr |
Double4 inline constexpr requires (!is_same_v<decay_t<U>, Double4>) |
|
NCA_HD |
operator bool const inline explicit |
Double4
Section titled “Double4”constexpr
constexpr constexpr Double4() = defaultDefined in src/lib/ncarray/custom_types.hh:745
Defaulted member function.
Double4
Section titled “Double4”constexpr
constexpr constexpr Double4(const Double4 &) = defaultDefined in src/lib/ncarray/custom_types.hh:746
Defaulted member function.
Double4
Section titled “Double4”constexpr
constexpr constexpr Double4(Double4 &&) = defaultDefined in src/lib/ncarray/custom_types.hh:747
Defaulted member function.
Double4
Section titled “Double4”inline constexpr
constexpr inline NCA_HD constexpr Double4(double x_, double y_, double z_, double w_)Defined in src/lib/ncarray/custom_types.hh:751
Double4
Section titled “Double4”inline constexpr
template<Numeric U> constexpr inline NCA_HD constexpr Double4(U s)Defined in src/lib/ncarray/custom_types.hh:760
Double4
Section titled “Double4”inline constexpr requires (!is_same_v<decay_t<U>, Double4>)
template<Vector2DType U> constexpr inline NCA_HD constexpr Double4(const U & other) requires (!is_same_v<decay_t<U>, Double4>)Defined in src/lib/ncarray/custom_types.hh:770
operator bool
Section titled “operator bool”const inline explicit
inline explicit NCA_HD operator bool() constDefined in src/lib/ncarray/custom_types.hh:782