HP Forums
ADDROW and ADDCOL (7820) - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: ADDROW and ADDCOL (7820) (/thread-4011.html)



ADDROW and ADDCOL (7820) - Eddie W. Shore - 05-29-2015 02:42 AM

I am detecting a problem with ADDROW and ADDCOL, which seems to completely ingore the vector.

Example:

Let M1:=[[1,2][3,4]]

ADDROW(M1, [5,6], 3) is returns the original matrix (does nothing)

ADDCOL(M1, [5,6], 3) also does nothing.

Anyone else gets this problem?


RE: ADDROW and ADDCOL (7820) - salvomic - 05-29-2015 05:22 AM

(05-29-2015 02:42 AM)Eddie W. Shore Wrote:  I am detecting a problem with ADDROW and ADDCOL, which seems to completely ingore the vector.

Example:

Let M1:=[[1,2][3,4]]

ADDROW(M1, [5,6], 3) is returns the original matrix (does nothing)

ADDCOL(M1, [5,6], 3) also does nothing.

Anyone else gets this problem?

hi,
here it works well in CAS, but has some strange behavior in Home:
with [[1,2],[3,4]] the first time time ADDCOL(M1, [5,6], 3) doesn't nothing, then add the column, ADDCOL(M1, [5,6], 2) doesn't nothing..., in CAS ok.

Salvo