-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently, integrals have to run jacobian
at every point in the domain where the integrand function is evaluated. However, many geometries have linear parametric functions that will produce the exact same jacobian
at every valid point in the geometry, making every function call after the first redundant.
Ideas:
- Identify all geometry types that this applies to
- Maybe create a special case single-argument
jacobian(geometry)
for these cases?- Map
jacobian(geometry, ts) -> jacobian(geometry)
, orjacobian(geometry) -> jacobian(geometry, zeros(T, paramdim(geometry)))
?
- Map
- Use memoization to cache results?
- Maybe create another set of
_integral
workers that dispatch on these cases and move the differential calculation outside the integral?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request