|  |  D.15.33.11 rankSheaf Procedure from libraryschubert.lib(see  schubert_lib).
 
Example:Usage:
rankSheaf(S); S sheaf
Return:
int
Input:
S is a sheaf
Output:
a positive integer which is the rank of a sheaf.
 See also:
 makeSheaf;
 printSheaf.|  | LIB "schubert.lib";
variety G = Grassmannian(2,4);
def R = G.baseRing;
setring R;
sheaf S = makeSheaf(G,subBundle);
rankSheaf(S);
==> 2
 | 
 
 |