MCPcopy Create free account
hub / github.com/DedalusProject/dedalus / backward

Method backward

dedalus/core/transforms.py:61–63  ·  view source on GitHub ↗

Apply backward transform along specified axis.

(self, cdata, gdata, axis)

Source from the content-addressed store, hash-verified

59 apply_dense(self.forward_matrix, gdata, axis=axis, out=cdata)
60
61 def backward(self, cdata, gdata, axis):
62 """Apply backward transform along specified axis."""
63 apply_dense(self.backward_matrix, cdata, axis=axis, out=gdata)
64
65 @CachedAttribute
66 def forward_matrix(self):

Callers

nothing calls this directly

Calls 1

apply_denseFunction · 0.85

Tested by

no test coverage detected