Description Usage Arguments Value
View source: R/method_inspect.R
Calculate the entrywise L_q norm of a vector or a matrix
1 | 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.