Skip to content

NonzeroEntryCount ​

The number of nonzero entries.

✓ checked against that system · ! checked, with disagreements (hover a chip)FindStatSt000890via AlternatingSignMatrix✓
NonzeroEntryCount(tableau)The number of nonzero entries.
Typed signatures
TypePackageApplies
(alternating_sign_matrix) -> numbercombinatoricsalways

Domain: Alternating sign matrix statistics

Details
  • Defined over AlternatingSignMatrix as an expression in _x, evaluated by compute-engine — the definition IS the implementation.
  • Takes a AlternatingSignMatrix and nothing else — it reads values against their positions, or walks the orbits, so it needs the bijection. Applying it to a bare list is a type error, not a wrong answer.
  • FindStat's St000890.

Definition

Epsil, as the implementation runs it.

on AlternatingSignMatrix, over _x

0 if Length(_x) < 1 else Apply((cells: list<integer>) => Apply(
                                                                (side: integer) => Count(Filter(cells, Function(e != 0, e))),
                                                                Length(_x),
                                                              ), Flatten(_x))

Examples

Basic #

the alternating sign matrix [[0,1,0],[1,−1,1],[0,1,0]][[0,1,0],[1,-1,1],[0,1,0]]

live ↗
InNonzeroEntryCount(AlternatingSignMatrix⁡([[0,1,0],[1,−1,1],[0,1,0]]))\mathrm{NonzeroEntryCount}({\operatorname{AlternatingSignMatrix}}([[0, 1, 0], [1, -1, 1], [0, 1, 0]]))Out55
Properties #

FindStat's value for [[0,1],[1,0]]

live ↗
InCombinatorialStat(AlternatingSignMatrix⁡([[0,1],[1,0]]),NonzeroEntryCount)\mathrm{CombinatorialStat}({\operatorname{AlternatingSignMatrix}}([[0, 1], [1, 0]]), \text{NonzeroEntryCount})Out22

Known value · FindStat St000890

FindStat's value for [[1,0],[0,1]]

live ↗
InCombinatorialStat(AlternatingSignMatrix⁡([[1,0],[0,1]]),NonzeroEntryCount)\mathrm{CombinatorialStat}({\operatorname{AlternatingSignMatrix}}([[1, 0], [0, 1]]), \text{NonzeroEntryCount})Out22

Known value · FindStat St000890

FindStat's value for [[0,0,1],[0,1,0],[1,0,0]]

live ↗
InCombinatorialStat(AlternatingSignMatrix⁡([[0,0,1],[0,1,0],[1,0,0]]),NonzeroEntryCount)\mathrm{CombinatorialStat}({\operatorname{AlternatingSignMatrix}}([[0, 0, 1], [0, 1, 0], [1, 0, 0]]), \text{NonzeroEntryCount})Out33

Known value · FindStat St000890

About
Examples4
CrosswalkFindStat