Public Types | Static Public Member Functions | List of all members
Eigen::internal::general_matrix_vector_product< Index, stan::math::var, RowMajor, ConjugateLhs, stan::math::var, ConjugateRhs > Struct Template Reference

#include "stan/math/rev/mat/fun/Eigen_NumTraits.hpp"

Public Types

enum  { LhsStorageOrder = RowMajor }
 
typedef stan::math::var LhsScalar
 
typedef stan::math::var RhsScalar
 
typedef scalar_product_traits< LhsScalar, RhsScalar >::ReturnType ResScalar
 

Static Public Member Functions

static EIGEN_DONT_INLINE void run (Index rows, Index cols, const LhsScalar *lhs, Index lhsStride, const RhsScalar *rhs, Index rhsIncr, ResScalar *res, Index resIncr, const RhsScalar &alpha)
 

Detailed Description

template<typename Index, bool ConjugateLhs, bool ConjugateRhs>
struct Eigen::internal::general_matrix_vector_product< Index, stan::math::var, RowMajor, ConjugateLhs, stan::math::var, ConjugateRhs >

Definition at line 307 of file Eigen_NumTraits.hpp.

Member Typedef Documentation

template<typename Index , bool ConjugateLhs, bool ConjugateRhs>
typedef stan::math::var Eigen::internal::general_matrix_vector_product< Index, stan::math::var, RowMajor, ConjugateLhs, stan::math::var, ConjugateRhs >::LhsScalar

Definition at line 310 of file Eigen_NumTraits.hpp.

template<typename Index , bool ConjugateLhs, bool ConjugateRhs>
typedef scalar_product_traits<LhsScalar, RhsScalar>::ReturnType Eigen::internal::general_matrix_vector_product< Index, stan::math::var, RowMajor, ConjugateLhs, stan::math::var, ConjugateRhs >::ResScalar

Definition at line 313 of file Eigen_NumTraits.hpp.

template<typename Index , bool ConjugateLhs, bool ConjugateRhs>
typedef stan::math::var Eigen::internal::general_matrix_vector_product< Index, stan::math::var, RowMajor, ConjugateLhs, stan::math::var, ConjugateRhs >::RhsScalar

Definition at line 311 of file Eigen_NumTraits.hpp.

Member Enumeration Documentation

template<typename Index , bool ConjugateLhs, bool ConjugateRhs>
anonymous enum
Enumerator
LhsStorageOrder 

Definition at line 314 of file Eigen_NumTraits.hpp.

314 { LhsStorageOrder = RowMajor };

Member Function Documentation

template<typename Index , bool ConjugateLhs, bool ConjugateRhs>
static EIGEN_DONT_INLINE void Eigen::internal::general_matrix_vector_product< Index, stan::math::var, RowMajor, ConjugateLhs, stan::math::var, ConjugateRhs >::run ( Index  rows,
Index  cols,
const LhsScalar lhs,
Index  lhsStride,
const RhsScalar rhs,
Index  rhsIncr,
ResScalar res,
Index  resIncr,
const RhsScalar alpha 
)
inlinestatic

Definition at line 316 of file Eigen_NumTraits.hpp.

References MECModelEnuComparisons::i, runNovaSAM::Index, fillBadChanDBTables::rows, and PandAna.Demos.tute_pid_validation::var.

320  {
321  for (Index i = 0; i < rows; i++) {
322  res[i * resIncr] += stan::math::var(new stan::math::gevv_vvv_vari(
323  &alpha,
324  (static_cast<int>(LhsStorageOrder) == static_cast<int>(ColMajor))
325  ? (&lhs[i])
326  : (&lhs[i * lhsStride]),
327  (static_cast<int>(LhsStorageOrder) == static_cast<int>(ColMajor))
328  ? (lhsStride)
329  : (1),
330  rhs, rhsIncr, cols));
331  }
332  }
const int cols[3]

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