32#ifndef SACADO_FAD_VECTOR_HPP
33#define SACADO_FAD_VECTOR_HPP
54 template <
typename OrdinalType,
typename FadType >
116 template <
typename OrdinalType,
typename ValueType>
Sacado::Fad::DFad< double > FadType
Fad specializations for Teuchos::BLAS wrappers.
Forward-mode AD class using dynamic memory allocation and expression templates.
OrdinalType deriv_size_
Size of derivative array.
Sacado::Fad::DVFad< ValueType > FadType
Synonym for Fad type.
const FadType & operator[](OrdinalType i) const
Array access.
OrdinalType stride_
Derivative array stride.
Vector(const Vector &fv)
Copy constructor.
OrdinalType deriv_size() const
Derivative size.
VectorDerivOrientation deriv_orientation() const
Derivative array orientation.
VectorDerivOrientation orient_
Derivative array orientation.
OrdinalType deriv_stride() const
Derivative array stride.
OrdinalType size() const
Vector size.
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 ...
VectorDerivOrientation deriv_orientation() const
Derivative array orientation.
OrdinalType deriv_stride() const
Derivative array stride.
const FadType & operator[](OrdinalType i) const
Array access.
std::vector< FadType > vec_
Vector of Fad's.
Vector(OrdinalType vec_size, OrdinalType deriv_sz, VectorDerivOrientation orient=Row)
Constructor.
FadType & operator[](OrdinalType i)
Array access.
Vector & operator=(const Vector &fv)
Assignment.
Sacado::ValueType< FadType >::type ValueType
Typename of values.
OrdinalType deriv_size_
Size of derivative array.
OrdinalType size() const
Vector size.
Vector(const Vector &fv)
Copy constructor.
OrdinalType deriv_size() const
Derivative size.
@ Column
Derivatives are stored row-wise (strided)
Base template specification for ValueType.