# chooseSubmatrixSmallestDegree -- returns coordinates for low degree submatrix of a matrix

## Synopsis

• Usage:
chooseSubmatrixSmallestDegree(n1, M3)
• Inputs:
• Outputs:

## Description

Returns a list containing the row and column coordinates in the original matrix for a specified sized submatrix of terms lower in degree than other terms of the matrix.

 i1 : R = QQ[x,y,z]; i2 : M=matrix{{x^2,x^3,x^4},{y^4,y^2,y^3},{z^3,z^4,z^2}} o2 = | x2 x3 x4 | | y4 y2 y3 | | z3 z4 z2 | 3 3 o2 : Matrix R <--- R i3 : chooseSubmatrixSmallestDegree(2, M) o3 = {{2, 1}, {2, 1}} o3 : List

This returns a list with two entries, first a list of row indices, and then a list of column indices. In this case, z^2 is the smallest element, and after removing that row and column from consideration, y^2 is smallest. Thus we want rows 2 and 1 and columns 2 and 1.

## Ways to use chooseSubmatrixSmallestDegree :

• "chooseSubmatrixSmallestDegree(ZZ,Matrix)"

## For the programmer

The object chooseSubmatrixSmallestDegree is .
{"ft_lang_label":"__label__en","ft_lang_prob":0.8303314,"math_prob":0.97646403,"size":518,"snap":"2023-14-2023-23","text_gpt3_token_len":117,"char_repetition_ratio":0.14202334,"word_repetition_ratio":0.0,"special_character_ratio":0.21814671,"punctuation_ratio":0.09803922,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.98574907,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-06-09T21:28:02Z\",\"WARC-Record-ID\":\"<urn:uuid:141c42ae-bbaa-42e2-9a2d-a93c778c6493>\",\"Content-Length\":\"6336\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:09f4ce45-5ccc-48f7-9059-cbf41919df0a>\",\"WARC-Concurrent-To\":\"<urn:uuid:fc4e23fa-74ff-4372-9afd-c7a6785dcd4f>\",\"WARC-IP-Address\":\"128.174.199.46\",\"WARC-Target-URI\":\"https://faculty.math.illinois.edu/Macaulay2/doc/Macaulay2-1.21/share/doc/Macaulay2/FastMinors/html/_choose__Submatrix__Smallest__Degree.html\",\"WARC-Payload-Digest\":\"sha1:LPLWMT4MDPMNSB27B6S2O5VJCO6PYFWV\",\"WARC-Block-Digest\":\"sha1:ADX73UAJBSD66LYTX3XX4P5EBOIYZKMO\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224656833.99_warc_CC-MAIN-20230609201549-20230609231549-00125.warc.gz\"}"}