NLA-lib Explorer

NLAlib.Ops.Builder.shapeE

Library · def

The length of a run of an operand, and its runs when it is not contiguous: x : n is one run of n cells; x : n every p is n runs of one cell every p; A : m × n every p is n runs of m cells every p.

NLAlib.Ops.Builder.shapeE (ds : Array Ident) (p : Ops.Builder.PortDecl)
  (len : TSyntax `routineLen) : MacroM (TSyntax `term × Option (TSyntax `term × TSyntax `term))

Full source on GitHub

Import NLAlib.Ops.RoutineSyntax.