NLAlib.selectionMatrix_apply
Library · theorem
The entries of a selection matrix \mathbf{S}: \mathbf{S}_{i,j} = 1 if i = s(j) and 0 otherwise.
NLAlib.selectionMatrix_apply.{u_1, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3} {p : Type u_4}
[DecidableEq n] (s : p → n) (i : n) (j : p) : selectionMatrix s i j = if i = s j then 1 else 0Import NLAlib.Matrix.Basic.Selection.