public void set_max(idxdim other) { if (other.order() != ndim) { throw new Exception("expected same order in " + id.ToString() + " and " + other); } for (uint i = 0; i < ndim; i++) { dims[i] = Math.Max(dims[i], other.dim((int)i)); } }
public idxspec(intg o, idxdim d) { init_spec(o, d.dims[0], d.dims[1], d.dims[2], d.dims[3], d.dims[4], d.dims[5], d.dims[6], d.dims[7], (uint)d.order()); }