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

Public Types

using first_type = Field<T, Components...>::first_type
 
using size_type
 

Public Member Functions

constexpr T cross (T const &b) const noexcept
 
constexpr std::array< T, Field::size() *2 > getNeighbors () const noexcept
 
constexpr T & operator*= (T const &b) noexcept
 
constexpr T & operator*= (V const &b) noexcept
 
constexpr T & operator/= (T const &b) noexcept
 
constexpr T & operator/= (V const &b) noexcept
 
constexpr T operator* (T const &b) const noexcept
 
constexpr T operator* (V const &b) const noexcept
 
constexpr T operator/ (T const &b) const noexcept
 
constexpr T operator/ (V const &b) const noexcept
 
constexpr T mul (T const &b) const noexcept
 
constexpr T mul (V const &b) const noexcept
 
constexpr T div (T const &b) const noexcept
 
constexpr T div (V const &b) const noexcept
 
constexpr double dot (T const &b) const noexcept
 
constexpr double dot (V const &b) const noexcept
 
constexpr double lengthSqr () const noexcept
 
constexpr double length () const noexcept
 
constexpr double distanceTo (T const &b) const noexcept
 
constexpr double distanceToSqr (T const &b) const noexcept
 
constexpr bool operator< (T const &b) const noexcept
 
constexpr bool operator> (T const &b) const noexcept
 
constexpr bool operator<= (T const &b) const noexcept
 
constexpr bool operator>= (T const &b) const noexcept
 
constexpr class boolN< sizeof...(Components)> lt (T const &b) const noexcept
 
constexpr class boolN< sizeof...(Components)> le (T const &b) const noexcept
 
constexpr class boolN< sizeof...(Components)> gt (T const &b) const noexcept
 
constexpr class boolN< sizeof...(Components)> ge (T const &b) const noexcept
 
constexpr T & operator+= (T const &b) noexcept
 
constexpr T & operator+= (V const &b) noexcept
 
constexpr T & operator-= (T const &b) noexcept
 
constexpr T & operator-= (V const &b) noexcept
 
constexpr T operator+ (T const &b) const noexcept
 
constexpr T operator+ (V const &b) const noexcept
 
constexpr T operator- (T const &b) const noexcept
 
constexpr T operator- (V const &b) const noexcept
 
constexpr T add (T const &b) const noexcept
 
constexpr T add (V const &b) const noexcept
 
constexpr T sub (T const &b) const noexcept
 
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 class was generated from the following file: