Description Usage Arguments Value
Sign function that considers 0 both positive and negative. Returns 1 if the two numbers are the same sign, 0 otherwise. Vectorized (compares vectors elementwise).
1 | flexsign(v1, v2)
|
v1 |
First vector |
v2 |
Second vector |
Returns an n x n distance matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.