editor / perpDot
Function: perpDot()
perpDot(
a,b):number
Defined in: math/perp-dot.ts:14
Perp dot product of two vectors (the 2D cross product).
Formula: a⊥ · b = aₓ b_y − a_y bₓ = |a| |b| sin θ, θ measured from a to b.
Parameters
a
first vector
b
second vector
Returns
number
the signed area of the parallelogram (a, b), zero for parallel vectors
Kind
math
See
REF-MATHWORLD-PERP-DOT