Home | History | Annotate | Download | only in Skyline

Lines Matching refs:Lhs

15 template<typename Lhs, typename Rhs, int ProductMode>
17 typedef const typename internal::nested<Lhs, Rhs::RowsAtCompileTime>::type LhsNested;
18 typedef const typename internal::nested<Rhs, Lhs::RowsAtCompileTime>::type RhsNested;
75 template<typename Lhs, typename Rhs>
76 EIGEN_STRONG_INLINE SkylineProduct(const Lhs& lhs, const Rhs& rhs)
77 : m_lhs(lhs), m_rhs(rhs) {
78 eigen_assert(lhs.cols() == rhs.rows());
105 EIGEN_STRONG_INLINE const _LhsNested& lhs() const {
121 template<typename Lhs, typename Rhs, typename Dest>
122 EIGEN_DONT_INLINE void skyline_row_major_time_dense_product(const Lhs& lhs, const Rhs& rhs, Dest& dst) {
123 typedef typename remove_all<Lhs>::type _Lhs;
125 typedef typename traits<Lhs>::Scalar Scalar;
139 for (Index row = 0; row < lhs.rows(); row++) {
140 dst(row, col) = lhs.coeffDiag(row) * rhs(row, col);
144 for (Index row = 0; row < lhs.rows(); row++) {
145 typename _Lhs::InnerLowerIterator lIt(lhs, row);
164 for (Index lhscol = 0; lhscol < lhs.cols(); lhscol++) {
165 typename _Lhs::InnerUpperIterator uIt(lhs, lhscol);
184 template<typename Lhs, typename Rhs, typename Dest>
185 EIGEN_DONT_INLINE void skyline_col_major_time_dense_product(const Lhs& lhs, const Rhs& rhs, Dest& dst) {
186 typedef typename remove_all<Lhs>::type _Lhs;
188 typedef typename traits<Lhs>::Scalar Scalar;
202 for (Index row = 0; row < lhs.rows(); row++) {
203 dst(row, col) = lhs.coeffDiag(row) * rhs(row, col);
208 for (Index row = 0; row < lhs.rows(); row++) {
209 typename _Lhs::InnerUpperIterator uIt(lhs, row);
229 for (Index lhscol = 0; lhscol < lhs.cols(); lhscol++) {
230 typename _Lhs::InnerLowerIterator lIt(lhs, lhscol);
248 template<typename Lhs, typename Rhs, typename ResultType,
249 int LhsStorageOrder = traits<Lhs>::Flags&RowMajorBit>
252 template<typename Lhs, typename Rhs, typename ResultType>
253 struct skyline_product_selector<Lhs, Rhs, ResultType, RowMajor> {
254 typedef typename traits<typename remove_all<Lhs>::type>::Scalar Scalar;
256 static void run(const Lhs& lhs, const Rhs& rhs, ResultType & res) {
257 skyline_row_major_time_dense_product<Lhs, Rhs, ResultType > (lhs, rhs, res);
261 template<typename Lhs, typename Rhs, typename ResultType>
262 struct skyline_product_selector<Lhs, Rhs, ResultType, ColMajor> {
263 typedef typename traits<typename remove_all<Lhs>::type>::Scalar Scalar;
265 static void run(const Lhs& lhs, const Rhs& rhs, ResultType & res) {
266 skyline_col_major_time_dense_product<Lhs, Rhs, ResultType > (lhs, rhs, res);
273 // template<typename Lhs, typename Rhs >
274 // Derived & MatrixBase<Derived>::lazyAssign(const SkylineProduct<Lhs, Rhs, SkylineTimeDenseProduct>& product) {
275 // typedef typename internal::remove_all<Lhs>::type _Lhs;
276 // internal::skyline_product_selector<typename internal::remove_all<Lhs>::type,
278 // Derived>::run(product.lhs(), product.rhs(), derived());