Sha256: 7652e5e1ccb749e814287575867e553429cd47684370df1dbf9b427ad6da9ca9

Contents?: true

Size: 236 Bytes

Versions: 2

Compression:

Stored size: 236 Bytes

Contents

# frozen_string_literal: true

require "matrix"
require "rubystats"

module Split
  module Algorithms
    class << self
      def beta_distribution_rng(a, b)
        Rubystats::BetaDistribution.new(a, b).rng
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
split-4.0.4 lib/split/algorithms.rb
split-4.0.3 lib/split/algorithms.rb