From c10f069b6b9f0dd4bb313341d1969bd7e1cf9338 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 21 Jul 2008 00:34:46 +0000 Subject: * Merge Extract and Part to the Part expression. Renamed "MatrixBase::extract() const" to "MatrixBase::part() const" * Renamed static functions identity, zero, ones, random with an upper case first letter: Identity, Zero, Ones and Random. --- test/qr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/qr.cpp') diff --git a/test/qr.cpp b/test/qr.cpp index 716ec94c9..be9e97a04 100644 --- a/test/qr.cpp +++ b/test/qr.cpp @@ -37,10 +37,10 @@ template void qr(const MatrixType& m) typedef Matrix SquareMatrixType; typedef Matrix VectorType; - MatrixType a = MatrixType::random(rows,cols); + MatrixType a = MatrixType::Random(rows,cols); QR qrOfA(a); VERIFY_IS_APPROX(a, qrOfA.matrixQ() * qrOfA.matrixR()); - VERIFY_IS_NOT_APPROX(a+MatrixType::identity(rows, cols), qrOfA.matrixQ() * qrOfA.matrixR()); + VERIFY_IS_NOT_APPROX(a+MatrixType::Identity(rows, cols), qrOfA.matrixQ() * qrOfA.matrixR()); SquareMatrixType b = a.adjoint() * a; @@ -52,7 +52,7 @@ template void qr(const MatrixType& m) HessenbergDecomposition hess(b); VERIFY_IS_APPROX(b, hess.matrixQ() * hess.matrixH() * hess.matrixQ().adjoint()); VERIFY_IS_APPROX(tridiag.matrixT(), hess.matrixH()); - b = SquareMatrixType::random(cols,cols); + b = SquareMatrixType::Random(cols,cols); hess.compute(b); VERIFY_IS_APPROX(b, hess.matrixQ() * hess.matrixH() * hess.matrixQ().adjoint()); } -- cgit v1.2.3