Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Minimization algorithms on pure Ruby
Ruby
branch: master
Failed to load latest commit information.
lib Version on separate file
spec Merged lasandun branch
.gitignore
Gemfile Merged lasandun branch
Gemfile.lock Merged lasandun branch
History.txt New attibute iterations
LICENSE.txt Change license to BSD 2-Clause
Manifest.txt spec file names modified
README.md Merged lasandun branch
Rakefile Merged lasandun branch
minimization.gemspec Version on separate file

README.md

= minimization

== DESCRIPTION:

Minimization algorithms on pure Ruby.

== FEATURES/PROBLEMS:

Unidimensional:

  • Newton-Rahpson (requires first and second derivative)
  • Golden Section
  • Brent (Port of GSL code)

Multidimensional:

  • Fletcher-Reeves (requires first derivative)
  • Polak Rebirer (requires first derivative)
  • Nelder-Mead
  • Powell's method

If you needs speed, use rb-gsl

== SYNOPSIS:

d=Minimization::Brent.new(-1000,20000 , proc {|x| x**2})

d.iterate

puts d.x_minimum puts d.f_minimum

== REQUIREMENTS:

  • Pure Ruby

== INSTALL:

sudo gem install minimization

== API:

http://ruby-statsample.rubyforge.org/minimization/

== LICENSE:

BSD 2-clause (See LICENSE.txt)

Something went wrong with that request. Please try again.