Description Usage Arguments Value Author(s) Examples
Many isotropic models can be defined employing a distance. In particular this function implements a distance employing weights and different powers.
1 | weight_pow_dist(x, y, w, p)
|
x |
First vector. |
y |
Second vector. |
w |
Weights for every coordinate in the vectors. |
p |
Powers for every coordinate in the vectors. To define a true norm every coordinate has to be greater than 1. |
Real value of the weighted p-distance.
Pedro Guarderas pedro.felipe.guarderas@gmail.com.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.