Class: Math::Expr::GeometricSequence

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

Overview

“each term is found by multiplying the previous term by a constant”

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) ⇒ GeometricSequence

Returns a new instance of GeometricSequence.



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

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