make UpperBidiagonalization internal: don't want to support it, it's not used.

Keeping it because it tests BandMatrix.
This commit is contained in:
Benoit Jacob
2010-11-23 11:12:42 -05:00
parent ee38dbf1e6
commit 0ab9a0a2f7
3 changed files with 6 additions and 13 deletions

View File

@@ -34,7 +34,7 @@ template<typename MatrixType> void upperbidiag(const MatrixType& m)
typedef Matrix<typename MatrixType::RealScalar, MatrixType::RowsAtCompileTime, MatrixType::ColsAtCompileTime> RealMatrixType;
MatrixType a = MatrixType::Random(rows,cols);
UpperBidiagonalization<MatrixType> ubd(a);
internal::UpperBidiagonalization<MatrixType> ubd(a);
RealMatrixType b(rows, cols);
b.setZero();
b.block(0,0,cols,cols) = ubd.bidiagonal();