BendTensors.VecT.size: def of bend-tensors@0.0.0.2 Import: import bend-tensors@0.0.0.2/bend_tensors.bend as BendTensors Lines 467-474 of bend-tensors@0.0.0.2/bend_tensors.bend: https://jend.leeeet.dev/read.txt?path=bend-tensors@0.0.0.2/bend_tensors.bend&start_line=467&end_line=474 import Base # the element count of a VecT(n): 4 * 2^n def VecT.size(+n: Nat) -> Nat: match n: case 0n: 4n case 1n+p: +h = VecT.size(p) Nat.add(h, h) Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add