Double3
Double3
Section titled “Double3”#include <custom_types.hh>struct Double3Defined in src/lib/ncarray/custom_types.hh:683
A 3-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 |
Double3 |
function |
Declared here |
Double3 |
function |
Declared here |
Double3 |
function |
Declared here |
Double3 |
function |
Declared here |
Double3 |
function |
Declared here |
Double3 |
function |
Declared here |
operator bool |
function |
Declared here |
Public Attributes
Section titled “Public Attributes”| Return | Name | Description |
|---|---|---|
double |
x |
|
double |
y |
|
double |
z |
double x { 0.0 }Defined in src/lib/ncarray/custom_types.hh:684
double y { 0.0 }Defined in src/lib/ncarray/custom_types.hh:685
double z { 0.0 }Defined in src/lib/ncarray/custom_types.hh:686
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
constexpr |
Double3 constexpr |
Defaulted member function. |
constexpr |
Double3 constexpr |
Defaulted member function. |
constexpr |
Double3 constexpr |
Defaulted member function. |
NCA_HD constexpr |
Double3 inline constexpr |
|
NCA_HD constexpr |
Double3 inline constexpr |
|
NCA_HD constexpr |
Double3 inline constexpr requires (!is_same_v<decay_t<U>, Double3>) |
|
NCA_HD |
operator bool const inline explicit |
Double3
Section titled “Double3”constexpr
constexpr constexpr Double3() = defaultDefined in src/lib/ncarray/custom_types.hh:688
Defaulted member function.
Double3
Section titled “Double3”constexpr
constexpr constexpr Double3(const Double3 &) = defaultDefined in src/lib/ncarray/custom_types.hh:689
Defaulted member function.
Double3
Section titled “Double3”constexpr
constexpr constexpr Double3(Double3 &&) = defaultDefined in src/lib/ncarray/custom_types.hh:690
Defaulted member function.
Double3
Section titled “Double3”inline constexpr
constexpr inline NCA_HD constexpr Double3(double x_, double y_, double z_)Defined in src/lib/ncarray/custom_types.hh:694
Double3
Section titled “Double3”inline constexpr
template<Numeric U> constexpr inline NCA_HD constexpr Double3(U s)Defined in src/lib/ncarray/custom_types.hh:702
Double3
Section titled “Double3”inline constexpr requires (!is_same_v<decay_t<U>, Double3>)
template<Vector2DType U> constexpr inline NCA_HD constexpr Double3(const U & other) requires (!is_same_v<decay_t<U>, Double3>)Defined in src/lib/ncarray/custom_types.hh:711
operator bool
Section titled “operator bool”const inline explicit
inline explicit NCA_HD operator bool() constDefined in src/lib/ncarray/custom_types.hh:720