Tables.gf8tab.fill.exp: def of bend-osdev-gf@0.1.1.0 Import: import bend-osdev-gf@0.1.1.0/tables.bend as Tables Lines 19-25 of bend-osdev-gf@0.1.1.0/tables.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-gf@0.1.1.0/tables.bend&start_line=19&end_line=25 import Base import bend-osdev-gf@0.1.1.0/gf.bend as G # exp[i] for i from i0, n entries, with cur = gen^i0 def gf8tab.fill.exp(n: Nat, a: Array, +f: G.Gf8Field, +cur: U32, +i: U32) -> Array: match n: case 0n: a case 1n+k: gf8tab.fill.exp(k, Array.set(U32, a, i, cur), f, G.Gf8.mul(f, G.Gf8.gen(f), cur), U32.add(i, 1)) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.set https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=bend-osdev-gf@0.1.1.0/gf.bend&name=Gf8.gen https://jend.leeeet.dev/definition.txt?path=bend-osdev-gf@0.1.1.0/gf.bend&name=Gf8.mul https://jend.leeeet.dev/definition.txt?path=bend-osdev-gf@0.1.1.0/gf.bend&name=Gf8Field