if(!dim.size())throwSplinterpolatorException("Splinterpolator::common_construction: data has zeros dimensions");
if(!dim.size()>5)throwSplinterpolatorException("Splinterpolator::common_construction: data cannot have more than 5 dimensions");
if(dim.size()!=et.size())throwSplinterpolatorException("Splinterpolator::common_construction: dim and et must have the same size");
for(unsignedinti=0;i<dim.size();i++)if(!dim[i])throwSplinterpolatorException("Splinterpolator::common_construction: data cannot have zeros size in any direction");
if(order>7)throwSplinterpolatorException("Splinterpolator::common_construction: spline order must be lesst than 7");
if(!data)throwSplinterpolatorException("Splinterpolator::common_construction: zero data pointer");