Fix documentation comment for Norm()
Merge pull request #7 from vladimir-ch/patch-1

Fix documentation comment for Norm()
Fix edge case in CumSum and CumProd

The CumSum and CumProd panicked when given an empty receiver.  Because
the docs don’t indicate that it should panic, I just have it return an
empty slice.
Improve test coverage

Tests now cover 100%.  However, the []float outputs are not checked in
funcs which operate by side effect.
run go fmt on floats_test

I knew I was forgetting something…
Merge pull request #9 from gonum/improve-test-coverage

Improve test coverage
Improve docs, and make the variable names consistent

Expanded most of the documentation, and renamed some of the variables
so that variables that are mutated are (almost) always called dst.
Update docs, remove change to Dot

Changed docs after feedback.

 Also got rid of code change to Dot, which should happen elsewhere.
remove extra blank line

don’t know how it snuck in
Change ulpDiff to avoid extra memory swap

The compiler might be smart enough to figure this out, but why chance
it?
Avoid redundant comparison in Nearest

The first iteration of the loop was calculating the s[0] distance
again.  By starting on the index 1, we avoid the duplicated
calculations.
avoid redundant comparison in Min

The first index of min was getting compared twice.  By starting on the
second index, we can avoid it.
avoid redundant comparison in Max

The first index was getting compared twice in Max.  By starting the
loop on the second index, we can avoid the duplicate comparison.
remove statements that set zero value to zero

The ind variable is initialized at zero anyway, there is no need to set
it again.
add note about panic in LogSumExp

Because it calls Max, it can panic.
Complete proposed changes to gonum/floats interface

As detailed in
https://groups.google.com/forum/#!topic/gonum-dev/kOSNjAYGpPc

Changed sigs for most functions which mutated inputs to no longer
return values.  Also made Add and AddTo align with other arithmetic ops.
update examples and test

Some examples and tests were no longer sensible, and were removed.  The
other ones were changed to use the new Add and AddTo functions.
Add test for AddTo, 100% coverage

Add a test for new function AddTo.  It was covered except for the
panics by the example code.  This brings coverage to 100%
run go fmt
Merge pull request #10 from gonum/improve-docs-and-unify-vars

Improve docs, and make the variable names consistent