Delsarte duality on subspaces and applications to rank-metric codes and q-matroids | Synapse