Closed VikingScientist closed 7 years ago
This looks good but I would rest a bit easier if the transpose_fix
hack was fully dimension agnostic. We already have one instance of that in the code. I suggest we replace both with something like this:
def transpose_fix(pardim, direction):
ret = list(range(1, pardim+1))
ret.insert(direction, 0)
return tuple(ret)
From what I can tell this will work as expected.
IOW I'm suggesting putting this on top https://github.com/TheBB/Splipy/commit/fd2cd93b4c387529939770749d74819f61a53b8d
Fixed
This one is in!
Derivatives of splines are themselves splines. This allows for an explicit construction of these objects.
It basically allows for this operation here: