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

Public Types

using first_type = typename VectorBase<T, Components...>::first_type
 
using size_type
 

Public Member Functions

constexpr T & operator+= (T const &b) noexcept
 
constexpr T & operator-= (T const &b) noexcept
 
constexpr T operator+ (T const &b) const noexcept
 
constexpr T operator- (T const &b) const noexcept
 
template<std::convertible_to< first_type > V>
constexpr T & operator+= (V const &b) noexcept
 
template<std::convertible_to< first_type > V>
constexpr T & operator-= (V const &b) noexcept
 
template<std::convertible_to< first_type > V>
constexpr T operator+ (V const &b) const noexcept
 
template<std::convertible_to< first_type > V>
constexpr T operator- (V const &b) const noexcept
 
constexpr T add (T const &b) const noexcept
 
constexpr T sub (T const &b) const noexcept
 
template<std::convertible_to< first_type > V>
constexpr T add (V const &b) const noexcept
 
template<std::convertible_to< first_type > V>
constexpr T sub (V const &b) const noexcept
 
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
 
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
 
static constexpr void forEachComponent (F &&func) noexcept
 

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