Stokhos Development
|
A linear growth rule. More...
#include <Stokhos_GrowthRules.hpp>
Public Member Functions | |
LinearGrowthRule (const value_type &a_=value_type(1), const value_type &b_=value_type(0)) | |
Constructor. | |
virtual | ~LinearGrowthRule () |
Destructor. | |
virtual value_type | operator() (const value_type &x) const |
Evaluate growth rule. | |
![]() | |
GrowthRule () | |
Constructor. | |
virtual | ~GrowthRule () |
Destructor. | |
virtual value_type | operator() (const value_type &x) const =0 |
Evaluate growth rule. | |
Protected Attributes | |
value_type | a |
Slope. | |
value_type | b |
Offset. | |
A linear growth rule.
|
inlinevirtual |
Evaluate growth rule.
Implements Stokhos::GrowthRule< value_type >.
References Stokhos::LinearGrowthRule< value_type >::a, and Stokhos::LinearGrowthRule< value_type >::b.