Skip to content

Float4

#include <custom_types.hh>
struct Float4

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

A 4-float (single precision) vector data type.

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

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

constexpr

constexpr constexpr Float4() = default

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

Defaulted member function.


constexpr

constexpr constexpr Float4(const Float4 &) = default

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

Defaulted member function.


constexpr

constexpr constexpr Float4(Float4 &&) = default

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

Defaulted member function.


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


inline constexpr

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

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


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


const inline explicit

inline explicit NCA_HD operator bool() const

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