Eigen::internal::default_inner_product_impl< Lhs, Rhs, Conj > Struct Template Reference

#include <InnerProduct.h>

Public Types

using LhsScalar = typename traits< Lhs >::Scalar
 
using RhsScalar = typename traits< Rhs >::Scalar
 
using Op = scalar_inner_product_op< LhsScalar, RhsScalar, Conj >
 
using Evaluator = inner_product_evaluator< Op, Lhs, Rhs >
 
using result_type = typename Evaluator::Scalar
 

Static Public Member Functions

static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type run (const MatrixBase< Lhs > &a, const MatrixBase< Rhs > &b)
 

Member Typedef Documentation

◆ Evaluator

template<typename Lhs , typename Rhs , bool Conj>
using Eigen::internal::default_inner_product_impl< Lhs, Rhs, Conj >::Evaluator = inner_product_evaluator<Op, Lhs, Rhs>

◆ LhsScalar

template<typename Lhs , typename Rhs , bool Conj>
using Eigen::internal::default_inner_product_impl< Lhs, Rhs, Conj >::LhsScalar = typename traits<Lhs>::Scalar

◆ Op

template<typename Lhs , typename Rhs , bool Conj>
using Eigen::internal::default_inner_product_impl< Lhs, Rhs, Conj >::Op = scalar_inner_product_op<LhsScalar, RhsScalar, Conj>

◆ result_type

template<typename Lhs , typename Rhs , bool Conj>
using Eigen::internal::default_inner_product_impl< Lhs, Rhs, Conj >::result_type = typename Evaluator::Scalar

◆ RhsScalar

template<typename Lhs , typename Rhs , bool Conj>
using Eigen::internal::default_inner_product_impl< Lhs, Rhs, Conj >::RhsScalar = typename traits<Rhs>::Scalar

Member Function Documentation

◆ run()

template<typename Lhs , typename Rhs , bool Conj>
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type Eigen::internal::default_inner_product_impl< Lhs, Rhs, Conj >::run ( const MatrixBase< Lhs > &  a,
const MatrixBase< Rhs > &  b 
)
inlinestatic
238  {
239  Evaluator eval(a.derived(), b.derived(), Op());
241  }
Scalar * b
Definition: benchVecAdd.cpp:17
const Scalar * a
Definition: level2_cplx_impl.h:32
internal::nested_eval< T, 1 >::type eval(const T &xpr)
Definition: sparse_permutations.cpp:47
inner_product_evaluator< Op, Lhs, Rhs > Evaluator
Definition: InnerProduct.h:236
scalar_inner_product_op< LhsScalar, RhsScalar, Conj > Op
Definition: InnerProduct.h:235
void run(const string &dir_name, LinearSolver *linear_solver_pt, const unsigned nel_1d, bool mess_up_order)
Definition: two_d_poisson_compare_solvers.cc:317

References a, b, eval(), and run().


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