Sacado::LFad::Expr< LogicalSparseImp< ValT, LogT > > Class Template Reference

Expression template specialization for LogicalSparse. More...

#include <Sacado_LFad_LogicalSparse.hpp>

Inheritance diagram for Sacado::LFad::Expr< LogicalSparseImp< ValT, LogT > >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Expr ()
 Default constructor.
 Expr (const ValT &x)
 Constructor with supplied value x.
 Expr (const int sz, const ValT &x)
 Constructor with size sz and value x.
 Expr (const int sz, const int i, const ValT &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.

Detailed Description

template<typename ValT, typename LogT>
class Sacado::LFad::Expr< LogicalSparseImp< ValT, LogT > >

Expression template specialization for LogicalSparse.

Definition at line 197 of file Sacado_LFad_LogicalSparse.hpp.


Constructor & Destructor Documentation

template<typename ValT , typename LogT >
Sacado::LFad::Expr< LogicalSparseImp< ValT, LogT > >::Expr (  )  [inline]

Default constructor.

Definition at line 203 of file Sacado_LFad_LogicalSparse.hpp.

template<typename ValT , typename LogT >
Sacado::LFad::Expr< LogicalSparseImp< ValT, LogT > >::Expr ( const ValT &  x  )  [inline]

Constructor with supplied value x.

Initializes value to x and derivative array is empty

Definition at line 210 of file Sacado_LFad_LogicalSparse.hpp.

template<typename ValT , typename LogT >
Sacado::LFad::Expr< LogicalSparseImp< ValT, LogT > >::Expr ( 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 217 of file Sacado_LFad_LogicalSparse.hpp.

template<typename ValT , typename LogT >
Sacado::LFad::Expr< LogicalSparseImp< ValT, LogT > >::Expr ( 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 226 of file Sacado_LFad_LogicalSparse.hpp.

template<typename ValT , typename LogT >
Sacado::LFad::Expr< LogicalSparseImp< ValT, LogT > >::Expr ( const Expr< LogicalSparseImp< ValT, LogT > > &  x  )  [inline]

Copy constructor.

Definition at line 230 of file Sacado_LFad_LogicalSparse.hpp.

template<typename ValT , typename LogT >
template<typename S >
Sacado::LFad::Expr< LogicalSparseImp< ValT, LogT > >::Expr ( const Expr< S > &  x  )  [inline]

Copy constructor from any Expression object.

Definition at line 234 of file Sacado_LFad_LogicalSparse.hpp.

template<typename ValT , typename LogT >
Sacado::LFad::Expr< LogicalSparseImp< ValT, LogT > >::~Expr (  )  [inline]

Destructor.

Definition at line 238 of file Sacado_LFad_LogicalSparse.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:19:44 2011 for Sacado Package Browser (Single Doxygen Collection) by  doxygen 1.6.3