10 int i = grid.
index(7.2, f);
27 int i = grid.
index(a, f);
43 ok &= testGrid1D(grid);
56 std::vector<Grid3D::BVector>
data;
57 data.reserve(ga.nodes() * gb.nodes() * gc.nodes());
58 for (
int i = 0; i < ga.nodes(); ++
i)
59 for (
int j = 0;
j < gb.nodes(); ++
j)
60 for (
int k = 0;
k < gc.nodes(); ++
k) {
61 data.push_back(
Grid3D::BVector(10 * ga.node(i), 10 * gb.node(
j), 10 * gc.node(
k)));
64 return new Grid3D(ga, gb, gc, data);
73 Grid3D const* grid = factory();
bool inRange(int i) const
ReturnType interpolate(Scalar a, Scalar b, Scalar c)
printf("params %d %f %f %f\n", minT, eps, errmax, chi2max)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
char data[epos_bytes_allocation]
void normalize(int &ind, Scalar &f) const
int index(Scalar a, Scalar &f) const