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

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. | |
Public Member Functions | |
| ~LogicalSparse () | |
| Destructor. | |
| LogicalSparse & | operator= (const ValT &val) |
| 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. | |
Definition at line 289 of file Sacado_LFad_LogicalSparse.hpp.
| Sacado::LFad::LogicalSparse< ValT, LogT >::LogicalSparse | ( | ) | [inline] |
Default constructor.
Initializes value to 0 and derivative array is empty
Definition at line 302 of file Sacado_LFad_LogicalSparse.hpp.
| 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
Definition at line 309 of file Sacado_LFad_LogicalSparse.hpp.
| 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
Definition at line 316 of file Sacado_LFad_LogicalSparse.hpp.
| 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.
Definition at line 325 of file Sacado_LFad_LogicalSparse.hpp.
| Sacado::LFad::LogicalSparse< ValT, LogT >::LogicalSparse | ( | const LogicalSparse< ValT, LogT > & | x | ) | [inline] |
| Sacado::LFad::LogicalSparse< ValT, LogT >::LogicalSparse | ( | const Expr< S > & | x | ) | [inline] |
Copy constructor from any Expression object.
Definition at line 333 of file Sacado_LFad_LogicalSparse.hpp.
| Sacado::LFad::LogicalSparse< ValT, LogT >::~LogicalSparse | ( | ) | [inline] |
| LogicalSparse& Sacado::LFad::LogicalSparse< ValT, LogT >::operator= | ( | const ValT & | val | ) | [inline] |
Assignment operator with constant right-hand-side.
Reimplemented from Sacado::LFad::LogicalSparseImp< ValT, LogT >.
Definition at line 342 of file Sacado_LFad_LogicalSparse.hpp.
| LogicalSparse& Sacado::LFad::LogicalSparse< ValT, LogT >::operator= | ( | const LogicalSparse< ValT, LogT > & | x | ) | [inline] |
Assignment operator with LogicalSparse right-hand-side.
Definition at line 348 of file Sacado_LFad_LogicalSparse.hpp.
| LogicalSparse& Sacado::LFad::LogicalSparse< ValT, LogT >::operator= | ( | const Expr< S > & | x | ) | [inline] |
Assignment operator with any expression right-hand-side.
Reimplemented from Sacado::LFad::LogicalSparseImp< ValT, LogT >.
Definition at line 354 of file Sacado_LFad_LogicalSparse.hpp.
1.4.7