NLA-lib Explorer

NLAlib.Ops.IsScalar

Library · def

The functional contract of scalar arithmetic: every scalar operation of the signature is the function of the machine M, on all operands.

NLAlib.Ops.IsScalar {K Op Tst : Type} [Ops.Has Ops.ScalarOp Op] (M : Ops.Machine K)
  (I : Ops.Interp Op Tst K) : Prop

Full source on GitHub

Import NLAlib.Ops.Catalog.Scalar.