Public Member Functions | Public Attributes | List of all members
stan::model::cons_index_list< H, T > Struct Template Reference

#include "stan/model/indexing/index_list.hpp"

Public Member Functions

 cons_index_list (const H &head, const T &tail)
 

Public Attributes

const H head_
 
const T tail_
 

Detailed Description

template<typename H, typename T>
struct stan::model::cons_index_list< H, T >

Template structure for an index list consisting of a head and tail index.

Template Parameters
Htype of index stored as the head of the list.
Ttype of index list stored as the tail of the list.

Definition at line 23 of file index_list.hpp.

Constructor & Destructor Documentation

template<typename H, typename T>
stan::model::cons_index_list< H, T >::cons_index_list ( const H &  head,
const T tail 
)
inlineexplicit

Construct a non-empty index list with the specified index for a head and specified index list for a tail.

Parameters
headIndex for head.
tailIndex list for tail.

Definition at line 34 of file index_list.hpp.

35  : head_(head),
36  tail_(tail) {
37  }
Eigen::Matrix< T, Eigen::Dynamic, 1 > head(const Eigen::Matrix< T, Eigen::Dynamic, 1 > &v, size_t n)
Definition: head.hpp:24
def tail(path, window=20)
Definition: log_trawl.py:24

Member Data Documentation

template<typename H, typename T>
const H stan::model::cons_index_list< H, T >::head_

Definition at line 24 of file index_list.hpp.

Referenced by stan::model::assign(), stan::model::rvalue(), and TEST().

template<typename H, typename T>
const T stan::model::cons_index_list< H, T >::tail_

Definition at line 25 of file index_list.hpp.

Referenced by stan::model::assign(), and stan::model::rvalue().


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