1,408 bytes added
, 21:23, 21 June 2017
<div style="font-size:30px">'''MATRIXPACK (a,NumberOfColumns)'''</div><br/>
*<math> a</math> is any matrix.
*<math>NumberOfColumns </math> is the number of columns.
==Description==
*This function shows the pack of rearranging columns of the given matrix.
*In <math>MATRIXPACK(a,NumberofColumns)</math>, <math>a</math> is any matrix of any order.
*<math>NumberofColumns</math> 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)
{| class="wikitable"
|-
| 3|| 4
|-
| 5
|-
| 9 || 8
|-
| 7
|}
2. MATRIXPACK([[12,23,24,25,21],[5,9,8,3,6],[6,8,3,2,9]],3)
{| class="wikitable"
|-
| 12 || 23 || 24
|-
| 25 || 21
|-
| 5 || 9 || 8
|-
| 3 || 6
|-
| 6 || 8 || 3
|-
| 2 || 9
|}
==See Also==
*[[Manuals/calci/PACK| PACK]]
*[[Manuals/calci/MATRIXOPERATORS| MATRIXOPERATORS]]
*[[Manuals/calci/MATRIXMULTIPLY| MATRIXMULTIPLY]]
==References==
*[http://www.stat.yale.edu/~yw562/teaching/598/lec14.pdf Covering numbers]
*[[Z_API_Functions | List of Main Z Functions]]
*[[ Z3 | Z3 home ]]