Synopsis:
f^{i,j,k,...} -- produce the submatrix of a matrix f consisting of rows numbered i, j, k, ... .
Repetitions of the indices are allowed.
If the list of row indices is a permutation of 0 .. n-1, where n is the number of rows, then the result is the corresponding permutation of the rows of f.
i1 : R = ZZ/101[a..f] |
i2 : p = matrix {{a,b,c},{d,e,f}} |
i3 : p^{1} |
i4 : p^{1,0} |
See also:
Code:
-- ../../../Macaulay2/m2/matrix.m2:410-414 Matrix ^ List := Matrix => (f,v) -> ( v = splice v; listZ v; submatrix(f,v,) )