Initial commit of functions from github.com/btracey/optimize

Fixed.

On Oct 12, 2014, at 8:12 AM, Vladimír Chalupecký <notifications@github.com> wrote:

> In gradientdescent.go:
> 
> > @@ -0,0 +1,52 @@
> > +// Copyright ©2014 The gonum Authors. All rights reserved.
> > +// Use of this source code is governed by a BSD-style
> > +// license that can be found in the LICENSE file.
> > +
> > +package opt
> > +
> > +import "github.com/gonum/floats"
> > +
> > +// GradientDescent is a Method that performs gradient-based optimization. Gradient
> > +// Descent performs successive steps along the direction of the gradient. The
> > +// LinesearchMethod specifies the kind of linesearch to be done, and StepSizer determines
> > +// the initial step size of each direction. If NoLinesearch is true, no linesearch
> NoLinesearch has been removed
> 
> —
> Reply to this email directly or view it on GitHub.
>