MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::vec::fixed::dimension< N > Struct Template Reference

Compile-time fixed vector dimension. More...

#include <dimension.hpp>

Public Member Functions

constexpr std::size_t size () const

Static Public Attributes

static constexpr std::size_t value = N
static constexpr bool is_fixed = true

Detailed Description

template<std::size_t N>
struct mtl::vec::fixed::dimension< N >

Compile-time fixed vector dimension.

Member Function Documentation

◆ size()

template<std::size_t N>
std::size_t mtl::vec::fixed::dimension< N >::size ( ) const
inlineconstexpr

Member Data Documentation

◆ is_fixed

template<std::size_t N>
bool mtl::vec::fixed::dimension< N >::is_fixed = true
staticconstexpr

◆ value

template<std::size_t N>
std::size_t mtl::vec::fixed::dimension< N >::value = N
staticconstexpr

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