Identifier
Mp00035:
Dyck paths
—to alternating sign matrix⟶
Alternating sign matrices
Mp00004: Alternating sign matrices —rotate clockwise⟶ Alternating sign matrices
Mp00005: Alternating sign matrices —transpose⟶ Alternating sign matrices
Mp00004: Alternating sign matrices —rotate clockwise⟶ Alternating sign matrices
Mp00005: Alternating sign matrices —transpose⟶ Alternating sign matrices
Images
=>
Cc0005;cc-rep-0Cc0017;cc-rep-1Cc0017;cc-rep-2Cc0017;cc-rep-3
[1,0]=>[[1]]=>[[1]]=>[[1]]
[1,0,1,0]=>[[1,0],[0,1]]=>[[0,1],[1,0]]=>[[0,1],[1,0]]
[1,1,0,0]=>[[0,1],[1,0]]=>[[1,0],[0,1]]=>[[1,0],[0,1]]
[1,0,1,0,1,0]=>[[1,0,0],[0,1,0],[0,0,1]]=>[[0,0,1],[0,1,0],[1,0,0]]=>[[0,0,1],[0,1,0],[1,0,0]]
[1,0,1,1,0,0]=>[[1,0,0],[0,0,1],[0,1,0]]=>[[0,0,1],[1,0,0],[0,1,0]]=>[[0,1,0],[0,0,1],[1,0,0]]
[1,1,0,0,1,0]=>[[0,1,0],[1,0,0],[0,0,1]]=>[[0,1,0],[0,0,1],[1,0,0]]=>[[0,0,1],[1,0,0],[0,1,0]]
[1,1,0,1,0,0]=>[[0,1,0],[1,-1,1],[0,1,0]]=>[[0,1,0],[1,-1,1],[0,1,0]]=>[[0,1,0],[1,-1,1],[0,1,0]]
[1,1,1,0,0,0]=>[[0,0,1],[1,0,0],[0,1,0]]=>[[0,1,0],[1,0,0],[0,0,1]]=>[[0,1,0],[1,0,0],[0,0,1]]
[1,0,1,0,1,0,1,0]=>[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]]=>[[0,0,0,1],[0,0,1,0],[0,1,0,0],[1,0,0,0]]=>[[0,0,0,1],[0,0,1,0],[0,1,0,0],[1,0,0,0]]
[1,0,1,0,1,1,0,0]=>[[1,0,0,0],[0,1,0,0],[0,0,0,1],[0,0,1,0]]=>[[0,0,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,0],[0,1,0,0,0,0,0,0,0,0,0,0]]=>[[0,0,0,0,0,0,0,0,0,0,1,0],[0,0,0,0,0,0,0,0,0,0,0,1],[0,0,0,0,0,0,0,0,1,0,0,0],[0,0,0,0,0,0,0,0,0,1,0,0],[0,0,0,0,0,0,1,0,0,0,0,0],[0,0,0,0,0,0,0,1,0,0,0,0],[0,0,0,0,1,0,0,0,0,0,0,0],[0,0,0,0,0,1,0,0,0,0,0,0],[0,0,1,0,0,0,0,0,0,0,0,0],[0,0,0,1,0,0,0,0,0,0,0,0],[1,0,0,0,0,0,0,0,0,0,0,0],[0,1,0,0,0,0,0,0,0,0,0,0]]
Map
to alternating sign matrix
Description
Return the Dyck path as an alternating sign matrix.
This is an inclusion map from Dyck words of length $2n$ to certain
$n \times n$ alternating sign matrices.
This is an inclusion map from Dyck words of length $2n$ to certain
$n \times n$ alternating sign matrices.
Map
rotate clockwise
Description
Return the clockwise quarter turn rotation of an alternating sign matrix.
Map
transpose
Description
The transpose of an alternating sign matrix.
searching the database
Sorry, this map was not found in the database.