NLA-lib Explorer

NLAlib.Ops.Routine.Domain.castOps

Library · def

A domain read at a routine over other operations with the same dimensions and operands, as a linked routine is. It is NLAlib.Ops.Routine.Domain.cast across the types of operations and tests; the two are separate so that a cast between routines over the same operations does not have those types to infer.

NLAlib.Ops.Routine.Domain.castOps {K Op Tst : Type} {r b : ℕ} {R : Ops.Routine Op Tst}
  (D : R.Domain K r b) {Op' Tst' : Type} (R' : Ops.Routine Op' Tst') (hnd : R'.nd = R.nd)
  (hports : R'.ports = R.ports) : R'.Domain K r b

Full source on GitHub

Import NLAlib.Ops.RoutineProblem.