/** @file color.cpp
*
* Implementation of GiNaC's color objects.
- * No real implementation yet, to be done.
- *
+ * No real implementation yet, to be done. */
+
+/*
* GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
*
* This program is free software; you can redistribute it and/or modify
#include "ncmul.h"
#include "numeric.h"
#include "relational.h"
+#include "debugmsg.h"
+
+namespace GiNaC {
//////////
// default constructor, destructor, copy constructor assignment operator and helpers
v2.push_back(color_T(summation_index)); // don't care about the representation_label
- // check this formula for SU(N) with N!=3 !!!!!!!!!
+ // FIXME: check this formula for SU(N) with N!=3
return numeric(1)/numeric(2*COLOR_THREE)*color_delta8(next_to_last_index,last_index)
% color_trace_of_one_representation_label(v1)
+numeric(1)/numeric(2)*color_h(next_to_last_index,last_index,summation_index)
}
}
- // TODO: higher contractions!!!!!!!!!!!!!
+ // FIXME: higher contractions
return e;
}
// increment counter[]
l=iv_double.size()-1;
- while ((l>=0)&&((++counter[l])>COLOR_EIGHT)) {
+ while ((l>=0)&&((++counter[l])>(int)COLOR_EIGHT)) {
counter[l]=1;
l--;
}
}
}
-
-
-
-
-
-
-
-
-
-
-
-
+} // namespace GiNaC