Class: Math::Expr::RecursiveSequence

Inherits:
Sequence show all
Defined in:
lib/ruuuby/math/expr/seq/recursive.rb

Overview

“each term is dependent on the values of the previous N terms”

Instance Attribute Summary

Attributes inherited from Sequence

#input_type

Instance Method Summary collapse

Methods inherited from Sequence

#A∀ₓ, #[], #calc_val_at, #populate_cache, #∀ₓ, #∀ₓᵢ, #∋?

Constructor Details

#initialize(max_cache_index, input_type) ⇒ RecursiveSequence

Returns a new instance of RecursiveSequence.



11
12
13
# File 'lib/ruuuby/math/expr/seq/recursive.rb', line 11

def initialize(max_cache_index, input_type)
  super(max_cache_index, input_type)
end