MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / get_tile_subarray

Method get_tile_subarray

tiledb/sm/array_schema/domain.cc:462–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

460
461template <class T>
462void Domain::get_tile_subarray(const T* tile_coords, T* tile_subarray) const {
463 for (unsigned d = 0; d < dim_num_; ++d) {
464 auto dim_dom = (const T*)domain(d).data();
465 auto tile_extent = *(const T*)this->tile_extent(d).data();
466 tile_subarray[2 * d] =
467 Dimension::tile_coord_low(tile_coords[d], dim_dom[0], tile_extent);
468 tile_subarray[2 * d + 1] =
469 Dimension::tile_coord_high(tile_coords[d], dim_dom[0], tile_extent);
470 }
471}
472
473template <class T>
474void Domain::get_tile_subarray(

Callers 3

tile_cell_numMethod · 0.80
crop_to_tile_implMethod · 0.80

Calls 2

tile_extentMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected