Description Usage Arguments Details Value Examples
Compuetes the norm of a vector
1 | rthnorm(x, p = 2, nthreads = rth.nthreads())
|
x |
a numeric vector |
p |
type of norm to compute |
nthreads |
An optional argument for specifying the number of threads (in the case of OpenMP or TBB backends) that the routine should (at most) use. Does nothing with a CUDA backend. See nthreads. |
Computes the norm of a vector similar to norm()
Norm of a vector
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.