// @(#)root/minuit2:$Id$
// Authors: M. Winkler, F. James, L. Moneta, A. Zsenei   2003-2005

/**********************************************************************
 *                                                                    *
 * Copyright (c) 2005 LCG ROOT Math team,  CERN/PH-SFT                *
 *                                                                    *
 **********************************************************************/

#ifndef ROOT_Minuit2_MnEigen
#define ROOT_Minuit2_MnEigen

#include "Minuit2/MnConfig.h"
#include <vector>

namespace ROOT {

namespace Minuit2 {

class MnUserCovariance;

/**
   API class for calculating the eigenvalues of symmetric matrix
 */

class MnEigen {
public:
   /// calculate the eigenvalues
   std::vector<double> operator()(const MnUserCovariance &) const;
};

} // namespace Minuit2

} // namespace ROOT

#endif // ROOT_Minuit2_MnEigen
