Skip to content

boutil/minimization

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

= minimization

* http://github.com/clbustos/minimization

== DESCRIPTION:

Minimization algorithms on pure Ruby. 

== FEATURES/PROBLEMS:

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

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:

GPL-2 (See LICENSE.txt)

About

Minimization algorithms on pure Ruby

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%