Added method to CR class for getting PointMaps of inner functions
This MR gives easy access to each of the four functions used to the compute the CR output. Having access to the scalar invariant point map and the inner function point map makes it much easier to visualize a CR's performance.
CR.__call__
takes inputs
(input tensors) and optionally params
(parameters). Then it calls the following four functions to get the full CR output:
- The scalar invariant function computes the scalar invariants as a function of
inputs
. - The form invariant function computes the form-invariant basis as a function of
inputs
. - The inner function computes the basis coefficients as a function of the scalar invariants and
params
. - The coefficient form function computes the CR output using the basis coefficients and the form-invariant basis.
@tisaac @jedbrown @DiffeoInvariant I've not sure if I've written the right names for each of these components in that list above. Did we decide on standard names to use for these? Particularly, "inner function" and "coefficient form function" don't sound descriptive enough to me.
I added tests for this MR, and I'm still working on an actual use case that would use these to facilitate plotting the inputs and outputs of the inner CR.