Sacado::Fad::Vector< OrdinalType, Sacado::Fad::DVFad< ValueType > > Class Template Reference

A class for storing a contiguously allocated array of Fad objects where the values and derivative arrays for each Fad object are stored in contiguous memory. To preserve this structure, many vector operations aren't supported (like resizing). More...

#include <Sacado_Fad_Vector.hpp>

Collaboration diagram for Sacado::Fad::Vector< OrdinalType, Sacado::Fad::DVFad< ValueType > >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Sacado::Fad::DVFad<
ValueType
FadType
 Synonym for Fad type.

Public Member Functions

 Vector (OrdinalType vec_size, OrdinalType deriv_size, VectorDerivOrientation orient=Row)
 Constructor.
 Vector (const Vector &fv)
 Copy constructor.
 ~Vector ()
 Destructor.
Vectoroperator= (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.
FadTypeoperator[] (OrdinalType i)
 Array access.
const FadTypeoperator[] (OrdinalType i) const
 Array access.
ValueTypevals ()
 Pointer to values.
const ValueTypevals () const
 Pointer to values.
ValueTypedx ()
 Pointer to derivatives.
const ValueTypedx () const
 Pointer to values.

Protected Attributes

OrdinalType deriv_size_
 Size of derivative array.
VectorDerivOrientation orient_
 Derivative array orientation.
OrdinalType stride_
 Derivative array stride.
std::vector< FadTypevec_
 Vector of Fad's.

Detailed Description

template<typename OrdinalType, typename ValueType>
class Sacado::Fad::Vector< OrdinalType, Sacado::Fad::DVFad< ValueType > >

A class for storing a contiguously allocated array of Fad objects where the values and derivative arrays for each Fad object are stored in contiguous memory. To preserve this structure, many vector operations aren't supported (like resizing).


The documentation for this class was generated from the following files:
Generated on Wed May 12 21:39:26 2010 for Sacado by  doxygen 1.4.7