Lines Matching refs:ResultType
19 template<typename Lhs, typename Rhs, typename ResultType>
20 static void sparse_sparse_product_with_pruning_impl(const Lhs& lhs, const Rhs& rhs, ResultType& res, const typename ResultType::RealScalar& tolerance)
45 if(ResultType::IsRowMajor)
76 template<typename Lhs, typename Rhs, typename ResultType,
79 int ResStorageOrder = traits<ResultType>::Flags&RowMajorBit>
82 template<typename Lhs, typename Rhs, typename ResultType>
83 struct sparse_sparse_product_with_pruning_selector<Lhs,Rhs,ResultType,ColMajor,ColMajor,ColMajor>
86 typedef typename ResultType::RealScalar RealScalar;
88 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, const RealScalar& tolerance)
90 typename remove_all<ResultType>::type _res(res.rows(), res.cols());
91 internal::sparse_sparse_product_with_pruning_impl<Lhs,Rhs,ResultType>(lhs, rhs, _res, tolerance);
96 template<typename Lhs, typename Rhs, typename ResultType>
97 struct sparse_sparse_product_with_pruning_selector<Lhs,Rhs,ResultType,ColMajor,ColMajor,RowMajor>
99 typedef typename ResultType::RealScalar RealScalar;
100 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, const RealScalar& tolerance)
103 typedef SparseMatrix<typename ResultType::Scalar,ColMajor,typename ResultType::Index> SparseTemporaryType;
110 template<typename Lhs, typename Rhs, typename ResultType>
111 struct sparse_sparse_product_with_pruning_selector<Lhs,Rhs,ResultType,RowMajor,RowMajor,RowMajor>
113 typedef typename ResultType::RealScalar RealScalar;
114 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, const RealScalar& tolerance)
117 typename remove_all<ResultType>::type _res(res.rows(), res.cols());
118 internal::sparse_sparse_product_with_pruning_impl<Rhs,Lhs,ResultType>(rhs, lhs, _res, tolerance);
123 template<typename Lhs, typename Rhs, typename ResultType>
124 struct sparse_sparse_product_with_pruning_selector<Lhs,Rhs,ResultType,RowMajor,RowMajor,ColMajor>
126 typedef typename ResultType::RealScalar RealScalar;
127 static void run(const Lhs& lhs, const Rhs& rhs, ResultType& res, const RealScalar& tolerance)
129 typedef SparseMatrix<typename ResultType::Scalar,ColMajor,typename Lhs::Index> ColMajorMatrixLhs;
130 typedef SparseMatrix<typename ResultType::Scalar,ColMajor,typename Lhs::Index> ColMajorMatrixRhs;
133 internal::sparse_sparse_product_with_pruning_impl<ColMajorMatrixLhs,ColMajorMatrixRhs,ResultType>(colLhs, colRhs, res, tolerance);
136 // typedef SparseMatrix<typename ResultType::Scalar> SparseTemporaryType;