|
Sacado
Development
|
A class for storing a contiguously allocated array of Fad objects. This is a general definition that will work for all Fad types, and is merely a wrapper around std::vector. A specialization for Sacado::Fad::DVFad providing contiguous allocation of values and derivatives is below. More...
#include <Sacado_Fad_Vector.hpp>

Public Types | |
|
typedef Sacado::ValueType < FadType >::type | ValueType |
| Typename of values. | |
Public Member Functions | |
| Vector (OrdinalType vec_size, OrdinalType deriv_sz, VectorDerivOrientation orient=Row) | |
| Constructor. | |
| Vector (const Vector &fv) | |
| Copy constructor. | |
| ~Vector () | |
| Destructor. | |
| Vector & | operator= (const Vector &fv) |
| Assignment. | |
| OrdinalType | size () const |
| Vector size. | |
| OrdinalType | deriv_size () const |
| Derivative size. | |
| OrdinalType | deriv_stride () const |
| Derivative array stride. | |
| VectorDerivOrientation | deriv_orientation () const |
| Derivative array orientation. | |
| FadType & | operator[] (OrdinalType i) |
| Array access. | |
| const FadType & | operator[] (OrdinalType i) const |
| Array access. | |
Protected Attributes | |
| OrdinalType | deriv_size_ |
| Size of derivative array. | |
| std::vector< FadType > | vec_ |
| Vector of Fad's. | |
A class for storing a contiguously allocated array of Fad objects. This is a general definition that will work for all Fad types, and is merely a wrapper around std::vector. A specialization for Sacado::Fad::DVFad providing contiguous allocation of values and derivatives is below.
1.8.5