Note: this is documentation for an old release. View the latest documentation at docs.fenicsproject.org/basix/v0.8.0/cpp/polyset_8h_source.html

# Basix 0.5.0

## HomeInstallationDemosC++ docsPython docs

polyset.h
1 // Copyright (c) 2020 Chris Richardson & Matthew Scroggs
2 // FEniCS Project
4
5 #pragma once
6
7 #include "cell.h"
8 #include "mdspan.hpp"
9 #include <array>
10 #include <utility>
11 #include <vector>
12
14
125 namespace basix::polyset
126 {
164 std::pair<std::vector<double>, std::array<std::size_t, 3>>
165 tabulate(cell::type celltype, int d, int n,
166  std::experimental::mdspan<const double,
167  std::experimental::dextents<std::size_t, 2>>
168  x);
169
210 void tabulate(
211  std::experimental::mdspan<double,
212  std::experimental::dextents<std::size_t, 3>>
213  P,
214  cell::type celltype, int d, int n,
215  std::experimental::mdspan<const double,
216  std::experimental::dextents<std::size_t, 2>>
217  x);
218
224 int dim(cell::type cell, int d);
225
231 int nderivs(cell::type cell, int d);
232
233 } // namespace basix::polyset
basix::polyset
Polynomial expansion sets.
Definition: polyset.h:125
basix::polyset::dim
int dim(cell::type cell, int d)
Definition: polyset.cpp:1502
basix::cell::type
type
Cell type.
Definition: cell.h:19
basix::polyset::nderivs
int nderivs(cell::type cell, int d)
Definition: polyset.cpp:1527
basix::polyset::tabulate
std::pair< std::vector< double >, std::array< std::size_t, 3 > > tabulate(cell::type celltype, int d, int n, std::experimental::mdspan< const double, std::experimental::dextents< std::size_t, 2 >> x)
Tabulate the orthonormal polynomial basis, and derivatives, at points on the reference cell.
Definition: polyset.cpp:1487