Method: MS::Lipid::Search::ProbabilityDistribution#initialize

Defined in:
lib/ms/lipid/search/probability_distribution.rb

#initialize(location, scale, shape, type = DEFAULT_TYPE) ⇒ ProbabilityDistribution

Returns a new instance of ProbabilityDistribution.



13
14
15
16
# File 'lib/ms/lipid/search/probability_distribution.rb', line 13

def initialize(location, scale, shape, type=DEFAULT_TYPE)
  @location, @scale, @shape = location, scale, shape
  @type = type
end