6 bool testGrid1D(
Grid1D const & grid) {
29 int i = grid.
index(a,f);
30 ::printf(
"%i %f %a\n",i,f,f);
32 ::printf(
"%i %f %a\n",i,f,f);
46 ok &= testGrid1D(grid);
63 std::vector< Grid3D::BVector>
data;
64 data.reserve(ga.nodes()*gb.nodes()*gc.nodes());
65 for (
int i=0; i<ga.nodes(); ++
i)
66 for (
int j=0;
j<gb.nodes(); ++
j)
67 for (
int k=0;
k<gc.nodes(); ++
k) {
71 return new Grid3D(ga,gb,gc,data);
85 Grid3D const * grid = factory();
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
bool inRange(int i) const
ReturnType interpolate(Scalar a, Scalar b, Scalar c)
char data[epos_bytes_allocation]
void normalize(int &ind, Scalar &f) const
int index(Scalar a, Scalar &f) const