#include <Sacado_Fad_GeneralFadExpr.hpp>
Inheritance diagram for Sacado::Fad::Expr< GeneralFad< T, Storage > >:

Public Member Functions | |
| Expr () | |
| Default constructor. | |
| Expr (const T &x) | |
Constructor with supplied value x. | |
| Expr (const int sz, const T &x) | |
Constructor with size sz and value x. | |
| Expr (const int sz, const int i, const T &x) | |
Constructor with size sz, index i, and value x. | |
| Expr (const Expr &x) | |
| Copy constructor. | |
| template<typename S> | |
| Expr (const Expr< S > &x) | |
| Copy constructor from any Expression object. | |
| ~Expr () | |
| Destructor. | |
This template class represents a simple GeneralFad expression and mixes-in the GeneralFad interface and the expression template interface.
Definition at line 48 of file Sacado_Fad_GeneralFadExpr.hpp.
| Sacado::Fad::Expr< GeneralFad< T, Storage > >::Expr | ( | ) | [inline] |
| Sacado::Fad::Expr< GeneralFad< T, Storage > >::Expr | ( | const T & | x | ) | [inline] |
Constructor with supplied value x.
Initializes value to x and derivative array is empty
Definition at line 60 of file Sacado_Fad_GeneralFadExpr.hpp.
| Sacado::Fad::Expr< GeneralFad< T, Storage > >::Expr | ( | const int | sz, | |
| const T & | x | |||
| ) | [inline] |
Constructor with size sz and value x.
Initializes value to x and derivative array 0 of length sz
Definition at line 67 of file Sacado_Fad_GeneralFadExpr.hpp.
| Sacado::Fad::Expr< GeneralFad< T, Storage > >::Expr | ( | const int | sz, | |
| const int | i, | |||
| const T & | x | |||
| ) | [inline] |
Constructor with size sz, index i, and value x.
Initializes value to x and derivative array of length sz as row i of the identity matrix, i.e., sets derivative component i to 1 and all other's to zero.
Definition at line 76 of file Sacado_Fad_GeneralFadExpr.hpp.
| Sacado::Fad::Expr< GeneralFad< T, Storage > >::Expr | ( | const Expr< GeneralFad< T, Storage > > & | x | ) | [inline] |
| Sacado::Fad::Expr< GeneralFad< T, Storage > >::Expr | ( | const Expr< S > & | x | ) | [inline] |
Copy constructor from any Expression object.
Definition at line 84 of file Sacado_Fad_GeneralFadExpr.hpp.
| Sacado::Fad::Expr< GeneralFad< T, Storage > >::~Expr | ( | ) | [inline] |
1.4.7