SciRuby/distribution

View on GitHub
data/template/distribution.erb

Summary

Maintainability
Test Coverage
require 'distribution/<%= distribution.downcase %>/ruby'
require 'distribution/<%= distribution.downcase %>/gsl'
#require 'distribution/<%= distribution.downcase %>/java'


module Distribution
  # TODO: Document this Distribution
  module <%= distribution.capitalize %>
    SHORTHAND='<%= distribution.downcase[0,4] %>'
    extend Distributable
    create_distribution_methods

    ##
    # :singleton-method: pdf(x <%= parameters %>)

    ##
    # :singleton-method: cdf(x <%= parameters %>)
    
    ##
    # :singleton-method: p_value(pr <%= parameters %>)

  end
end