########################### Checking a Lagrange element ########################### This demo shows how Symfem can be used to confirm that when the basis functions of a Lagrange element of a triangle are restricted to an edge, then they are equal to the basis functions of a Lagrange element on that edge. .. literalinclude:: ../../demo/lagrange.py :language: Python