Matrix range

06062015, 06:14 PM
(This post was last modified: 06072015 07:22 AM by salvomic.)
Post: #1




Matrix range
I didn't know, but inputting M1(1..2) Prime return matrix M1 with the first 2 rows...
There is a trick to get also the first two columns like that? Another thing: mat:= delcols(m, (r+1) .. c); doesn't run in a program (in Home it complains that there are two decimal dots...; in CAS gives error also): any other simple command to extract a range from a matrix? EDIT: found this other thing: SUB(m, {1,1}, {r,r}); Salvo ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C  DM42, DM41X  WP34s Prime Soft. Lib 

06072015, 03:29 AM
Post: #2




RE: Matrix range
(06062015 06:14 PM)salvomic Wrote: I didn't know, but inputting M1(1..2) Prime return matrix M1 with the first 2 rows... Not a "trick", but col(M1,1..2) in CAS returns the first two columns of M1. <0ɸ0> Joe 

06072015, 07:21 AM
Post: #3




RE: Matrix range
(06072015 03:29 AM)Joe Horn Wrote: Not a "trick", but col(M1,1..2) in CAS returns the first two columns of M1. oh, thanks! it works Salvo ∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C  DM42, DM41X  WP34s Prime Soft. Lib 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)