mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-22 17:49:36 +08:00
make a couple of typedefs public so stuff compiles
This commit is contained in:
parent
a47bbf664c
commit
bd8d06033d
@ -155,9 +155,10 @@ template<typename _MatrixType, unsigned int _Mode> class TriangularView
|
|||||||
typedef TriangularBase<TriangularView> Base;
|
typedef TriangularBase<TriangularView> Base;
|
||||||
typedef typename ei_traits<TriangularView>::Scalar Scalar;
|
typedef typename ei_traits<TriangularView>::Scalar Scalar;
|
||||||
|
|
||||||
protected:
|
|
||||||
typedef _MatrixType MatrixType;
|
typedef _MatrixType MatrixType;
|
||||||
typedef typename MatrixType::PlainObject DenseMatrixType;
|
typedef typename MatrixType::PlainObject DenseMatrixType;
|
||||||
|
|
||||||
|
protected:
|
||||||
typedef typename MatrixType::Nested MatrixTypeNested;
|
typedef typename MatrixType::Nested MatrixTypeNested;
|
||||||
typedef typename ei_cleantype<MatrixTypeNested>::type _MatrixTypeNested;
|
typedef typename ei_cleantype<MatrixTypeNested>::type _MatrixTypeNested;
|
||||||
typedef typename ei_cleantype<typename MatrixType::ConjugateReturnType>::type MatrixConjugateReturnType;
|
typedef typename ei_cleantype<typename MatrixType::ConjugateReturnType>::type MatrixConjugateReturnType;
|
||||||
|
@ -45,6 +45,9 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Eigen::setCpuCacheSizes(262144, 6000000);
|
||||||
|
|
||||||
|
|
||||||
int nbtries=1, nbloops=1, M, N, K;
|
int nbtries=1, nbloops=1, M, N, K;
|
||||||
|
|
||||||
if (argc==2)
|
if (argc==2)
|
||||||
@ -153,6 +156,10 @@ int main(int argc, char *argv[])
|
|||||||
std::cout << M << " : " << timer.value() << " ; " << 1e-3*floor(1e-6*nbmad/timer.value()) << "\n";
|
std::cout << M << " : " << timer.value() << " ; " << 1e-3*floor(1e-6*nbmad/timer.value()) << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::cout << "l1: " << Eigen::l1CacheSize() << std::endl;
|
||||||
|
std::cout << "l2: " << Eigen::l2CacheSize() << std::endl;
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user