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

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

Public Types

typedef stan::math::var LhsScalar
 
typedef stan::math::var RhsScalar
 
typedef scalar_product_traits< LhsScalar, RhsScalar >::ReturnType ResScalar
 

Static Public Member Functions

static void run (Index rows, Index cols, Index depth, const LhsScalar *lhs, Index lhsStride, const RhsScalar *rhs, Index rhsStride, ResScalar *res, Index resStride, const ResScalar &alpha, level3_blocking< LhsScalar, RhsScalar > &, GemmParallelInfo< Index > *)
 

Detailed Description

template<typename Index, int LhsStorageOrder, bool ConjugateLhs, int RhsStorageOrder, bool ConjugateRhs>
struct Eigen::internal::general_matrix_matrix_product< Index, stan::math::var, LhsStorageOrder, ConjugateLhs, stan::math::var, RhsStorageOrder, ConjugateRhs, ColMajor >

Definition at line 336 of file Eigen_NumTraits.hpp.

Member Typedef Documentation

template<typename Index , int LhsStorageOrder, bool ConjugateLhs, int RhsStorageOrder, bool ConjugateRhs>
typedef stan::math::var Eigen::internal::general_matrix_matrix_product< Index, stan::math::var, LhsStorageOrder, ConjugateLhs, stan::math::var, RhsStorageOrder, ConjugateRhs, ColMajor >::LhsScalar

Definition at line 339 of file Eigen_NumTraits.hpp.

template<typename Index , int LhsStorageOrder, bool ConjugateLhs, int RhsStorageOrder, bool ConjugateRhs>
typedef scalar_product_traits<LhsScalar, RhsScalar>::ReturnType Eigen::internal::general_matrix_matrix_product< Index, stan::math::var, LhsStorageOrder, ConjugateLhs, stan::math::var, RhsStorageOrder, ConjugateRhs, ColMajor >::ResScalar

Definition at line 342 of file Eigen_NumTraits.hpp.

template<typename Index , int LhsStorageOrder, bool ConjugateLhs, int RhsStorageOrder, bool ConjugateRhs>
typedef stan::math::var Eigen::internal::general_matrix_matrix_product< Index, stan::math::var, LhsStorageOrder, ConjugateLhs, stan::math::var, RhsStorageOrder, ConjugateRhs, ColMajor >::RhsScalar

Definition at line 340 of file Eigen_NumTraits.hpp.

Member Function Documentation

template<typename Index , int LhsStorageOrder, bool ConjugateLhs, int RhsStorageOrder, bool ConjugateRhs>
static void Eigen::internal::general_matrix_matrix_product< Index, stan::math::var, LhsStorageOrder, ConjugateLhs, stan::math::var, RhsStorageOrder, ConjugateRhs, ColMajor >::run ( Index  rows,
Index  cols,
Index  depth,
const LhsScalar lhs,
Index  lhsStride,
const RhsScalar rhs,
Index  rhsStride,
ResScalar res,
Index  resStride,
const ResScalar alpha,
level3_blocking< LhsScalar, RhsScalar > &  ,
GemmParallelInfo< Index > *   
)
inlinestatic

Definition at line 343 of file Eigen_NumTraits.hpp.

References cols, MECModelEnuComparisons::i, runNovaSAM::Index, and updateRunHistoryTables::run.

347  {
348  for (Index i = 0; i < cols; i++) {
349  general_matrix_vector_product<
350  Index, LhsScalar, LhsStorageOrder, ConjugateLhs, RhsScalar,
351  ConjugateRhs>::run(rows, depth, lhs, lhsStride,
352  &rhs[(static_cast<int>(RhsStorageOrder)
353  == static_cast<int>(ColMajor))
354  ? (i * rhsStride)
355  : (i)],
356  (static_cast<int>(RhsStorageOrder)
357  == static_cast<int>(ColMajor))
358  ? (1)
359  : (rhsStride),
360  &res[i * resStride], 1, alpha);
361  }
362  }
const int cols[3]

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