NLA-lib Explorer

NLAlib.Ops.Routine.Domain.cast

Library · def

A domain depends on its routine only through the interface: the admitted inputs of a routine are those of any routine with the same dimensions and operands (a routine with another tree, or with a parameter the problem does not mention).

NLAlib.Ops.Routine.Domain.cast {K Op Tst : Type} {r b : ℕ} {R : Ops.Routine Op Tst}
  (D : R.Domain K r b) (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.