MGIS
Loading...
Searching...
No Matches
FixedSizeView.ixx File Reference
#include "MGIS/Raise.hxx"

Namespaces

namespace  mgis
 the namespace mgis encloses all the MGIS project.
 

Functions

template<size_type N, typename FunctionType >
requires ( (N > 0) && (N != dynamic_extent) && // (FunctionConcept<std::decay_t<FunctionType>>)&& // (!std::is_rvalue_reference_v<FunctionType>))
constexpr auto mgis::function::view (FunctionType &)
 convert a function to a immutable view
 
template<FunctionConcept FunctionType, size_type N>
constexpr decltype(automgis::function::getSpace (const FixedSizeView< FunctionType, N > &)
 
template<FunctionConcept FunctionType, size_type N>
constexpr bool mgis::function::check (AbstractErrorHandler &, const FixedSizeView< FunctionType, N > &)
 perform consistency checks
 
template<FunctionConcept FunctionType, size_type N>
constexpr mgis::size_type mgis::function::getNumberOfComponents (const FixedSizeView< FunctionType, N > &v) noexcept
 

Detailed Description

Author
th202608
Date
07/05/2025

Function Documentation

◆ getNumberOfComponents()

template<FunctionConcept FunctionType, size_type N>
constexpr mgis::size_type mgis::function::getNumberOfComponents ( const FixedSizeView< FunctionType, N > &  v)
constexprnoexcept
Returns
the number of components

◆ view()

template<size_type N, typename FunctionType >
requires ( (N > 0) && (N != dynamic_extent) && // (FunctionConcept<std::decay_t<FunctionType>>)&& // (!std::is_rvalue_reference_v<FunctionType>))
constexpr auto mgis::function::view ( FunctionType f)
constexpr

convert a function to a immutable view

Parameters
[in]ffunction