Skip to content

Struct linalg::vec< T, 1 >

template <class T>

ClassList > linalg > vec< T, 1 >

Public Attributes

Type Name
T x

Public Functions

Type Name
constexpr operator U () const
constexpr const T & operator[] (int) const
LINALG_CONSTEXPR14 T & operator[] (int)
constexpr vec ()
constexpr vec (const T & x_)
constexpr vec (const vec< U, 1 > & v)
constexpr vec (const U & u)

Public Attributes Documentation

variable x

T linalg::vec< T, 1 >::x;

Public Functions Documentation

function operator U

template<class U, class>
inline constexpr linalg::vec< T, 1 >::operator U () const

function operator[]

inline constexpr const T & linalg::vec< T, 1 >::operator[] (
    int
) const

function operator[]

inline LINALG_CONSTEXPR14 T & linalg::vec< T, 1 >::operator[] (
    int
) 

function vec [1/4]

inline constexpr linalg::vec< T, 1 >::vec () 

function vec [2/4]

inline constexpr linalg::vec< T, 1 >::vec (
    const T & x_
) 

function vec [3/4]

template<class U>
inline explicit constexpr linalg::vec< T, 1 >::vec (
    const vec< U, 1 > & v
) 

function vec [4/4]

template<class U, class>
inline constexpr linalg::vec< T, 1 >::vec (
    const U & u
) 


The documentation for this class was generated from the following file common/linalg.hpp