AreNotParallel
Checks if two vectors are not parallel.
Syntax
-
AreNotParallel(u, v[, ε])-
uandvare vectors of the same dimension -
εis the epsilon to use for floating-point comparison
-
Description
If u and v are vectors of the same dimension, then AreNotParallel(u, v) is true iff u and v are not parallel, that is, iff there is no scalar κ such that u = κ⋅v or v = κ⋅u. The specified value of ε will be used as the epsilon for floating-point comparisons. If not specified, a default epsilon will be used.
Notes
The ∦ infix operator is implemented by the AreNotParallel function. This operator doesn’t support a custom epsilon.
Examples
❨3, 1, 2❩ ∦ ❨−2, 5, 1❩
true
AreNotParallel(❨3, 1, 2❩, ❨6, 2, 4.001❩, 1E−2)
false
See also
-
∥ (AreParallel)
-
⋅ (|, InnerProduct)