Manicore
Library to implement schemes on n-dimensionnal manifolds.
Static Public Member Functions | List of all members
Manicore::ExteriorBasis< l, d > Class Template Reference

Class to handle the exterior algebra basis. More...

#include <exterior_algebra.hpp>

Static Public Member Functions

static void init () noexcept
 Initialize the exterior algebra basis. Must be called at least once before use. More...
 
static const std::array< size_t, l > & expand_basis (size_t i)
 Return the coefficient of the basis at the given index. More...
 
static const size_t index_from_tuple (const std::array< size_t, l > &tuple)
 Search the index corresponding to the given tuple. Throw if not found. More...
 

Detailed Description

template<size_t l, size_t d>
class Manicore::ExteriorBasis< l, d >

Class to handle the exterior algebra basis.

Member Function Documentation

◆ expand_basis()

template<size_t l, size_t d>
static const std::array<size_t,l>& Manicore::ExteriorBasis< l, d >::expand_basis ( size_t  i)
inlinestatic

Return the coefficient of the basis at the given index.

◆ index_from_tuple()

template<size_t l, size_t d>
static const size_t Manicore::ExteriorBasis< l, d >::index_from_tuple ( const std::array< size_t, l > &  tuple)
inlinestatic

Search the index corresponding to the given tuple. Throw if not found.

Parameters
tupleAlways ordered, e.g. (0,2,3)

◆ init()

template<size_t l, size_t d>
static void Manicore::ExteriorBasis< l, d >::init ( )
inlinestaticnoexcept

Initialize the exterior algebra basis. Must be called at least once before use.


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