Skip to content

Commit

Permalink
multidim minimization files moved into multidim/ and created multidim…
Browse files Browse the repository at this point in the history
…_minimization.rb
  • Loading branch information
lasandun committed Aug 10, 2014
1 parent b2a669d commit 8f93595
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 2 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require "#{File.expand_path(File.dirname(__FILE__))}/point_value_pair.rb"
require "#{File.expand_path(File.dirname(__FILE__))}/minimization.rb"
require "#{File.expand_path(File.dirname(__FILE__))}/../minimization.rb"
require "#{File.expand_path(File.dirname(__FILE__))}/brent_root_finder.rb"

module Minimization
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/powell.rb → lib/multidim/powell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#
# Powell's Algorithm for Multidimensional minimization
require "#{File.expand_path(File.dirname(__FILE__))}/point_value_pair.rb"
require "#{File.expand_path(File.dirname(__FILE__))}/minimization.rb"
require "#{File.expand_path(File.dirname(__FILE__))}/../minimization.rb"

module Minimization
class ConjugateDirectionMinimizer
Expand Down
5 changes: 5 additions & 0 deletions lib/multidim_minimization.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require_relative 'multidim/brent_root_finder'
require_relative 'multidim/conjugate_gradient'
require_relative 'multidim/nelder_mead'
require_relative 'multidim/point_value_pair'
require_relative 'multidim/powell'

0 comments on commit 8f93595

Please sign in to comment.