MGIS 3.1.0
Loading...
Searching...
No Matches
mgis::function::BasicLinearSpace Struct Reference

the simplest implementation of a linear space More...

#include </home/runner/work/MFrontGenericInterfaceSupport/MFrontGenericInterfaceSupport/include/MGIS/Function/BasicLinearSpace.hxx>

Public Member Functions

constexpr BasicLinearSpace (const size_type s) MGIS_NOEXCEPT
 constructor
constexpr BasicLinearSpace (BasicLinearSpace &&) noexcept
 move constructor
constexpr BasicLinearSpace (const BasicLinearSpace &) MGIS_NOEXCEPT
 copy constructor
constexpr size_type size () const MGIS_NOEXCEPT
constexpr ~BasicLinearSpace () noexcept
 destructor

Detailed Description

the simplest implementation of a linear space

The elements of such a space are addressed by an index varying from 0 to getSpaceSize(s) - 1.

Constructor & Destructor Documentation

◆ BasicLinearSpace()

mgis::function::BasicLinearSpace::BasicLinearSpace ( const size_type s)
constexpr

constructor

Parameters
[in]ssize of the space

Member Function Documentation

◆ size()

size_type mgis::function::BasicLinearSpace::size ( ) const
nodiscardconstexpr
Returns
the size of the space, i.e. the number of elements it contains

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