mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
* implement the corner() API change: new methods topLeftCorner() etc
* get rid of BlockReturnType: it was not needed, and code was not always using it consistently anyway * add topRows(), leftCols(), bottomRows(), rightCols() * add corners unit-test covering all of that * adapt docs, expand "porting from eigen 2 to 3" * adapt Eigen2Support
This commit is contained in:
@@ -114,7 +114,7 @@ UpperBidiagonalization<_MatrixType>& UpperBidiagonalization<_MatrixType>::comput
|
||||
.makeHouseholderInPlace(m_householder.coeffRef(k,k),
|
||||
m_bidiagonal.template diagonal<0>().coeffRef(k));
|
||||
// apply householder transform to remaining part of m_householder on the left
|
||||
m_householder.corner(BottomRight, remainingRows, remainingCols)
|
||||
m_householder.bottomRightCorner(remainingRows, remainingCols)
|
||||
.applyHouseholderOnTheLeft(m_householder.col(k).tail(remainingRows-1),
|
||||
m_householder.coeff(k,k),
|
||||
temp.data());
|
||||
@@ -126,7 +126,7 @@ UpperBidiagonalization<_MatrixType>& UpperBidiagonalization<_MatrixType>::comput
|
||||
.makeHouseholderInPlace(m_householder.coeffRef(k,k+1),
|
||||
m_bidiagonal.template diagonal<1>().coeffRef(k));
|
||||
// apply householder transform to remaining part of m_householder on the left
|
||||
m_householder.corner(BottomRight, remainingRows-1, remainingCols)
|
||||
m_householder.bottomRightCorner(remainingRows-1, remainingCols)
|
||||
.applyHouseholderOnTheRight(m_householder.row(k).tail(remainingCols-1).transpose(),
|
||||
m_householder.coeff(k,k+1),
|
||||
temp.data());
|
||||
|
||||
Reference in New Issue
Block a user