Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

TensorNetworks

Guides

  • TensorNetworks

Tech Notes

  • Building Tensor Networks
  • Contraction Paths and Execution
  • Matrix Product States
  • A Working Tour of the Symmetry Functions
  • Tensor Networks Overview
  • Young Tableaux and Tensor Symmetries

Symbols

  • ActivateTensors
  • BinaryTensorNetwork
  • BinaryTensorNetworkQ
  • CanonicalPath
  • CanonicalPathQ
  • ContractIndices
  • ContractionTree
  • EinsteinSummation
  • GreedyContractionPath
  • HookFactor
  • HookLength
  • HookLengths
  • IndexedMultiply
  • InitializeTensorNetwork
  • MetricTensor
  • MetricTensorQ
  • MPSCanonicalForm
  • MPSCanonicalQ
  • MPSEntanglementEntropy
  • MPSNormalize
  • MPSNorm
  • MPSOverlap
  • MPSSchmidtValues
  • MPSTruncate
  • OptimalContractionPath
  • PartitionQ
  • PathIndexContractions
  • PathQ
  • PathToTreePath
  • RandomTensorNetwork
  • SchurDimension
  • SparseTensorNetwork
  • TableauColumns
  • TableauDimension
  • TableauRows
  • TableauShape
  • TableauSize
  • TableauWeylDimension
  • TensorNetworkAdd
  • TensorNetworkContraction
  • TensorNetworkContractions
  • TensorNetworkContract
  • TensorNetworkData
  • TensorNetworkDelete
  • TensorNetworkFreeIndices
  • TensorNetworkGraphData
  • TensorNetworkGraphQ
  • TensorNetworkIndexDimensions
  • TensorNetworkIndexGraph
  • TensorNetworkIndices
  • TensorNetwork
  • TensorNetworkQ
  • TensorNetworkRemoveCycles
  • TensorNetworkReplaceIndices
  • TensorNetworkSize
  • TensorNetworkTensors
  • TensorNetworkToNetGraph
  • ToTensorNetworkGraph
  • TransposePartition
  • TreePathQ
  • TreePathToPath
  • YoungProject
  • YoungSymmetrize
  • YoungTableau
  • YoungTableauQ
Wolfram`TensorNetworks`Symmetry`
HookLengths
​
HookLengths
[partition]
returns the nested list of hook lengths for the Young diagram of the integer partition
partition
.
​
​
HookLengths
[tableau]
returns the hook lengths for the underlying partition of the
YoungTableau
tableau
.
​
Details and Options
Examples  
(6)
Scope  
(4)
Partition and tableau forms  
(1)
Calling with a partition list and with a tableau of the same shape gives identical output:
In[1]:=
HookLengths
[{4,2}]
Out[2]=
{{5,4,2,1},{2,1}}
​
The same diagram entered through a YoungTableau:
In[1]:=
HookLengths

YoungTableau
[{4,2}]
Out[2]=
{{5,4,2,1},{2,1}}
A larger diagram  
(1)

Verifying against single-cell HookLength  
(1)

Conjugate diagram  
(1)

Applications  
(1)

Properties & Relations  
(1)

SeeAlso
HookLength
 
▪
HookFactor
 
▪
TableauDimension
 
▪
TableauShape
 
▪
YoungTableau
 
▪
PartitionQ
 
▪
TransposePartition
TechNotes
▪
Young Symmetries
RelatedGuides
▪
TensorNetworks
Hook lengths for the cells of the Young diagram of shape {3, 2}:
In[1]:=
HookLengths
[{3,2}]
Out[1]=
{{4,3,1},{2,1}}
​
The same result starting from a YoungTableau object:
In[1]:=
HookLengths

YoungTableau
[{3,2}]
Out[1]=
{{4,3,1},{2,1}}
​
A self-conjugate partition has hook lengths laid out symmetrically:
In[1]:=
HookLengths
[{3,2,1}]
Out[1]=
{{5,3,1},{3,1},{1}}
​
All hook lengths for the partition {3, 2}:
In[1]:=
HookLengths
[{3,2}]
Out[1]=
{{4,3,1},{2,1}}
""

© 2026 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com