The Bridge of Astral Dimensions
Decouple the abstraction of a matrix operation from its hardware implementation (CPU vs GPU).
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Bridge
ARCANUM SCHOOL: Transmutation // Hardware
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// MATLAB PATTERN //
classdef (Abstract) MatrixOperation
properties
ComputeCore % The implementor
end
methods
function obj = MatrixOperation(core)
obj.ComputeCore = core;
end
end
methods (Abstract)
execute(obj, data)
end
end
classdef SpectralInversion < MatrixOperation
methods
function execute(obj, data)
obj.ComputeCore.invert(data);
end
end
end
Bridge
Cross the bridge between the logical spell and its physical manifestation on arcane graphics processing units…
Runic Tags:
#bridge
#hardware
#dimensions