polynomial_spaces

Functions

normalise_shape(shape)

Canonicalise a declared value shape to a tuple of positive ints.

riesz_matrices(nodes, poly_set)

The Riesz representations of FIAT nodes and the coefficients of poly_set, flattened to one row per node or basis function.

weighted_shape(weight, space)

The value shape contributed by one weighted space of a combination.

Classes

ConstructedPolynomialSpace(weights, spaces)

Sub degree is inherited from the largest of the component spaces, super degree is unknown.

PolynomialSpace(maxdegree[, contains, ...])

contains: the degree of the maximum degree Lagrange space that is spanned by this element.