class MixedModels::PointValuePair

class which holds the point,value pair

Attributes

point[R]
value[RW]

Public Class Methods

new(point, value) click to toggle source

Arguments

  • point - Coordinates of the point

  • value - Function value at the point

# File lib/mixed_models/NelderMeadWithConstraints.rb, line 36
def initialize(point, value)
  @point = point.clone
  @value  = value
end

Public Instance Methods

get_point_clone() click to toggle source

returns a copy of the point

# File lib/mixed_models/NelderMeadWithConstraints.rb, line 42
def get_point_clone
  return @point.clone
end