MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / dot

Function dot

src/exterior-shell-extractor/utils.py:56–58  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

54
55
56def dot(a, b):
57 a, b = to_tuple(a), to_tuple(b)
58 return reduce(operator.add, map(operator.mul, a, b))
59
60
61def negate(sign):

Callers

nothing calls this directly

Calls 1

to_tupleFunction · 0.85

Tested by

no test coverage detected