"Source: Text/Basics/Mat.text";
"Line: 972";
"Date: Thu Sep 25 14:47:46 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Basics/Mat.text, line: 972
// Example: H27E5 ()
print "Example: H27E5";
ei := GetEchoInput();
SetEchoInput(true);
A := Matrix(6,
    [ 9, 1, 7, -3, 2, -1,   
      3, -4, -5, 9, 2, 7, 
      7, 1, 0, 1, 8, 22, 
      -3, 3, 3, 8, 8, 37,
      -9, 0, 7, -1, 2, 3,
      7, 2, -2, 4, 3, 47 ]);
A;
Submatrix(A, 2,2, 3,3);
SubmatrixRange(A, 2,2, 3,3);
S := $1;
InsertBlock(~A, S, 5,5);
A;
RowSubmatrix(A, 5, 2);     
RowSubmatrixRange(A, 2, 3);
RowSubmatrix(A, 2, 0);
SetEchoInput(ei);
