#include <Sacado_ELRFad_SLFad.hpp>
Inheritance diagram for Sacado::ELRFad::SLFad< ValueT, Num, ValueT >:

Initialization methods | |
| SLFad () | |
| Default constructor. | |
| SLFad (const ValueT &x) | |
Constructor with supplied value x. | |
| SLFad (const int sz, const ValueT &x) | |
Constructor with size sz and value x. | |
| SLFad (const int sz, const int i, const ValueT &x) | |
Constructor with size sz, index i, and value x. | |
| SLFad (const SLFad &x) | |
| Copy constructor. | |
| template<typename S> | |
| SLFad (const Expr< S > &x) | |
| Copy constructor from any Expression object. | |
Public Member Functions | |
| ~SLFad () | |
| Destructor. | |
| SLFad & | operator= (const ValueT &val) |
| Assignment operator with constant right-hand-side. | |
| SLFad & | operator= (const SLFad &x) |
| Assignment operator with DFad right-hand-side. | |
| template<typename S> | |
| SLFad & | operator= (const Expr< S > &x) |
| Assignment operator with any expression right-hand-side. | |
This is the specialization of SLFad<ValueT,ScalarT> for when ValueT and ScalarT are the same type. It removes an extra constructor that would be duplicated in this case.
Definition at line 162 of file Sacado_ELRFad_SLFad.hpp.
| Sacado::ELRFad::SLFad< ValueT, Num, ValueT >::SLFad | ( | ) | [inline] |
Default constructor.
Initializes value to 0 and derivative array is empty
Definition at line 176 of file Sacado_ELRFad_SLFad.hpp.
| Sacado::ELRFad::SLFad< ValueT, Num, ValueT >::SLFad | ( | const ValueT & | x | ) | [inline] |
Constructor with supplied value x.
Initializes value to x and derivative array is empty
Definition at line 182 of file Sacado_ELRFad_SLFad.hpp.
| Sacado::ELRFad::SLFad< ValueT, Num, ValueT >::SLFad | ( | const int | sz, | |
| const ValueT & | x | |||
| ) | [inline] |
Constructor with size sz and value x.
Initializes value to x and derivative array 0 of length sz
Definition at line 189 of file Sacado_ELRFad_SLFad.hpp.
| Sacado::ELRFad::SLFad< ValueT, Num, ValueT >::SLFad | ( | const int | sz, | |
| const int | i, | |||
| const ValueT & | 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 198 of file Sacado_ELRFad_SLFad.hpp.
| Sacado::ELRFad::SLFad< ValueT, Num, ValueT >::SLFad | ( | const SLFad< ValueT, Num, ValueT > & | x | ) | [inline] |
| Sacado::ELRFad::SLFad< ValueT, Num, ValueT >::SLFad | ( | const Expr< S > & | x | ) | [inline] |
Copy constructor from any Expression object.
Definition at line 206 of file Sacado_ELRFad_SLFad.hpp.
| Sacado::ELRFad::SLFad< ValueT, Num, ValueT >::~SLFad | ( | ) | [inline] |
| SLFad& Sacado::ELRFad::SLFad< ValueT, Num, ValueT >::operator= | ( | const ValueT & | val | ) | [inline] |
Assignment operator with constant right-hand-side.
Definition at line 215 of file Sacado_ELRFad_SLFad.hpp.
| SLFad& Sacado::ELRFad::SLFad< ValueT, Num, ValueT >::operator= | ( | const SLFad< ValueT, Num, ValueT > & | x | ) | [inline] |
Assignment operator with DFad right-hand-side.
Definition at line 221 of file Sacado_ELRFad_SLFad.hpp.
| SLFad& Sacado::ELRFad::SLFad< ValueT, Num, ValueT >::operator= | ( | const Expr< S > & | x | ) | [inline] |
Assignment operator with any expression right-hand-side.
Definition at line 227 of file Sacado_ELRFad_SLFad.hpp.
1.4.7