From 019cac1f74973642e5c96c5a7ce4390355045636 Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Mon, 4 Apr 2016 20:25:51 +1000 Subject: [PATCH] Add some links to wikipedia pages --- src/vector.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/vector.rs b/src/vector.rs index a6ef745..6b8a80e 100644 --- a/src/vector.rs +++ b/src/vector.rs @@ -100,7 +100,9 @@ use approx::ApproxEq; use array::{Array, ElementWise}; use num::{BaseNum, BaseFloat, PartialOrd}; -/// Vectors that can be added together and multiplied by scalars. +/// Vectors that can be [added](http://mathworld.wolfram.com/VectorAddition.html) +/// together and [multiplied](https://en.wikipedia.org/wiki/Scalar_multiplication) +/// by scalars. /// /// # Required operators /// @@ -523,7 +525,8 @@ impl Vector4 { } } -/// Vectors that also have a dot (or inner) product. +/// Vectors that also have a [dot](https://en.wikipedia.org/wiki/Dot_product) +/// (or [inner](https://en.wikipedia.org/wiki/Inner_product_space)) product. /// /// The dot product allows for the definition of other useful operations, like /// finding the magnitude of a vector or normalizing it.