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

Method forward

dedalus/core/transforms.py:57–59  ·  view source on GitHub ↗

Apply forward transform along specified axis.

(self, gdata, cdata, axis)

Source from the content-addressed store, hash-verified

55 """Abstract base class for separable matrix-multiplication transforms."""
56
57 def forward(self, gdata, cdata, axis):
58 """Apply forward transform along specified axis."""
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."""

Callers

nothing calls this directly

Calls 1

apply_denseFunction · 0.85

Tested by

no test coverage detected