. mat A=1,2,3\4,5,6
. mat list A
A[2,3]
c1 c2 c3
r1 1 2 3
r2 4 5 6
. mat B=A[2,.]
. mat list B
symmetric B[1,1]
c1
r1 .
. /* I expected the following results.
> B[1,3]
> c1 c2 c3
> r1 4 5 6
> */
.
. capture noisily mat C=A[|2,2\2,3|]
A not found
. capture noisily mat list C
matrix C not found
. * I don't understand the reason for the error.
. mat list A
A[2,3]
c1 c2 c3
r1 1 2 3
r2 4 5 6
. mat B=A[2,.]
. mat list B
symmetric B[1,1]
c1
r1 .
. /* I expected the following results.
> B[1,3]
> c1 c2 c3
> r1 4 5 6
> */
.
. capture noisily mat C=A[|2,2\2,3|]
A not found
. capture noisily mat list C
matrix C not found
. * I don't understand the reason for the error.
Comment