From cfb6461d24b989fc924d09784daf1bf73b9e1f74 Mon Sep 17 00:00:00 2001 From: Sebastian Limbach Date: Mon, 4 Jun 2007 10:53:50 +0000 Subject: [PATCH] Internal namespace renamed. --- .../include/CGAL/Polynomial/determinant.h | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Polynomial/include/CGAL/Polynomial/determinant.h b/Polynomial/include/CGAL/Polynomial/determinant.h index 43ad2d0d7e4..2cbea13d87c 100644 --- a/Polynomial/include/CGAL/Polynomial/determinant.h +++ b/Polynomial/include/CGAL/Polynomial/determinant.h @@ -21,7 +21,7 @@ CGAL_BEGIN_NAMESPACE ; #include -namespace CGALi { +namespace POLYNOMIAL { // TODO: Own simple matrix and vector to avoid importing the whole matrix stuff // from EXACUS. @@ -120,7 +120,7 @@ namespace CGALi { * (specialisation for NiX::Matrix_d) */ template inline - NT determinant(const CGALi::Simple_matrix& A) + NT determinant(const POLYNOMIAL::Simple_matrix& A) { CGAL_assertion(A.row_dimension()==A.column_dimension()); return determinant(A,A.column_dimension()); @@ -139,7 +139,7 @@ namespace CGALi { typedef typename Algebraic_structure_traits::Algebraic_category Algebra_type; typedef typename Algebraic_structure_traits::Is_exact Is_exact; - return CGALi::determinant (matrix, n, Algebra_type(), Is_exact()); + return POLYNOMIAL::determinant (matrix, n, Algebra_type(), Is_exact()); } @@ -154,12 +154,12 @@ namespace CGALi { int i, j, l; - typename CGALi::Simple_vector r(k-1); - typename CGALi::Simple_vector s(k-1); - typename CGALi::Simple_vector t(k-1); + typename POLYNOMIAL::Simple_vector r(k-1); + typename POLYNOMIAL::Simple_vector s(k-1); + typename POLYNOMIAL::Simple_vector t(k-1); std::vector rMks(k); - typename CGALi::Simple_matrix MM(k-1); + typename POLYNOMIAL::Simple_matrix MM(k-1); for (i=n-k+2;i<=n;++i) for (j=n-k+2;j<=n;++j) @@ -202,7 +202,7 @@ namespace CGALi { * Note that this routine is completely free of divisions! */ template inline - NT det_berkowitz(const CGALi::Simple_matrix& A) + NT det_berkowitz(const POLYNOMIAL::Simple_matrix& A) { CGAL_assertion(A.row_dimension()==A.column_dimension()); return det_berkowitz(A,A.column_dimension()); @@ -226,10 +226,10 @@ namespace CGALi { std::vector rMks; NT a; - typename CGALi::Simple_matrix B(n+1); // not square in original + typename POLYNOMIAL::Simple_matrix B(n+1); // not square in original - typename CGALi::Simple_vector p(n+1); - typename CGALi::Simple_vector q(n+1); + typename POLYNOMIAL::Simple_vector p(n+1); + typename POLYNOMIAL::Simple_vector q(n+1); for (k=1;k<=n;++k) { @@ -252,7 +252,7 @@ namespace CGALi { } else if (k == n) { - rMks = CGALi::clow_lengths(A,k,n); + rMks = POLYNOMIAL::clow_lengths(A,k,n); // Setup for last row of matrix B i = n+1; B[i-1][n-1] = NT(-1); @@ -267,7 +267,7 @@ namespace CGALi { } else { - rMks = CGALi::clow_lengths(A,k,n); + rMks = POLYNOMIAL::clow_lengths(A,k,n); // Setup for matrix B (diagonal after diagonal) @@ -330,7 +330,7 @@ namespace CGALi { -} // namespace CGALi +} // namespace POLYNOMIAL