colspace takes as argument the matrix A of a linear
function f with respect to the canonical basis.
colspace returns a matrix. The columns of this matrix are a basis of the subspace generated by the columns of A.
colspace may have a variable name as second argument, where Xcas will store the dimension of the subspace generated by the columns of A.