mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 12:46:00 +08:00
extend nomalloc test
This commit is contained in:
parent
ffc8386fdb
commit
59af20b390
@ -105,6 +105,9 @@ template<typename MatrixType> void nomalloc(const MatrixType& m)
|
|||||||
m2.row(0).noalias() -= m1.col(0).adjoint() * m1.adjoint().template selfadjointView<Upper>();
|
m2.row(0).noalias() -= m1.col(0).adjoint() * m1.adjoint().template selfadjointView<Upper>();
|
||||||
VERIFY_IS_APPROX(m2,m2);
|
VERIFY_IS_APPROX(m2,m2);
|
||||||
|
|
||||||
|
m2.template selfadjointView<Lower>().rankUpdate(m1.col(0),-1);
|
||||||
|
m2.template selfadjointView<Lower>().rankUpdate(m1.row(0),-1);
|
||||||
|
|
||||||
// The following fancy matrix-matrix products are not safe yet regarding static allocation
|
// The following fancy matrix-matrix products are not safe yet regarding static allocation
|
||||||
// m1 += m1.template triangularView<Upper>() * m2.col(;
|
// m1 += m1.template triangularView<Upper>() * m2.col(;
|
||||||
// m1.template selfadjointView<Lower>().rankUpdate(m2);
|
// m1.template selfadjointView<Lower>().rankUpdate(m2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user