9 #ifndef __PZ__TPZProjectEllipse__ 10 #define __PZ__TPZProjectEllipse__ 41 fcoefficients.
resize(ncoef);
59 fPoints.
Resize(Points.size(), 2);
60 std::multimap<REAL, REAL>::iterator it;
62 for (it = Points.begin(); it != Points.end(); it++, i++) {
bool AdjustingWithEllipse()
virtual void resize(const int64_t newsize)
Templated vector implementation.
void AlmostZeroToZero(TPZFMatrix< REAL > &mat)
void PrintingAsSimpleEquation(TPZVec< REAL > &Center, TPZVec< REAL > &Ratios, std::ostream &out)
int fType
Projection type.
void PrintAxes(TPZFMatrix< REAL > &P, std::ostream &out)
Contains TPZMatrixclass which implements full matrix (using column major representation).
#define DebugStop()
Returns a message to user put a breakpoint in.
bool AdjustingWithVerySimpleEllipse()
TPZProjectEllipse(std::multimap< REAL, REAL > &Points)
bool AdjustingWithSimpleEllipse()
bool DiagonalizingQuadraticForm(int dim, TPZFMatrix< REAL > &Coeffs, TPZFMatrix< REAL > &NewCoeffs)
TPZManVector< REAL, 6 > fcoefficients
coefficients determined by the least squares problem
TPZFMatrix< REAL > fPoints
Points which determine the projection.
bool StandardFormatForSimpleEllipse(TPZVec< REAL > &Center, TPZVec< REAL > &Ratios)
TPZProjectEllipse(EType project, TPZFMatrix< REAL > &Points)
void Getcoefficients(TPZVec< REAL > &coef)
int Resize(const int64_t newRows, const int64_t wCols) override
Redimension a matrix, but maintain your elements.
REAL fTol
Tolerance to project the coefficients to zero value.
bool LeastSquaresToGetEllipse()
bool LeastSquaresToGetSimpleEllipse()
bool LeastSquaresToGetVerySimpleEllipse()