Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
stan::math::internal::ops_partials_edge< double, std::vector< var > > Class Template Reference

#include "stan/math/rev/mat/meta/operands_and_partials.hpp"

Public Types

typedef std::vector< varOp
 
typedef Eigen::VectorXd partials_t
 

Public Member Functions

 ops_partials_edge (const Op &op)
 

Public Attributes

partials_t partials_
 
broadcast_array< partials_tpartials_vec_
 

Private Member Functions

void dump_partials (double *partials)
 
void dump_operands (vari **varis)
 
int size ()
 

Private Attributes

const Opoperands_
 

Friends

template<typename , typename , typename , typename , typename , typename >
class stan::math::operands_and_partials
 

Detailed Description

template<>
class stan::math::internal::ops_partials_edge< double, std::vector< var > >

Definition at line 16 of file operands_and_partials.hpp.

Member Typedef Documentation

typedef std::vector<var> stan::math::internal::ops_partials_edge< double, std::vector< var > >::Op

Definition at line 18 of file operands_and_partials.hpp.

typedef Eigen::VectorXd stan::math::internal::ops_partials_edge< double, std::vector< var > >::partials_t

Definition at line 19 of file operands_and_partials.hpp.

Constructor & Destructor Documentation

stan::math::internal::ops_partials_edge< double, std::vector< var > >::ops_partials_edge ( const Op op)
inlineexplicit

Member Function Documentation

void stan::math::internal::ops_partials_edge< double, std::vector< var > >::dump_operands ( vari **  varis)
inlineprivate

Definition at line 37 of file operands_and_partials.hpp.

References MECModelEnuComparisons::i.

37  {
38  for (size_t i = 0; i < this->operands_.size(); ++i) {
39  varis[i] = this->operands_[i].vi_;
40  }
41  }
void stan::math::internal::ops_partials_edge< double, std::vector< var > >::dump_partials ( double *  partials)
inlineprivate

Definition at line 32 of file operands_and_partials.hpp.

References MECModelEnuComparisons::i.

32  {
33  for (int i = 0; i < this->partials_.size(); ++i) {
34  partials[i] = this->partials_[i];
35  }
36  }
int stan::math::internal::ops_partials_edge< double, std::vector< var > >::size ( void  )
inlineprivate

Friends And Related Function Documentation

template<typename , typename , typename , typename , typename , typename >
friend class stan::math::operands_and_partials
friend

Definition at line 29 of file operands_and_partials.hpp.

Member Data Documentation

const Op& stan::math::internal::ops_partials_edge< double, std::vector< var > >::operands_
private

Definition at line 30 of file operands_and_partials.hpp.

partials_t stan::math::internal::ops_partials_edge< double, std::vector< var > >::partials_

Definition at line 20 of file operands_and_partials.hpp.

broadcast_array<partials_t> stan::math::internal::ops_partials_edge< double, std::vector< var > >::partials_vec_

Definition at line 21 of file operands_and_partials.hpp.


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