Backend

Contents

Backend#

class discopy.matrix.Backend(module, array=None)[source]#

Bases: object

A matrix backend.

Parameters:
  • module (ModuleType) – The main module of the backend.

  • array (type) – The array class of the backend.