LeviLamina
Loading...
Searching...
No Matches
ll::math::VectorBase< T, Components > Struct Template Reference
+ Inheritance diagram for ll::math::VectorBase< T, Components >:

Public Types

using first_type = typename ll::traits::max_type<Components...>::type
 
using size_type = size_t
 

Public Member Functions

constexpr std::string toString () const noexcept
 
constexpr bool operator== (T const &b) const noexcept
 
constexpr bool operator!= (T const &b) const noexcept
 
constexpr first_type & operator[] (size_t index) noexcept
 
constexpr first_type const & operator[] (size_t index) const noexcept
 
constexpr size_t hash () const noexcept
 
template<ll::concepts::IsVectorBase V>
requires (V::size() == size() && std::convertible_to<T, V>)
constexpr V as () const noexcept
 
constexpr class boolN< sizeof...(Components)> eq (T const &b) const noexcept
 
constexpr class boolN< sizeof...(Components)> ne (T const &b) const noexcept
 

Static Public Member Functions

static consteval size_t size () noexcept
 
template<typename F >
static constexpr void forEachComponent (F &&func) noexcept
 

The documentation for this struct was generated from the following file: