Stokhos  Development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Protected Attributes | List of all members
Stokhos::LinearGrowthRule< value_type > Class Template Reference

A linear growth rule. More...

#include <Stokhos_GrowthRules.hpp>

Inheritance diagram for Stokhos::LinearGrowthRule< value_type >:
Inheritance graph
[legend]
Collaboration diagram for Stokhos::LinearGrowthRule< value_type >:
Collaboration graph
[legend]

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.
 
- Public Member Functions inherited from Stokhos::GrowthRule< value_type >
 GrowthRule ()
 Constructor.
 
virtual ~GrowthRule ()
 Destructor.
 

Protected Attributes

value_type a
 Slope.
 
value_type b
 Offset.
 

Detailed Description

template<typename value_type>
class Stokhos::LinearGrowthRule< value_type >

A linear growth rule.


The documentation for this class was generated from the following file: