def left_index
import bendtorch-core@0.1.0.0/src/tensor/contracts/dot.bend as Dotimport Base
15def left_index(cell: Cell, k: Nat) -> Nat:
16 Cell{row, column, inner, columns} = cell
17 Nat.add(Nat.mul(row, inner), k)
Uses (4)
Used by (5)
- bendtorch-core@0.1.0.0/src/tensor/contracts/dot:dot
- bendtorch-core@0.1.0.0/src/tensor/contracts/dot_proof:dot_ordered
- bendtorch-core@0.1.0.0/src/tensor/contracts/dot_proof:left_below
- bendtorch-core@0.1.0.0/src/tensor/contracts/dot_proof:left_inside
- bendtorch-core@0.1.0.0/src/tensor/contracts/dot_proof:total_factors