| norm_sq_phi | R Documentation |
Represent ||x'(phi)_i-x'(phi)_j||_2^2 as a quadratic function in phi —-
norm_sq_phi(X, v, XTv, XTv_norm, dir_XTv, v_norm, i, j)
v, |
the vector |
XTv, |
vector p by 1 |
XTv_norm, |
norm of XTv |
dir_XTv, |
vector p by 1 := XTv/XTv_norm |
v_norm, |
2-norm of vector v |
i, |
first index |
j, |
second index |
parameters: a, b, c the coefficients of the quadratic equation such that (ax^2 + bx + c <= 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.