View source: R/119_atoms_dist_ratio.R
| dist_ratio | R Documentation |
Computes norm(x - a)_2 / norm(x - b)_2, where a and b are constants. This is a quasiconvex atom.
dist_ratio(x, a, b)
x |
A vector expression |
a |
A numeric constant vector |
b |
A numeric constant vector |
An expression representing the distance ratio
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.