mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
merge with main repository
This commit is contained in:
commit
df117a64c7
@ -781,11 +781,6 @@ template<typename Derived> class MatrixBase
|
|||||||
template<typename Derived1, typename Derived2>
|
template<typename Derived1, typename Derived2>
|
||||||
Derived& lazyAssign(const SparseProduct<Derived1,Derived2,DenseTimeSparseProduct>& product);
|
Derived& lazyAssign(const SparseProduct<Derived1,Derived2,DenseTimeSparseProduct>& product);
|
||||||
|
|
||||||
// dense = skyline * dense
|
|
||||||
template<typename Derived1, typename Derived2>
|
|
||||||
Derived& lazyAssign(const SkylineProduct<Derived1,Derived2,SkylineTimeDenseProduct>& product);
|
|
||||||
|
|
||||||
|
|
||||||
////////// Householder module ///////////
|
////////// Householder module ///////////
|
||||||
|
|
||||||
void makeHouseholderInPlace(Scalar *tau, RealScalar *beta);
|
void makeHouseholderInPlace(Scalar *tau, RealScalar *beta);
|
||||||
|
@ -25,17 +25,6 @@
|
|||||||
#ifndef EIGEN_SKYLINEPRODUCT_H
|
#ifndef EIGEN_SKYLINEPRODUCT_H
|
||||||
#define EIGEN_SKYLINEPRODUCT_H
|
#define EIGEN_SKYLINEPRODUCT_H
|
||||||
|
|
||||||
template<typename Lhs, typename Rhs> struct ei_skyline_product_mode {
|
|
||||||
|
|
||||||
enum {
|
|
||||||
value = (Rhs::Flags & Lhs::Flags & SkylineBit) == SkylineBit
|
|
||||||
? SkylineTimeSkylineProduct
|
|
||||||
: (Lhs::Flags & SkylineBit) == SkylineBit
|
|
||||||
? SkylineTimeDenseProduct
|
|
||||||
: DenseTimeSkylineProduct
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
template<typename Lhs, typename Rhs, int ProductMode>
|
template<typename Lhs, typename Rhs, int ProductMode>
|
||||||
struct SkylineProductReturnType {
|
struct SkylineProductReturnType {
|
||||||
typedef const typename ei_nested<Lhs, Rhs::RowsAtCompileTime>::type LhsNested;
|
typedef const typename ei_nested<Lhs, Rhs::RowsAtCompileTime>::type LhsNested;
|
||||||
@ -290,16 +279,16 @@ struct ei_skyline_product_selector<Lhs, Rhs, ResultType, ColMajor> {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
template<typename Derived>
|
// template<typename Derived>
|
||||||
template<typename Lhs, typename Rhs >
|
// template<typename Lhs, typename Rhs >
|
||||||
Derived & MatrixBase<Derived>::lazyAssign(const SkylineProduct<Lhs, Rhs, SkylineTimeDenseProduct>& product) {
|
// Derived & MatrixBase<Derived>::lazyAssign(const SkylineProduct<Lhs, Rhs, SkylineTimeDenseProduct>& product) {
|
||||||
typedef typename ei_cleantype<Lhs>::type _Lhs;
|
// typedef typename ei_cleantype<Lhs>::type _Lhs;
|
||||||
ei_skyline_product_selector<typename ei_cleantype<Lhs>::type,
|
// ei_skyline_product_selector<typename ei_cleantype<Lhs>::type,
|
||||||
typename ei_cleantype<Rhs>::type,
|
// typename ei_cleantype<Rhs>::type,
|
||||||
Derived>::run(product.lhs(), product.rhs(), derived());
|
// Derived>::run(product.lhs(), product.rhs(), derived());
|
||||||
|
//
|
||||||
return derived();
|
// return derived();
|
||||||
}
|
// }
|
||||||
|
|
||||||
// skyline * dense
|
// skyline * dense
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user