# How to get a vector space generated by a list of matrices?

Sage is very nice.

I want to get a matrix space. For example,

- F=GF(p)
- V= " vector space over F generated by [M1, M2, ... ,Mn] ,which Mi are n by n matrices with its coefficients in F "

V consist of matrices. In general, how can I get such V?

Many thanks~