Float4
Float4
Section titled “Float4”#include <custom_types.hh>struct Float4Defined in src/lib/ncarray/custom_types.hh:574
A 4-float (single 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 |
Float4 |
function |
Declared here |
Float4 |
function |
Declared here |
Float4 |
function |
Declared here |
Float4 |
function |
Declared here |
Float4 |
function |
Declared here |
Float4 |
function |
Declared here |
operator bool |
function |
Declared here |
Public Attributes
Section titled “Public Attributes”| Return | Name | Description |
|---|---|---|
float |
x |
|
float |
y |
|
float |
z |
|
float |
w |
float x { 0.0f }Defined in src/lib/ncarray/custom_types.hh:575
float y { 0.0f }Defined in src/lib/ncarray/custom_types.hh:576
float z { 0.0f }Defined in src/lib/ncarray/custom_types.hh:577
float w { 0.0f }Defined in src/lib/ncarray/custom_types.hh:578
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
constexpr |
Float4 constexpr |
Defaulted member function. |
constexpr |
Float4 constexpr |
Defaulted member function. |
constexpr |
Float4 constexpr |
Defaulted member function. |
NCA_HD constexpr |
Float4 inline constexpr |
|
NCA_HD constexpr |
Float4 inline constexpr |
|
NCA_HD constexpr |
Float4 inline constexpr requires (!is_same_v<decay_t<U>, Float4>) |
|
NCA_HD |
operator bool const inline explicit |
Float4
Section titled “Float4”constexpr
constexpr constexpr Float4() = defaultDefined in src/lib/ncarray/custom_types.hh:580
Defaulted member function.
Float4
Section titled “Float4”constexpr
constexpr constexpr Float4(const Float4 &) = defaultDefined in src/lib/ncarray/custom_types.hh:581
Defaulted member function.
Float4
Section titled “Float4”constexpr
constexpr constexpr Float4(Float4 &&) = defaultDefined in src/lib/ncarray/custom_types.hh:582
Defaulted member function.
Float4
Section titled “Float4”inline constexpr
constexpr inline NCA_HD constexpr Float4(float x_, float y_, float z_, float w_)Defined in src/lib/ncarray/custom_types.hh:586
Float4
Section titled “Float4”inline constexpr
template<Numeric U> constexpr inline NCA_HD constexpr Float4(U s)Defined in src/lib/ncarray/custom_types.hh:595
Float4
Section titled “Float4”inline constexpr requires (!is_same_v<decay_t<U>, Float4>)
template<Vector2DType U> constexpr inline NCA_HD constexpr Float4(const U & other) requires (!is_same_v<decay_t<U>, Float4>)Defined in src/lib/ncarray/custom_types.hh:605
operator bool
Section titled “operator bool”const inline explicit
inline explicit NCA_HD operator bool() constDefined in src/lib/ncarray/custom_types.hh:617