NLA-lib Explorer

NLAlib.Ops.MatrixOp.dimensionWeight

Library · def

Weight a matrix operation by a supplied cost of its largest dimension. Empty dimension lists use zero as their largest dimension; well-formed calls have their declared shape.

NLAlib.Ops.MatrixOp.dimensionWeight (T : ℕ → ℕ) : Ops.MatrixOp → (ds : List ℕ) → ℕ

Full source on GitHub

Import NLAlib.Ops.Profiles.DenseWeight.