Manuals/calci/MATRIXPACK
MATRIXPACK (a,NumberOfColumns)
- is any matrix.
- is the number of columns.
Description
- This function shows the pack of rearranging columns of the given matrix.
- In , is any matrix of any order.
- is the number of columns to be displayed.
- Here Matrix pack means it is rearranging columns of the given matrix.
- Suppose the matrix with 5 columns,after rearranging with 2 columns all the columns arrange with 2 columns.
- Also the remaining entries in that row will display in the next row.
- For Example MATRIXPACK([2,4,7;8,5,6;9,3,4],2),2 and 4 will show in first row& 7 alone will show in 2nd row.8 and 5 will show in 3rd row and so on.
Examples
1. MATRIXPACK([3,4,5;9,8,7],2)
3 | 4 |
5 | |
9 | 8 |
7 |
2. MATRIXPACK([[12,23,24,25,21],[5,9,8,3,6],[6,8,3,2,9]],3)
12 | 23 | 24 |
25 | 21 | |
5 | 9 | 8 |
3 | 6 | |
6 | 8 | 3 |
2 | 9 |