Class: Dicey::SumFrequencyCalculators::KroneckerSubstitution

Inherits:
BaseCalculator
  • Object
show all
Defined in:
lib/dicey/sum_frequency_calculators/kronecker_substitution.rb

Overview

Calculator for lists of dice with non-negative integer sides (fast).

Example dice: (1,2,3,4), (0,1,5,6), (5,4,5,4,5).

Based on Kronecker substitution method for polynomial multiplication.

Constant Summary

Constants inherited from BaseCalculator

BaseCalculator::RESULT_TYPES

Method Summary

Methods inherited from BaseCalculator

#call, #valid_for?