From b9ce07204edbbe5557a1271e47ba525de8ac327b Mon Sep 17 00:00:00 2001 From: granzuglia Date: Wed, 10 Sep 2008 14:06:13 +0000 Subject: [PATCH] Minor changes according to new Point definition. --- vcg/math/matrix.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vcg/math/matrix.h b/vcg/math/matrix.h index c2f93810..4fcfa3f8 100644 --- a/vcg/math/matrix.h +++ b/vcg/math/matrix.h @@ -67,10 +67,10 @@ namespace vcg{ virtual const float operator[](const int & i)const = 0; }; template - class MatrixDiag: public PointBase, public MatrixDiagBase{ + class MatrixDiag: public Point, public MatrixDiagBase{ public: const int & Dimension() const {return N;} - MatrixDiag(const PointBase&p):PointBase(p){} + MatrixDiag(const Point&p):Point(p){} }; /*! @@ -505,7 +505,7 @@ namespace vcg{ * \return the matrix product */ template - void DotProduct(PointBase &m,PointBase &result) + void DotProduct(Point &m,Point &result) { unsigned int i, j, p, r; for (i=0, p=0, r=0; i - void OuterProduct(const PointBase a, const PointBase< M,TYPE> b) + void OuterProduct(const Point a, const Point< M,TYPE> b) { assert(N == _rows); assert(M == _columns); @@ -762,7 +762,7 @@ namespace vcg{ diag = new X [m.ColumnsNumber()]; MatrixType res(m.RowsNumber(),m.ColumnsNumber()); - vcg::SingularValueDecomposition (m,&diag[0],res,50 ); + vcg::SingularValueDecomposition (m,&diag[0],res,LeaveUnsorted,50 ); m.Transpose(); // prodotto per la diagonale unsigned int i,j;