walk_step | R Documentation |
Modifies the matrix while keeping the column and row sums constant, as well as leaving the positions strictly preceding (k,l) in lexicographical order invariant.
walk_step(M, k, l)
M |
matrix |
k , l |
Coordinates of the first element that is not invariant |
boolean indicating whether the step left the matrix invariant
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.