Description Usage Arguments Details Value Examples
This function interchanges the values of both matrices.This function works only if both matrices are of same size.
1 | swapMatrix(X,Y)
|
X |
A matrix. |
Y |
A matrix. |
If the size of both matrices are not same, it generates an error. This function swaps the matrices in memory(like pass by reference), it does not return the matrices, but interchanges their values.
Swapped Matrix X
and Y
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.