Public Types | Public Member Functions | Public Attributes | Private Types | List of all members
stan::VectorBuilder< used, T1, T2, T3, T4, T5, T6, T7 > Class Template Reference

#include "stan/math/prim/scal/meta/VectorBuilder.hpp"

Public Types

typedef helper::type type
 

Public Member Functions

 VectorBuilder (size_t n)
 
T1 & operator[] (size_t i)
 
type data ()
 

Public Attributes

helper a
 

Private Types

typedef VectorBuilderHelper< T1, used, contains_vector< T2, T3, T4, T5, T6, T7 >::valuehelper
 

Detailed Description

template<bool used, typename T1, typename T2, typename T3 = double, typename T4 = double, typename T5 = double, typename T6 = double, typename T7 = double>
class stan::VectorBuilder< used, T1, T2, T3, T4, T5, T6, T7 >

VectorBuilder allocates type T1 values to be used as intermediate values. There are 2 template parameters:

These values are mutable.

Definition at line 28 of file VectorBuilder.hpp.

Member Typedef Documentation

template<bool used, typename T1, typename T2, typename T3 = double, typename T4 = double, typename T5 = double, typename T6 = double, typename T7 = double>
typedef VectorBuilderHelper<T1, used, contains_vector<T2, T3, T4, T5, T6, T7>::value> stan::VectorBuilder< used, T1, T2, T3, T4, T5, T6, T7 >::helper
private

Definition at line 32 of file VectorBuilder.hpp.

template<bool used, typename T1, typename T2, typename T3 = double, typename T4 = double, typename T5 = double, typename T6 = double, typename T7 = double>
typedef helper::type stan::VectorBuilder< used, T1, T2, T3, T4, T5, T6, T7 >::type

Definition at line 35 of file VectorBuilder.hpp.

Constructor & Destructor Documentation

template<bool used, typename T1, typename T2, typename T3 = double, typename T4 = double, typename T5 = double, typename T6 = double, typename T7 = double>
stan::VectorBuilder< used, T1, T2, T3, T4, T5, T6, T7 >::VectorBuilder ( size_t  n)
inlineexplicit

Definition at line 38 of file VectorBuilder.hpp.

Member Function Documentation

template<bool used, typename T1, typename T2, typename T3 = double, typename T4 = double, typename T5 = double, typename T6 = double, typename T7 = double>
type stan::VectorBuilder< used, T1, T2, T3, T4, T5, T6, T7 >::data ( )
inline
template<bool used, typename T1, typename T2, typename T3 = double, typename T4 = double, typename T5 = double, typename T6 = double, typename T7 = double>
T1& stan::VectorBuilder< used, T1, T2, T3, T4, T5, T6, T7 >::operator[] ( size_t  i)
inline

Definition at line 40 of file VectorBuilder.hpp.

References MECModelEnuComparisons::i.

Member Data Documentation

template<bool used, typename T1, typename T2, typename T3 = double, typename T4 = double, typename T5 = double, typename T6 = double, typename T7 = double>
helper stan::VectorBuilder< used, T1, T2, T3, T4, T5, T6, T7 >::a

Definition at line 36 of file VectorBuilder.hpp.


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