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:
@@ -159,7 +159,7 @@ class MatrixFunction<MatrixType, 1>
|
||||
void permuteSchur();
|
||||
void swapEntriesInSchur(int index);
|
||||
void computeBlockAtomic();
|
||||
typename BlockReturnType<MatrixType>::Type block(const MatrixType& A, int i, int j);
|
||||
Block<MatrixType> block(const MatrixType& A, int i, int j);
|
||||
void computeOffDiagonal();
|
||||
DynMatrixType solveTriangularSylvester(const DynMatrixType& A, const DynMatrixType& B, const DynMatrixType& C);
|
||||
|
||||
@@ -379,7 +379,7 @@ void MatrixFunction<MatrixType,1>::computeBlockAtomic()
|
||||
|
||||
/** \brief Return block of matrix according to blocking given by #m_blockStart */
|
||||
template <typename MatrixType>
|
||||
typename BlockReturnType<MatrixType>::Type MatrixFunction<MatrixType,1>::block(const MatrixType& A, int i, int j)
|
||||
Block<MatrixType> MatrixFunction<MatrixType,1>::block(const MatrixType& A, int i, int j)
|
||||
{
|
||||
return A.block(m_blockStart(i), m_blockStart(j), m_clusterSize(i), m_clusterSize(j));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user