[top][index]
search for:

reshape -- reshape a matrix

reshape(F,G,m) -- reshapes the matrix m to give a map from G to F.

It yields the matrix obtained from m of shape F <--- G, by taking elements from the first row of m, then the second, and so on, filling them into the result row by row. Currently, it is assumed that m and the result both have the same number of entries. The resulting map is always of degree zero.

Ways to use reshape :

  • reshape(Module,Module,Matrix)

  • [top][index]
    search for: