vector.norm {InspectChangepoint} | 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