vector.norm | R Documentation |
Calculate the entrywise L_q norm of a vector or a matrix
vector.norm(v, q = 2, na.rm = FALSE)
v |
a vector of real numbers |
q |
a nonnegative real number or Inf |
na.rm |
boolean, whether to remove NA before calculation |
the entrywise L_q norm of a vector or a matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.