#include <Sacado_LFad_LogicalSparse.hpp>
Inheritance diagram for Sacado::LFad::LogicalSparse< ValT, LogT >:


Public Member Functions | |
| ~LogicalSparse () | |
| Destructor. | |
| LogicalSparse & | operator= (const ValT &v) |
| Assignment operator with constant right-hand-side. | |
| LogicalSparse & | operator= (const LogicalSparse &x) |
| Assignment operator with LogicalSparse right-hand-side. | |
| template<typename S> | |
| LogicalSparse & | operator= (const Expr< S > &x) |
| Assignment operator with any expression right-hand-side. | |
Initialization methods | |
| LogicalSparse () | |
| Default constructor. | |
| LogicalSparse (const ValT &x) | |
Constructor with supplied value x of type ValueT. | |
| LogicalSparse (const int sz, const ValT &x) | |
Constructor with size sz and value x. | |
| LogicalSparse (const int sz, const int i, const ValT &x) | |
Constructor with size sz, index i, and value x. | |
| LogicalSparse (const LogicalSparse &x) | |
| Copy constructor. | |
| template<typename S> | |
| LogicalSparse (const Expr< S > &x) | |
| Copy constructor from any Expression object. | |
Classes | |
| struct | apply |
| Turn LogicalSparse into a meta-function class usable with mpl::apply. More... | |
| Sacado::LFad::LogicalSparse< ValT, LogT >::LogicalSparse | ( | ) | [inline] |
Default constructor.
Initializes value to 0 and derivative array is empty
| Sacado::LFad::LogicalSparse< ValT, LogT >::LogicalSparse | ( | const ValT & | x | ) | [inline] |
Constructor with supplied value x of type ValueT.
Initializes value to x and derivative array is empty
| Sacado::LFad::LogicalSparse< ValT, LogT >::LogicalSparse | ( | const int | sz, | |
| const ValT & | x | |||
| ) | [inline] |
Constructor with size sz and value x.
Initializes value to x and derivative array 0 of length sz
| Sacado::LFad::LogicalSparse< ValT, LogT >::LogicalSparse | ( | const int | sz, | |
| const int | i, | |||
| const ValT & | 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.
1.4.7