Up: Vector length [Top][Contents]
… 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