Note: this is documentation for an old release. View the latest documentation at docs.fenicsproject.org/basix/v0.9.0/cpp/polyset_8h_source.html
Home Installation C++ docs Python docs
polyset.h
1 // Copyright (c) 2020 Chris Richardson
2 // FEniCS Project
3 // SPDX-License-Identifier: MIT
4 
5 #pragma once
6 
7 #include "cell.h"
8 #include <xtensor/xarray.hpp>
9 #include <xtensor/xtensor.hpp>
10 
19 namespace basix::polyset
20 {
57 xt::xtensor<double, 3> tabulate(cell::type celltype, int d, int n,
58  const xt::xarray<double>& x);
59 
65 int dim(cell::type cell, int d);
66 
67 } // namespace basix::polyset
basix::polyset
Definition: polyset.h:19
basix::polyset::dim
int dim(cell::type cell, int d)
Definition: polyset.cpp:749
basix::cell::type
type
Cell type.
Definition: cell.h:16
basix::polyset::tabulate
xt::xtensor< double, 3 > tabulate(cell::type celltype, int d, int n, const xt::xarray< double > &x)
Definition: polyset.cpp:724