def pieri_root_count(mdim, pdim, qdeg): """ Computes the number of pdim-plane producing maps of degree qdeg that meet mdim-planes at mdim*pdim + qdeg*(mdim+pdim) points. """ from phcpy.phcpy2c2 import py2c_schubert_pieri_count from phcpy.phcpy2c2 import py2c_schubert_localization_poset root_count = py2c_schubert_pieri_count(mdim, pdim, qdeg) print 'Pieri root count for', (mdim, pdim, qdeg), 'is', root_count poset = py2c_schubert_localization_poset(mdim, pdim, qdeg) print 'the localization poset :' print poset
def pieri_root_count(mdim, pdim, qdeg): """ Computes the number of pdim-plane producing maps of degree qdeg that meet mdim-planes at mdim*pdim + qdeg*(mdim+pdim) points. """ from phcpy.phcpy2c2 import py2c_schubert_pieri_count from phcpy.phcpy2c2 import py2c_schubert_localization_poset root_count = py2c_schubert_pieri_count(mdim, pdim, qdeg) print 'Pieri root count for', (mdim, pdim, qdeg), 'is', root_count poset = py2c_schubert_localization_poset(mdim, pdim, qdeg) print 'the localization poset :' print poset
def pieri_root_count(mdim, pdim, qdeg, verbose=True): r""" Computes the number of *pdim*-plane producing maps of degree *qdeg* that meet *mdim*-planes at mdim*pdim + qdeg*(mdim+pdim) points. """ from phcpy.phcpy2c2 import py2c_schubert_pieri_count from phcpy.phcpy2c2 import py2c_schubert_localization_poset root_count = py2c_schubert_pieri_count(mdim, pdim, qdeg) if verbose: print 'Pieri root count for', (mdim, pdim, qdeg), 'is', root_count poset = py2c_schubert_localization_poset(mdim, pdim, qdeg) print 'the localization poset :' print poset return root_count
def pieri_root_count(mdim, pdim, qdeg, verbose=True): r""" Computes the number of *pdim*-plane producing maps of degree *qdeg* that meet *mdim*-planes at mdim*pdim + qdeg*(mdim+pdim) points. """ from phcpy.phcpy2c2 import py2c_schubert_pieri_count from phcpy.phcpy2c2 import py2c_schubert_localization_poset root_count = py2c_schubert_pieri_count(mdim, pdim, qdeg) if verbose: print 'Pieri root count for', (mdim, pdim, qdeg), 'is', root_count poset = py2c_schubert_localization_poset(mdim, pdim, qdeg) print 'the localization poset :' print poset return root_count