linalg(deprecated)/row - Maple Help

linalg(deprecated)

 row
 extract row(s) of a matrix as vector(s)
 col
 extract column(s) of a matrix as vectors(s) Calling Sequence row(A, i) row(A, i..k) col(A, i) col(A, i..k) Parameters

 A - matrix i, k - positive integers Description

 • Important: The linalg package has been deprecated. Use the superseding commands LinearAlgebra[Row] and LinearAlgebra[Column], instead.
 - For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
 • The function col(A, i) (row(A, i)) extracts the ith column (row) of the matrix A. The result is returned as a vector.
 • More generally, col(A, i.. k) (row(A, i.. k)) extracts a sequence of columns (rows) i..k of the matrix A.  The result is returned as a sequence of vectors.
 These functions are part of the linalg package, and so can be used in the form row(..) only after performing the command with(linalg) or with(linalg,row).  These functions can always be accessed in the long form linalg[row](..). Examples

Important: The linalg package has been deprecated. Use the superseding commands LinearAlgebra[Row] and LinearAlgebra[Column], instead.

 > $\mathrm{with}\left(\mathrm{linalg}\right):$
 > $A≔\mathrm{matrix}\left(3,3,\left[1,2,3,4,5,6,7,8,9\right]\right)$
 ${A}{≔}\left[\begin{array}{ccc}{1}& {2}& {3}\\ {4}& {5}& {6}\\ {7}& {8}& {9}\end{array}\right]$ (1)
 > $\mathrm{row}\left(A,2\right)$
 $\left[\begin{array}{ccc}{4}& {5}& {6}\end{array}\right]$ (2)
 > $\mathrm{col}\left(A,2..3\right)$
 $\left[\begin{array}{ccc}{2}& {5}& {8}\end{array}\right]{,}\left[\begin{array}{ccc}{3}& {6}& {9}\end{array}\right]$ (3)
{"ft_lang_label":"__label__en","ft_lang_prob":0.67607576,"math_prob":0.9986424,"size":1306,"snap":"2022-27-2022-33","text_gpt3_token_len":383,"char_repetition_ratio":0.1420891,"word_repetition_ratio":0.068571426,"special_character_ratio":0.2588055,"punctuation_ratio":0.19298245,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9979986,"pos_list":[0,1,2,3,4,5,6,7,8,9,10],"im_url_duplicate_count":[null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-06-30T20:11:43Z\",\"WARC-Record-ID\":\"<urn:uuid:5d2c5573-ab6b-4833-a5f7-1889a67c94f4>\",\"Content-Length\":\"179543\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:a1d1edcb-afd4-4757-adf5-fad2b2cb4b2f>\",\"WARC-Concurrent-To\":\"<urn:uuid:af1686f4-e545-4d9d-97a8-cb3ca29625f0>\",\"WARC-IP-Address\":\"199.71.183.28\",\"WARC-Target-URI\":\"https://www.maplesoft.com/support/help/maple/view.aspx?path=linalg(deprecated)%2Frow\",\"WARC-Payload-Digest\":\"sha1:ES7IKWAFZUKB5DE6PHDY5RAC6JJWGTVZ\",\"WARC-Block-Digest\":\"sha1:XPVLD6L6WEFAIE3WDPB2L2AJ5UNNXSM2\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656103877410.46_warc_CC-MAIN-20220630183616-20220630213616-00274.warc.gz\"}"}