Up: Vector space [Top][Contents]
a.k.a.
The non-negative scalar
\[\begin{equation*} \| \vec{v} \| = \sqrt{\vec{v} \cdot \vec{v}}. \end{equation*} \]
… in the real plane \(\mathbb{R}^2\):
… in Scheme as
my-vector-length
(define (my-vector-length vector) (sqrt (my-vector-dot-product vector vector)))
in terms of my-vector-dot-product.
my-vector-dot-product