Maple

Note: click on "edit" to view code

integrate matrix:

map(integrate, , );

example:

map(integrate, A, x=0..3);

select submatrix:

[.., ..];

example

A[1..2, 5..7]

A[2,3]