FunctionND< _str, _val > Struct Template Reference#

DiFfRG: DiFfRG::FunctionND< _str, _val > Struct Template Reference
DiFfRG
DiFfRG::FunctionND< _str, _val > Struct Template Reference

A class to describe a function with a compile-time name and a fixed number of dimensions. More...

#include <component_descriptor.hh>

Static Public Attributes

static constexpr FixedString name = _str
 
static constexpr size_t size = (_val * ...)
 
static constexpr size_t dim = sizeof...(_val)
 
static constexpr std::array< size_t, dimnd_sizes {{_val...}}
 

Detailed Description

template<FixedString _str, size_t... _val>
struct DiFfRG::FunctionND< _str, _val >

A class to describe a function with a compile-time name and a fixed number of dimensions.

Template Parameters
_strThe name of the function.
_valThe dimensions of the function.

Member Data Documentation

◆ dim

template<FixedString _str, size_t... _val>
size_t DiFfRG::FunctionND< _str, _val >::dim = sizeof...(_val)
staticconstexpr

◆ name

template<FixedString _str, size_t... _val>
FixedString DiFfRG::FunctionND< _str, _val >::name = _str
staticconstexpr

◆ nd_sizes

template<FixedString _str, size_t... _val>
std::array<size_t, dim> DiFfRG::FunctionND< _str, _val >::nd_sizes {{_val...}}
staticconstexpr

◆ size

template<FixedString _str, size_t... _val>
size_t DiFfRG::FunctionND< _str, _val >::size = (_val * ...)
staticconstexpr

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