1 #ifndef __JEIGENVALUES2D__ 
    2 #define __JEIGENVALUES2D__ 
    6 #include "TMatrixDSymEigen.h" 
   16 namespace JGEOMETRY2D {}
 
   17 namespace JPP { 
using namespace JGEOMETRY2D; }
 
   19 namespace JGEOMETRY2D {
 
   46       for (
int i = 0; i != 2; ++i) {
 
   47         for (
int j = 0; j != 2; ++j) {
 
   52       for (T i = __begin; i != __end; ++i) {
 
   54         const double dx = center.
getX() - i->getX();
 
   55         const double dy = center.
getY() - i->getY();
 
   65       const TVectorD V = TMatrixDSymEigen(A).GetEigenValues();   
 
   67       N = V.GetNoElements();
 
  101     int getN(
double precision)
 const 
  105       if (fabs(
getX()) >= precision) ++n;
 
  106       if (fabs(
getY()) >= precision) ++n;
 
Data structure for vector in two dimensions. 
 
int getN() const 
Get number of eigen values. 
 
double getY() const 
Get y position. 
 
int getN(double precision) const 
Get number of eigen values with minimal value. 
 
double getX() const 
Get x position. 
 
JEigenValues2D(T __begin, T __end)
Constructor.