Add operator^ for as_tensor

Issue #68 resolved
Martin Sandve Alnæs created an issue

The name "as_tensor" is in no way intuitive, and operator^ is unused.

This will allow more compact notation lots of places internally in UFL and for users. E.g. the transpose can then be written A[i,j]^(j,i) instead of as_tensor(A[i,j], (j,i)).

Comments (2)

  1. Log in to comment