Basix
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
type
Cell type.
Definition: cell.h:21
Definition: polyset.h:20
xt::xtensor< double, 3 > tabulate(cell::type celltype, int d, int n, const xt::xarray< double > &x)
Definition: polyset.cpp:724
int dim(cell::type cell, int d)
Definition: polyset.cpp:749