Skip to content

Double4

#include <custom_types.hh>
struct Double4

Defined in src/lib/ncarray/custom_types.hh:739

A 4-double (double precision) vector data type.

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
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

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

constexpr

constexpr constexpr Double4() = default

Defined in src/lib/ncarray/custom_types.hh:745

Defaulted member function.


constexpr

constexpr constexpr Double4(const Double4 &) = default

Defined in src/lib/ncarray/custom_types.hh:746

Defaulted member function.


constexpr

constexpr constexpr Double4(Double4 &&) = default

Defined in src/lib/ncarray/custom_types.hh:747

Defaulted member function.


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


inline constexpr

template<Numeric U> constexpr inline NCA_HD constexpr Double4(U s)

Defined in src/lib/ncarray/custom_types.hh:760


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


const inline explicit

inline explicit NCA_HD operator bool() const

Defined in src/lib/ncarray/custom_types.hh:782