mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
MPRealSupport was missing
This commit is contained in:
parent
b08c26aefa
commit
6a370f50c7
@ -10,8 +10,8 @@ using namespace std;
|
|||||||
using namespace Eigen;
|
using namespace Eigen;
|
||||||
|
|
||||||
#ifndef SCALAR
|
#ifndef SCALAR
|
||||||
#define SCALAR std::complex<double>
|
// #define SCALAR std::complex<double>
|
||||||
// #define SCALAR double
|
#define SCALAR float
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef SCALAR Scalar;
|
typedef SCALAR Scalar;
|
||||||
@ -87,7 +87,9 @@ void blas_gemm(const MatrixXd& a, const MatrixXd& b, MatrixXd& c)
|
|||||||
template<typename M>
|
template<typename M>
|
||||||
EIGEN_DONT_INLINE void gemm(const M& a, const M& b, M& c)
|
EIGEN_DONT_INLINE void gemm(const M& a, const M& b, M& c)
|
||||||
{
|
{
|
||||||
c.noalias() += a * b;
|
//c.noalias() += a * b;
|
||||||
|
for(int i=0;i<b.cols();++i)
|
||||||
|
c.col(i).noalias() += a * b.col(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char ** argv)
|
int main(int argc, char ** argv)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
set(Eigen_HEADERS AdolcForward BVH IterativeSolvers MatrixFunctions MoreVectorization AutoDiff AlignedVector3 Polynomials
|
set(Eigen_HEADERS AdolcForward BVH IterativeSolvers MatrixFunctions MoreVectorization AutoDiff AlignedVector3 Polynomials
|
||||||
CholmodSupport FFT NonLinearOptimization SparseExtra SuperLUSupport UmfPackSupport IterativeSolvers
|
CholmodSupport FFT NonLinearOptimization SparseExtra SuperLUSupport UmfPackSupport IterativeSolvers
|
||||||
NumericalDiff Skyline TaucsSupport
|
NumericalDiff Skyline TaucsSupport MPRealSupport
|
||||||
)
|
)
|
||||||
|
|
||||||
install(FILES
|
install(FILES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user