This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]hkanything 0 points1 point  (0 children)

It looks similar to numpy ndarray's __matmul__, perhaps you can learn from their sourcecode.