44 int main(
int argc,
char **argv)
54 JParser<> zap(
"Example program to print eigen values in 2D.");
61 catch(
const exception& error) {
62 FATAL(error.what() << endl);
66 vector<JVector2D> buffer;
68 if (inputFile !=
"") {
70 ifstream in(inputFile.c_str());
72 for (
double x,
y; in >>
x >>
y; ) {
82 for (JEigenValues2D::const_iterator i = eigen.begin(); i != eigen.end(); ++i) {
83 cout <<
FIXED(7,3) << i->first <<
' ' << i->second << endl;
int main(int argc, char **argv)
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
I/O formatting auxiliaries.
Data structure for vector in two dimensions.
double getY() const
Get y position.
double getX() const
Get x position.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for floating point format specification.