10#ifndef EIGEN_SELFADJOINT_MATRIX_VECTOR_H
11#define EIGEN_SELFADJOINT_MATRIX_VECTOR_H
23template<
typename Scalar,
typename Index,
int StorageOrder,
int UpLo,
bool ConjugateLhs,
bool ConjugateRhs,
int Version=Specialized>
24struct selfadjoint_matrix_vector_product;
26template<
typename Scalar,
typename Index,
int StorageOrder,
int UpLo,
bool ConjugateLhs,
bool ConjugateRhs,
int Version>
39template<
typename Scalar,
typename Index,
int StorageOrder,
int UpLo,
bool ConjugateLhs,
bool ConjugateRhs,
int Version>
53 IsRowMajor = StorageOrder==
RowMajor ? 1 : 0,
54 IsLower = UpLo ==
Lower ? 1 : 0,
163template<
typename Lhs,
int LhsMode,
typename Rhs>
178 template<
typename Dest>
182 typedef typename Dest::Scalar ResScalar;
183 typedef typename Rhs::Scalar RhsScalar;
192 * RhsBlasTraits::extractScalarFactor(
a_rhs);
195 EvalToDest = (Dest::InnerStrideAtCompileTime==1),
196 UseRhs = (ActualRhsTypeCleaned::InnerStrideAtCompileTime==1)
210 #ifdef EIGEN_DENSE_STORAGE_CTOR_PLUGIN
219 #ifdef EIGEN_DENSE_STORAGE_CTOR_PLUGIN
228 int(LhsUpLo),
bool(LhsBlasTraits::NeedToConjugate),
bool(RhsBlasTraits::NeedToConjugate)>::run
231 &lhs.coeffRef(0,0), lhs.outerStride(),
242template<
typename Lhs,
typename Rhs,
int RhsMode>
248 template<
typename Dest>
int i
Definition BiCGSTAB_step_by_step.cpp:9
#define EIGEN_RESTRICT
Definition Macros.h:1160
#define EIGEN_PLAIN_ENUM_MIN(a, b)
Definition Macros.h:1288
#define EIGEN_LOGICAL_XOR(a, b)
Definition Macros.h:1313
#define EIGEN_DEVICE_FUNC
Definition Macros.h:976
#define EIGEN_DONT_INLINE
Definition Macros.h:940
#define eigen_assert(x)
Definition Macros.h:1037
#define ei_declare_aligned_stack_constructed_variable(TYPE, NAME, SIZE, BUFFER)
Definition Memory.h:768
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
Definition PartialRedux_count.cpp:3
Scalar Scalar int size
Definition benchVecAdd.cpp:17
SCALAR Scalar
Definition bench_gemm.cpp:46
NumTraits< Scalar >::Real RealScalar
Definition bench_gemm.cpp:47
Expression of the product of two arbitrary matrices or vectors.
Definition Product.h:75
@ Lower
Definition Constants.h:209
@ Upper
Definition Constants.h:211
@ AlignedMax
Definition Constants.h:252
@ ColMajor
Definition Constants.h:319
@ RowMajor
Definition Constants.h:321
const unsigned int RowMajorBit
Definition Constants.h:66
RealScalar alpha
Definition level1_cplx_impl.h:147
EIGEN_DEVICE_FUNC unpacket_traits< Packet >::type predux(const Packet &a)
Definition GenericPacketMath.h:875
EIGEN_DEVICE_FUNC void pstore(Scalar *to, const Packet &from)
Definition GenericPacketMath.h:696
@ Lhs
Definition TensorContractionMapper.h:19
@ Rhs
Definition TensorContractionMapper.h:18
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T maxi(const T &x, const T &y)
Definition MathFunctions.h:1091
Namespace containing all symbols from the Eigen library.
Definition bench_norm.cpp:85
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition Meta.h:74
Definition BandTriangularSolver.h:13
Definition GenericPacketMath.h:107
Definition SelfadjointMatrixVector.h:29
static EIGEN_DONT_INLINE EIGEN_DEVICE_FUNC void run(Index size, const Scalar *lhs, Index lhsStride, const Scalar *rhs, Scalar *res, Scalar alpha)
Definition SelfadjointMatrixVector.h:41
static void run(Dest &dest, const Lhs &a_lhs, const Rhs &a_rhs, const Scalar &alpha)
Definition SelfadjointMatrixVector.h:249
Product< Lhs, Rhs >::Scalar Scalar
Definition SelfadjointMatrixVector.h:245
internal::remove_all< ActualLhsType >::type ActualLhsTypeCleaned
Definition SelfadjointMatrixVector.h:170
static EIGEN_DEVICE_FUNC void run(Dest &dest, const Lhs &a_lhs, const Rhs &a_rhs, const Scalar &alpha)
Definition SelfadjointMatrixVector.h:180
LhsBlasTraits::DirectLinearAccessType ActualLhsType
Definition SelfadjointMatrixVector.h:169
internal::blas_traits< Lhs > LhsBlasTraits
Definition SelfadjointMatrixVector.h:168
RhsBlasTraits::DirectLinearAccessType ActualRhsType
Definition SelfadjointMatrixVector.h:173
Product< Lhs, Rhs >::Scalar Scalar
Definition SelfadjointMatrixVector.h:166
internal::remove_all< ActualRhsType >::type ActualRhsTypeCleaned
Definition SelfadjointMatrixVector.h:174
internal::blas_traits< Rhs > RhsBlasTraits
Definition SelfadjointMatrixVector.h:172
Definition ProductEvaluators.h:793
Definition ForwardDeclarations.h:17
std::ptrdiff_t j
Definition tut_arithmetic_redux_minmax.cpp:2
Definition PacketMath.h:47