ROL
Loading...
Searching...
No Matches
Accessor< std::vector< Real > > Struct Template Reference

#include <ROL_Sacado_Traits.hpp>

Public Types

using container_type = std::vector<Real>
using value_type = typename std::vector<Real>::value_type
using size_type = typename std::vector<Real>::size_type

Public Member Functions

value_type get_value (const container_type &x, size_type i) const
void set_value (container_type &x, size_type i, value_type xi) const

Detailed Description

template<typename Real>
struct Accessor< std::vector< Real > >

Definition at line 45 of file ROL_Sacado_Traits.hpp.

Member Typedef Documentation

◆ container_type

template<typename Real>
using Accessor< std::vector< Real > >::container_type = std::vector<Real>

Definition at line 46 of file ROL_Sacado_Traits.hpp.

◆ value_type

template<typename Real>
using Accessor< std::vector< Real > >::value_type = typename std::vector<Real>::value_type

Definition at line 47 of file ROL_Sacado_Traits.hpp.

◆ size_type

template<typename Real>
using Accessor< std::vector< Real > >::size_type = typename std::vector<Real>::size_type

Definition at line 48 of file ROL_Sacado_Traits.hpp.

Member Function Documentation

◆ get_value()

template<typename Real>
value_type Accessor< std::vector< Real > >::get_value ( const container_type & x,
size_type i ) const
inline

Definition at line 49 of file ROL_Sacado_Traits.hpp.

◆ set_value()

template<typename Real>
void Accessor< std::vector< Real > >::set_value ( container_type & x,
size_type i,
value_type xi ) const
inline

Definition at line 52 of file ROL_Sacado_Traits.hpp.


The documentation for this struct was generated from the following file: