Class: FirstOrderDegradation
- Inherits:
-
Proc
- Object
- Proc
- FirstOrderDegradation
- Defined in:
- lib/cell_cycle/virginia_tech.rb
Overview
The following definitions are used to fine-step degradation.
Instance Method Summary collapse
Instance Method Details
#fine_step(step, n) ⇒ Object
17 18 19 20 |
# File 'lib/cell_cycle/virginia_tech.rb', line 17 def fine_step( step, n ) fine = step.to_f / n -> v { orig = v; n.times { v -= call * v * fine }; ( orig - v ) / step } end |