|
Basix
|
Polynomials. More...
Enumerations | |
| enum class | type { legendre = 0 , lagrange = 1 , bernstein = 2 } |
| Polynomial types that can be created. More... | |
Functions | |
| template<std::floating_point T> | |
| std::pair< std::vector< T >, std::array< std::size_t, 2 > > | tabulate (polynomials::type polytype, cell::type celltype, int d, md::mdspan< const T, md::dextents< std::size_t, 2 > > x) |
| Tabulate a set of polynomials. | |
| int | dim (polynomials::type polytype, cell::type cell, int d) |
| Dimension of a polynomial space. | |
Polynomials.
|
strong |
Polynomial types that can be created.
| std::pair< std::vector< T >, std::array< std::size_t, 2 > > basix::polynomials::tabulate | ( | polynomials::type | polytype, |
| cell::type | celltype, | ||
| int | d, | ||
| md::mdspan< const T, md::dextents< std::size_t, 2 > > | x ) |
Tabulate a set of polynomials.
| [in] | polytype | Polynomial type |
| [in] | celltype | Cell type |
| [in] | d | Polynomial degree |
| [in] | x | Points at which to evaluate the basis. The shape is (number of points, geometric dimension). |
| int basix::polynomials::dim | ( | polynomials::type | polytype, |
| cell::type | cell, | ||
| int | d ) |
Dimension of a polynomial space.
| [in] | polytype | Polynomial type |
| [in] | cell | Cell type |
| [in] | d | Polynomial degree |