v1.0
Static Public Member Functions
|
List of all members
general_matrix_vector_product_wrapper< Index, Scalar, StorageOrder, ConjugateLhs, ConjugateRhs > Struct Template Reference
#include <
level2_impl.h
>
Static Public Member Functions
static void
run
(Index
rows
, Index
cols
, const
Scalar
*lhs, Index lhsStride, const
Scalar
*rhs, Index rhsIncr,
Scalar
*
res
, Index resIncr,
Scalar
alpha
)
Member Function Documentation
◆
run()
template<typename Index , typename Scalar , int StorageOrder, bool ConjugateLhs, bool ConjugateRhs>
static void
general_matrix_vector_product_wrapper
< Index,
Scalar
, StorageOrder, ConjugateLhs, ConjugateRhs >::run
(
Index
rows
,
Index
cols
,
const
Scalar
*
lhs
,
Index
lhsStride
,
const
Scalar
*
rhs
,
Index
rhsIncr
,
Scalar
*
res
,
Index
resIncr
,
Scalar
alpha
)
inline
static
15
{
16
typedef
Eigen::internal::const_blas_data_mapper<Scalar, Index, StorageOrder>
LhsMapper;
17
typedef
Eigen::internal::const_blas_data_mapper<Scalar, Index, Eigen::RowMajor>
RhsMapper;
18
19
Eigen::internal::general_matrix_vector_product
<
Index
,
Scalar
, LhsMapper, StorageOrder, ConjugateLhs,
Scalar
,
20
RhsMapper, ConjugateRhs>
::run
(
rows
,
cols
, LhsMapper(lhs, lhsStride),
21
RhsMapper(rhs, rhsIncr),
res
, resIncr,
22
alpha
);
23
}
res
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
Definition:
PartialRedux_count.cpp:3
rows
int rows
Definition:
Tutorial_commainit_02.cpp:1
cols
int cols
Definition:
Tutorial_commainit_02.cpp:1
Scalar
SCALAR Scalar
Definition:
bench_gemm.cpp:45
Eigen::internal::const_blas_data_mapper
Definition:
BlasUtil.h:443
alpha
Scalar alpha
Definition:
level2_impl.h:41
Eigen::Index
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition:
Meta.h:83
Eigen::internal::general_matrix_vector_product
Definition:
BlasUtil.h:42
general_matrix_vector_product_wrapper::run
static void run(Index rows, Index cols, const Scalar *lhs, Index lhsStride, const Scalar *rhs, Index rhsIncr, Scalar *res, Index resIncr, Scalar alpha)
Definition:
level2_impl.h:14
References
alpha
,
cols
,
res
, and
rows
.
The documentation for this struct was generated from the following file:
level2_impl.h
general_matrix_vector_product_wrapper
Generated on Wed Aug 27 2025 17:05:26 for MercuryDPM by
1.9.1