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

Generate a basis of monomial powers of degree r. More...

#include <exterior_algebra.hpp>

Static Public Member Functions

static std::vector< std::array< size_t, d > > const & homogeneous (const int r)
 Basis of homogeneous polynomial of degree r. More...
 
static std::vector< std::array< size_t, d > > const & complete (const int r)
 Basis of polynomial of at most degree r. More...
 
static void init (const int r)
 Initialise the basis for degree up to r. Must be called at least once before use. More...
 

Detailed Description

template<size_t d>
struct Manicore::Monomial_powers< d >

Generate a basis of monomial powers of degree r.



Member Function Documentation

◆ complete()

template<size_t d>
static std::vector<std::array<size_t,d> > const& Manicore::Monomial_powers< d >::complete ( const int  r)
inlinestatic

Basis of polynomial of at most degree r.

◆ homogeneous()

template<size_t d>
static std::vector<std::array<size_t, d> > const& Manicore::Monomial_powers< d >::homogeneous ( const int  r)
inlinestatic

Basis of homogeneous polynomial of degree r.

◆ init()

template<size_t d>
static void Manicore::Monomial_powers< d >::init ( const int  r)
inlinestatic

Initialise the basis for degree up to r. Must be called at least once before use.


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