Objects/Documentation
increments.py
Reproducible check of XIII, included in the compression dossier.
Download ↓"""Selected computational core from XIII, with a standalone exact control."""
from collections import defaultdict
from functools import lru_cache
from itertools import product
from math import factorial, prod
import json
@lru_cache(None)
def fac(n):
return factorial(n)
def det(M):
a = [row[:] for row in M]
n = len(a)
sign = 1
prev = 1