Description Usage Arguments Value Author(s) Examples
it is normalizing each row to have L2 norm as 1 or sum as 1
1 | quick.norm(A, mod = 2)
|
A |
Input matrix, n by p |
mod |
1: make each row has L2 norm as 1 2: make each row has sum as 1 |
A normalized n by p matrix will be returned
Jungsuk Kwac
1 2 | quick.norm(matrix(rnorm(9),3,3))
quick.norm(matrix(rnorm(9),3,3),mod=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.