@luma.gl/graph 10.0.0-alpha.5 → 10.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +38 -0
- package/README.md +11 -5
- package/dist/arrow/arrow-colors.cjs +190 -0
- package/dist/arrow/arrow-colors.d.ts +24 -0
- package/dist/arrow/arrow-colors.d.ts.map +1 -0
- package/dist/arrow/arrow-colors.js +185 -0
- package/dist/arrow/arrow-colors.js.map +1 -0
- package/dist/arrow/arrow-utils/arrow-column-info.cjs +77 -0
- package/dist/arrow/arrow-utils/arrow-column-info.d.ts +36 -0
- package/dist/arrow/arrow-utils/arrow-column-info.d.ts.map +1 -0
- package/dist/arrow/arrow-utils/arrow-column-info.js +86 -0
- package/dist/arrow/arrow-utils/arrow-column-info.js.map +1 -0
- package/dist/arrow/arrow-utils/arrow-paths.cjs +173 -0
- package/dist/arrow/arrow-utils/arrow-paths.d.ts +18 -0
- package/dist/arrow/arrow-utils/arrow-paths.d.ts.map +1 -0
- package/dist/arrow/arrow-utils/arrow-paths.js +153 -0
- package/dist/arrow/arrow-utils/arrow-paths.js.map +1 -0
- package/dist/arrow/arrow-utils/arrow-types.cjs +82 -0
- package/dist/arrow/arrow-utils/arrow-types.d.ts +36 -0
- package/dist/arrow/arrow-utils/arrow-types.d.ts.map +1 -0
- package/dist/arrow/arrow-utils/arrow-types.js +60 -0
- package/dist/arrow/arrow-utils/arrow-types.js.map +1 -0
- package/dist/arrow/dggs/dggs-gpu-polygons.cjs +667 -0
- package/dist/arrow/dggs/dggs-gpu-polygons.d.ts +75 -0
- package/dist/arrow/dggs/dggs-gpu-polygons.d.ts.map +1 -0
- package/dist/arrow/dggs/dggs-gpu-polygons.js +651 -0
- package/dist/arrow/dggs/dggs-gpu-polygons.js.map +1 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-adapter.cjs +411 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-adapter.d.ts +31 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-adapter.d.ts.map +1 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-adapter.js +395 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-adapter.js.map +1 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-conversion.cjs +304 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-conversion.d.ts +32 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-conversion.d.ts.map +1 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-conversion.js +293 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-conversion.js.map +1 -0
- package/dist/arrow/geoarrow/arrow-polygon-tessellation.cjs +232 -0
- package/dist/arrow/geoarrow/arrow-polygon-tessellation.d.ts +54 -0
- package/dist/arrow/geoarrow/arrow-polygon-tessellation.d.ts.map +1 -0
- package/dist/arrow/geoarrow/arrow-polygon-tessellation.js +222 -0
- package/dist/arrow/geoarrow/arrow-polygon-tessellation.js.map +1 -0
- package/dist/arrow/gpu/arrow-column-gpu-vector.cjs +131 -0
- package/dist/arrow/gpu/arrow-column-gpu-vector.d.ts +34 -0
- package/dist/arrow/gpu/arrow-column-gpu-vector.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-column-gpu-vector.js +119 -0
- package/dist/arrow/gpu/arrow-column-gpu-vector.js.map +1 -0
- package/dist/arrow/gpu/arrow-compute-kernel.cjs +47 -0
- package/dist/arrow/gpu/arrow-compute-kernel.d.ts +8 -0
- package/dist/arrow/gpu/arrow-compute-kernel.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-compute-kernel.js +25 -0
- package/dist/arrow/gpu/arrow-compute-kernel.js.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-adapters.cjs +314 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-adapters.d.ts +42 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-adapters.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-adapters.js +318 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-adapters.js.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-readback.cjs +204 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-readback.d.ts +30 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-readback.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-readback.js +195 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-readback.js.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-data.cjs +541 -0
- package/dist/arrow/gpu/arrow-gpu-data.d.ts +87 -0
- package/dist/arrow/gpu/arrow-gpu-data.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-data.js +519 -0
- package/dist/arrow/gpu/arrow-gpu-data.js.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-table-adapters.cjs +257 -0
- package/dist/arrow/gpu/arrow-gpu-table-adapters.d.ts +45 -0
- package/dist/arrow/gpu/arrow-gpu-table-adapters.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-table-adapters.js +257 -0
- package/dist/arrow/gpu/arrow-gpu-table-adapters.js.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-table-conversion.cjs +230 -0
- package/dist/arrow/gpu/arrow-gpu-table-conversion.d.ts +71 -0
- package/dist/arrow/gpu/arrow-gpu-table-conversion.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-table-conversion.js +215 -0
- package/dist/arrow/gpu/arrow-gpu-table-conversion.js.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-vector-adapters.cjs +322 -0
- package/dist/arrow/gpu/arrow-gpu-vector-adapters.d.ts +45 -0
- package/dist/arrow/gpu/arrow-gpu-vector-adapters.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-vector-adapters.js +320 -0
- package/dist/arrow/gpu/arrow-gpu-vector-adapters.js.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-vector-conversion.cjs +739 -0
- package/dist/arrow/gpu/arrow-gpu-vector-conversion.d.ts +106 -0
- package/dist/arrow/gpu/arrow-gpu-vector-conversion.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-vector-conversion.js +796 -0
- package/dist/arrow/gpu/arrow-gpu-vector-conversion.js.map +1 -0
- package/dist/arrow/gpu/arrow-input-schema.cjs +36 -0
- package/dist/arrow/gpu/arrow-input-schema.d.ts +41 -0
- package/dist/arrow/gpu/arrow-input-schema.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-input-schema.js +17 -0
- package/dist/arrow/gpu/arrow-input-schema.js.map +1 -0
- package/dist/arrow/gpu/arrow-shader-layout.cjs +253 -0
- package/dist/arrow/gpu/arrow-shader-layout.d.ts +32 -0
- package/dist/arrow/gpu/arrow-shader-layout.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-shader-layout.js +236 -0
- package/dist/arrow/gpu/arrow-shader-layout.js.map +1 -0
- package/dist/arrow/index.cjs +203 -0
- package/dist/arrow/index.cjs.map +6 -0
- package/dist/arrow/index.d.ts +23 -0
- package/dist/arrow/index.d.ts.map +1 -0
- package/dist/arrow/index.js +28 -0
- package/dist/arrow/index.js.map +1 -0
- package/dist/arrow/internal.cjs +75 -0
- package/dist/arrow/internal.cjs.map +6 -0
- package/dist/arrow/internal.d.ts +36 -0
- package/dist/arrow/internal.d.ts.map +1 -0
- package/dist/arrow/internal.js +26 -0
- package/dist/arrow/internal.js.map +1 -0
- package/dist/arrow/vectors/arrow-fixed-size-list.cjs +78 -0
- package/dist/arrow/vectors/arrow-fixed-size-list.d.ts +25 -0
- package/dist/arrow/vectors/arrow-fixed-size-list.d.ts.map +1 -0
- package/dist/arrow/vectors/arrow-fixed-size-list.js +53 -0
- package/dist/arrow/vectors/arrow-fixed-size-list.js.map +1 -0
- package/dist/arrow/vectors/arrow-matrix-gpu-vector.cjs +301 -0
- package/dist/arrow/vectors/arrow-matrix-gpu-vector.d.ts +30 -0
- package/dist/arrow/vectors/arrow-matrix-gpu-vector.d.ts.map +1 -0
- package/dist/arrow/vectors/arrow-matrix-gpu-vector.js +284 -0
- package/dist/arrow/vectors/arrow-matrix-gpu-vector.js.map +1 -0
- package/dist/arrow/vectors/arrow-matrix-vector.cjs +194 -0
- package/dist/arrow/vectors/arrow-matrix-vector.d.ts +85 -0
- package/dist/arrow/vectors/arrow-matrix-vector.d.ts.map +1 -0
- package/dist/arrow/vectors/arrow-matrix-vector.js +169 -0
- package/dist/arrow/vectors/arrow-matrix-vector.js.map +1 -0
- package/dist/arrow/vectors/arrow-temporal-gpu-vector.cjs +569 -0
- package/dist/arrow/vectors/arrow-temporal-gpu-vector.d.ts +93 -0
- package/dist/arrow/vectors/arrow-temporal-gpu-vector.d.ts.map +1 -0
- package/dist/arrow/vectors/arrow-temporal-gpu-vector.js +564 -0
- package/dist/arrow/vectors/arrow-temporal-gpu-vector.js.map +1 -0
- package/dist/arrow/vectors/arrow-vector-utils.cjs +245 -0
- package/dist/arrow/vectors/arrow-vector-utils.d.ts +30 -0
- package/dist/arrow/vectors/arrow-vector-utils.d.ts.map +1 -0
- package/dist/arrow/vectors/arrow-vector-utils.js +245 -0
- package/dist/arrow/vectors/arrow-vector-utils.js.map +1 -0
- package/dist/dist.dev.js +9812 -3216
- package/dist/dist.min.js +97 -71
- package/dist/execution/compute/kernel.cjs +112 -0
- package/dist/execution/compute/kernel.d.ts +54 -0
- package/dist/execution/compute/kernel.d.ts.map +1 -0
- package/dist/execution/compute/kernel.js +103 -0
- package/dist/execution/compute/kernel.js.map +1 -0
- package/dist/execution/compute/render-kernel.cjs +152 -0
- package/dist/execution/compute/render-kernel.d.ts +66 -0
- package/dist/execution/compute/render-kernel.d.ts.map +1 -0
- package/dist/execution/compute/render-kernel.js +148 -0
- package/dist/execution/compute/render-kernel.js.map +1 -0
- package/dist/execution/dynamic-buffer/dynamic-buffer.cjs +39 -0
- package/dist/execution/dynamic-buffer/dynamic-buffer.d.ts +2 -0
- package/dist/execution/dynamic-buffer/dynamic-buffer.d.ts.map +1 -0
- package/dist/execution/dynamic-buffer/dynamic-buffer.js +6 -0
- package/dist/execution/dynamic-buffer/dynamic-buffer.js.map +1 -0
- package/dist/execution/dynamic-texture/dynamic-texture.cjs +27 -0
- package/dist/execution/dynamic-texture/dynamic-texture.d.ts +2 -0
- package/dist/execution/dynamic-texture/dynamic-texture.d.ts.map +1 -0
- package/dist/execution/dynamic-texture/dynamic-texture.js +6 -0
- package/dist/execution/dynamic-texture/dynamic-texture.js.map +1 -0
- package/dist/execution/dynamic-texture/texture-binding-source.cjs +31 -0
- package/dist/execution/dynamic-texture/texture-binding-source.d.ts +2 -0
- package/dist/execution/dynamic-texture/texture-binding-source.d.ts.map +1 -0
- package/dist/execution/dynamic-texture/texture-binding-source.js +6 -0
- package/dist/execution/dynamic-texture/texture-binding-source.js.map +1 -0
- package/dist/execution/dynamic-texture/texture-data.cjs +53 -0
- package/dist/execution/dynamic-texture/texture-data.d.ts +2 -0
- package/dist/execution/dynamic-texture/texture-data.d.ts.map +1 -0
- package/dist/execution/dynamic-texture/texture-data.js +6 -0
- package/dist/execution/dynamic-texture/texture-data.js.map +1 -0
- package/dist/execution/utils/get-platform-info.cjs +37 -0
- package/dist/execution/utils/get-platform-info.d.ts +5 -0
- package/dist/execution/utils/get-platform-info.d.ts.map +1 -0
- package/dist/execution/utils/get-platform-info.js +16 -0
- package/dist/execution/utils/get-platform-info.js.map +1 -0
- package/dist/experimental/index.cjs +62 -5
- package/dist/experimental/index.cjs.map +3 -3
- package/dist/experimental/index.d.ts +2 -2
- package/dist/experimental/index.d.ts.map +1 -1
- package/dist/experimental/index.js +2 -2
- package/dist/experimental/index.js.map +1 -1
- package/dist/experimental/models/index.cjs.map +3 -3
- package/dist/experimental/models/path/gpu/path-storage-gpu-inputs.cjs +1 -1
- package/dist/experimental/models/path/gpu/path-storage-gpu-inputs.d.ts +1 -1
- package/dist/experimental/models/path/gpu/path-storage-gpu-inputs.js +1 -1
- package/dist/experimental/models/polygon/polygon-gpu-inputs.d.ts +3 -3
- package/dist/experimental/simulation/flow-particle-simulation.cjs +2 -2
- package/dist/experimental/simulation/flow-particle-simulation.js +1 -1
- package/dist/experimental/simulation/flow-particle-simulation.js.map +1 -1
- package/dist/experimental/simulation/index.cjs.map +3 -3
- package/dist/experimental/simulation/scientific-flow-compute.cjs +2 -2
- package/dist/experimental/simulation/scientific-flow-compute.d.ts +1 -1
- package/dist/experimental/simulation/scientific-flow-compute.d.ts.map +1 -1
- package/dist/experimental/simulation/scientific-flow-compute.js +1 -1
- package/dist/experimental/simulation/scientific-flow-compute.js.map +1 -1
- package/dist/experimental/simulation/scientific-flow-tracer.cjs +2 -2
- package/dist/experimental/simulation/scientific-flow-tracer.js +1 -1
- package/dist/experimental/simulation/scientific-flow-tracer.js.map +1 -1
- package/dist/geospatial/geospatial-utils.cjs +16 -14
- package/dist/geospatial/geospatial-utils.d.ts +2 -2
- package/dist/geospatial/geospatial-utils.d.ts.map +1 -1
- package/dist/geospatial/geospatial-utils.js +5 -3
- package/dist/geospatial/geospatial-utils.js.map +1 -1
- package/dist/geospatial/gpu-point-spatial-query.cjs +3 -3
- package/dist/geospatial/gpu-point-spatial-query.js +1 -1
- package/dist/geospatial/gpu-point-spatial-query.js.map +1 -1
- package/dist/geospatial/index.cjs.map +3 -3
- package/dist/gpu-a5/index.cjs.map +3 -3
- package/dist/gpu-core/compiled-gpu-graph.cjs +134 -0
- package/dist/gpu-core/compiled-gpu-graph.d.ts +17 -0
- package/dist/gpu-core/compiled-gpu-graph.d.ts.map +1 -0
- package/dist/gpu-core/compiled-gpu-graph.js +118 -0
- package/dist/gpu-core/compiled-gpu-graph.js.map +1 -0
- package/dist/gpu-core/dispatch-command-buffer.cjs +1 -1
- package/dist/gpu-core/dispatch-command-buffer.d.ts +1 -1
- package/dist/gpu-core/dispatch-command-buffer.js +1 -1
- package/dist/gpu-core/draw-command-buffer.cjs +1 -1
- package/dist/gpu-core/draw-command-buffer.d.ts +1 -1
- package/dist/gpu-core/draw-command-buffer.js +1 -1
- package/dist/gpu-core/gpu-adaptive-spmv.cjs +1 -1
- package/dist/gpu-core/gpu-adaptive-spmv.js +1 -1
- package/dist/gpu-core/gpu-ancestor-projection.cjs +2 -2
- package/dist/gpu-core/gpu-ancestor-projection.js +1 -1
- package/dist/gpu-core/gpu-ancestor-projection.js.map +1 -1
- package/dist/gpu-core/gpu-bvh-query.cjs +2 -2
- package/dist/gpu-core/gpu-bvh-query.js +1 -1
- package/dist/gpu-core/gpu-bvh-query.js.map +1 -1
- package/dist/gpu-core/gpu-bvh.cjs +3 -3
- package/dist/gpu-core/gpu-bvh.js +2 -2
- package/dist/gpu-core/gpu-bvh.js.map +1 -1
- package/dist/gpu-core/gpu-byte-range-gather.cjs +3 -3
- package/dist/gpu-core/gpu-byte-range-gather.js +2 -2
- package/dist/gpu-core/gpu-byte-range-gather.js.map +1 -1
- package/dist/gpu-core/gpu-chunk-utils.cjs +3 -3
- package/dist/gpu-core/gpu-chunk-utils.d.ts +1 -1
- package/dist/gpu-core/gpu-chunk-utils.js +2 -2
- package/dist/gpu-core/gpu-chunk-utils.js.map +1 -1
- package/dist/gpu-core/gpu-chunked-indexed-scatter.cjs +2 -2
- package/dist/gpu-core/gpu-chunked-indexed-scatter.js +1 -1
- package/dist/gpu-core/gpu-chunked-indexed-scatter.js.map +1 -1
- package/dist/gpu-core/gpu-command-graph-types.cjs +1 -1
- package/dist/gpu-core/gpu-command-graph-types.d.ts +3 -3
- package/dist/gpu-core/gpu-command-graph-types.js +1 -1
- package/dist/gpu-core/gpu-command-graph.cjs +1 -1
- package/dist/gpu-core/gpu-command-graph.d.ts +1 -1
- package/dist/gpu-core/gpu-command-graph.js +1 -1
- package/dist/gpu-core/gpu-compaction.cjs +3 -3
- package/dist/gpu-core/gpu-compaction.js +1 -1
- package/dist/gpu-core/gpu-compaction.js.map +1 -1
- package/dist/gpu-core/gpu-convolution.cjs +3 -3
- package/dist/gpu-core/gpu-convolution.js +2 -2
- package/dist/gpu-core/gpu-convolution.js.map +1 -1
- package/dist/gpu-core/gpu-dense-utils.cjs +3 -3
- package/dist/gpu-core/gpu-dense-utils.js +2 -2
- package/dist/gpu-core/gpu-dense-utils.js.map +1 -1
- package/dist/gpu-core/gpu-elementwise-scalar.cjs +2 -2
- package/dist/gpu-core/gpu-elementwise-scalar.js +1 -1
- package/dist/gpu-core/gpu-elementwise-scalar.js.map +1 -1
- package/dist/gpu-core/gpu-elementwise.cjs +2 -2
- package/dist/gpu-core/gpu-elementwise.js +1 -1
- package/dist/gpu-core/gpu-elementwise.js.map +1 -1
- package/dist/gpu-core/gpu-expression-cast.cjs +61 -0
- package/dist/gpu-core/gpu-expression-cast.d.ts +12 -0
- package/dist/gpu-core/gpu-expression-cast.d.ts.map +1 -0
- package/dist/gpu-core/gpu-expression-cast.js +38 -0
- package/dist/gpu-core/gpu-expression-cast.js.map +1 -0
- package/dist/gpu-core/gpu-expression-kernel.cjs +216 -0
- package/dist/gpu-core/gpu-expression-kernel.d.ts +17 -0
- package/dist/gpu-core/gpu-expression-kernel.d.ts.map +1 -0
- package/dist/gpu-core/gpu-expression-kernel.js +211 -0
- package/dist/gpu-core/gpu-expression-kernel.js.map +1 -0
- package/dist/gpu-core/gpu-expression-operation.cjs +247 -0
- package/dist/gpu-core/gpu-expression-operation.d.ts +77 -0
- package/dist/gpu-core/gpu-expression-operation.d.ts.map +1 -0
- package/dist/gpu-core/gpu-expression-operation.js +226 -0
- package/dist/gpu-core/gpu-expression-operation.js.map +1 -0
- package/dist/gpu-core/gpu-expression-plan.cjs +394 -0
- package/dist/gpu-core/gpu-expression-plan.d.ts +45 -0
- package/dist/gpu-core/gpu-expression-plan.d.ts.map +1 -0
- package/dist/gpu-core/gpu-expression-plan.js +421 -0
- package/dist/gpu-core/gpu-expression-plan.js.map +1 -0
- package/dist/gpu-core/gpu-fft1d.cjs +3 -3
- package/dist/gpu-core/gpu-fft1d.js +2 -2
- package/dist/gpu-core/gpu-fft1d.js.map +1 -1
- package/dist/gpu-core/gpu-fft2d.cjs +2 -2
- package/dist/gpu-core/gpu-fft2d.js +1 -1
- package/dist/gpu-core/gpu-fft2d.js.map +1 -1
- package/dist/gpu-core/gpu-finite-difference-utils.cjs +3 -3
- package/dist/gpu-core/gpu-finite-difference-utils.js +2 -2
- package/dist/gpu-core/gpu-finite-difference-utils.js.map +1 -1
- package/dist/gpu-core/gpu-flag-offsets.cjs +2 -2
- package/dist/gpu-core/gpu-flag-offsets.js +1 -1
- package/dist/gpu-core/gpu-flag-offsets.js.map +1 -1
- package/dist/gpu-core/gpu-galloping-search.cjs +3 -3
- package/dist/gpu-core/gpu-galloping-search.js +1 -1
- package/dist/gpu-core/gpu-galloping-search.js.map +1 -1
- package/dist/gpu-core/gpu-gather.cjs +3 -3
- package/dist/gpu-core/gpu-gather.d.ts +1 -1
- package/dist/gpu-core/gpu-gather.js +2 -2
- package/dist/gpu-core/gpu-gather.js.map +1 -1
- package/dist/gpu-core/gpu-graph-compiler.cjs +205 -142
- package/dist/gpu-core/gpu-graph-compiler.d.ts +6 -5
- package/dist/gpu-core/gpu-graph-compiler.d.ts.map +1 -1
- package/dist/gpu-core/gpu-graph-compiler.js +216 -141
- package/dist/gpu-core/gpu-graph-compiler.js.map +1 -1
- package/dist/gpu-core/gpu-graph-lowering.cjs +0 -25
- package/dist/gpu-core/gpu-graph-lowering.d.ts +10 -10
- package/dist/gpu-core/gpu-graph-lowering.d.ts.map +1 -1
- package/dist/gpu-core/gpu-graph-lowering.js +1 -14
- package/dist/gpu-core/gpu-graph-lowering.js.map +1 -1
- package/dist/gpu-core/gpu-graph-traversal.cjs +2 -2
- package/dist/gpu-core/gpu-graph-traversal.js +1 -1
- package/dist/gpu-core/gpu-graph-traversal.js.map +1 -1
- package/dist/gpu-core/gpu-graph-validation.cjs +15 -0
- package/dist/gpu-core/gpu-graph-validation.d.ts.map +1 -1
- package/dist/gpu-core/gpu-graph-validation.js +17 -1
- package/dist/gpu-core/gpu-graph-validation.js.map +1 -1
- package/dist/gpu-core/gpu-graph-value.cjs +3 -2
- package/dist/gpu-core/gpu-graph-value.d.ts +6 -4
- package/dist/gpu-core/gpu-graph-value.d.ts.map +1 -1
- package/dist/gpu-core/gpu-graph-value.js +6 -3
- package/dist/gpu-core/gpu-graph-value.js.map +1 -1
- package/dist/gpu-core/gpu-graph.cjs +7 -2
- package/dist/gpu-core/gpu-graph.d.ts +9 -1
- package/dist/gpu-core/gpu-graph.d.ts.map +1 -1
- package/dist/gpu-core/gpu-graph.js +9 -2
- package/dist/gpu-core/gpu-graph.js.map +1 -1
- package/dist/gpu-core/gpu-group-aggregation.cjs +2 -2
- package/dist/gpu-core/gpu-group-aggregation.js +1 -1
- package/dist/gpu-core/gpu-group-aggregation.js.map +1 -1
- package/dist/gpu-core/gpu-hash-index.cjs +2 -2
- package/dist/gpu-core/gpu-hash-index.js +1 -1
- package/dist/gpu-core/gpu-hash-index.js.map +1 -1
- package/dist/gpu-core/gpu-hash-join.cjs +2 -2
- package/dist/gpu-core/gpu-hash-join.js +1 -1
- package/dist/gpu-core/gpu-hash-join.js.map +1 -1
- package/dist/gpu-core/gpu-hierarchy-layout.cjs +2 -2
- package/dist/gpu-core/gpu-hierarchy-layout.js +1 -1
- package/dist/gpu-core/gpu-hierarchy-layout.js.map +1 -1
- package/dist/gpu-core/gpu-histogram.cjs +2 -2
- package/dist/gpu-core/gpu-histogram.js +1 -1
- package/dist/gpu-core/gpu-histogram.js.map +1 -1
- package/dist/gpu-core/gpu-incremental-execution.cjs +1 -1
- package/dist/gpu-core/gpu-incremental-execution.d.ts +1 -1
- package/dist/gpu-core/gpu-incremental-execution.js +1 -1
- package/dist/gpu-core/gpu-index-picking-target.cjs +3 -3
- package/dist/gpu-core/gpu-index-picking-target.js +1 -1
- package/dist/gpu-core/gpu-index-picking-target.js.map +1 -1
- package/dist/gpu-core/gpu-indexed-range-compaction.cjs +2 -2
- package/dist/gpu-core/gpu-indexed-range-compaction.js +1 -1
- package/dist/gpu-core/gpu-indexed-range-compaction.js.map +1 -1
- package/dist/gpu-core/gpu-lz-byte-batch-decompressor.cjs +2 -2
- package/dist/gpu-core/gpu-lz-byte-batch-decompressor.js +1 -1
- package/dist/gpu-core/gpu-lz-byte-batch-decompressor.js.map +1 -1
- package/dist/gpu-core/gpu-lz-byte-decompressor.cjs +2 -2
- package/dist/gpu-core/gpu-lz-byte-decompressor.js +1 -1
- package/dist/gpu-core/gpu-lz-byte-decompressor.js.map +1 -1
- package/dist/gpu-core/gpu-mask.cjs +2 -2
- package/dist/gpu-core/gpu-mask.js +1 -1
- package/dist/gpu-core/gpu-mask.js.map +1 -1
- package/dist/gpu-core/gpu-operation-contract.cjs +63 -0
- package/dist/gpu-core/gpu-operation-contract.d.ts +30 -0
- package/dist/gpu-core/gpu-operation-contract.d.ts.map +1 -0
- package/dist/gpu-core/gpu-operation-contract.js +46 -0
- package/dist/gpu-core/gpu-operation-contract.js.map +1 -0
- package/dist/gpu-core/gpu-operation.d.ts +3 -0
- package/dist/gpu-core/gpu-operation.d.ts.map +1 -1
- package/dist/gpu-core/gpu-operation.js.map +1 -1
- package/dist/gpu-core/gpu-predicate-conjunction.cjs +2 -2
- package/dist/gpu-core/gpu-predicate-conjunction.js +1 -1
- package/dist/gpu-core/gpu-predicate-conjunction.js.map +1 -1
- package/dist/gpu-core/gpu-reduction-substrate.cjs +2 -2
- package/dist/gpu-core/gpu-reduction-substrate.js +1 -1
- package/dist/gpu-core/gpu-reduction-substrate.js.map +1 -1
- package/dist/gpu-core/gpu-reduction.cjs +2 -2
- package/dist/gpu-core/gpu-reduction.js +1 -1
- package/dist/gpu-core/gpu-reduction.js.map +1 -1
- package/dist/gpu-core/gpu-scalar-dispatch-gate.cjs +2 -2
- package/dist/gpu-core/gpu-scalar-dispatch-gate.js +1 -1
- package/dist/gpu-core/gpu-scalar-dispatch-gate.js.map +1 -1
- package/dist/gpu-core/gpu-scalar-literal.cjs +2 -2
- package/dist/gpu-core/gpu-scalar-literal.js +1 -1
- package/dist/gpu-core/gpu-scalar-literal.js.map +1 -1
- package/dist/gpu-core/gpu-scalar-operation.cjs +2 -2
- package/dist/gpu-core/gpu-scalar-operation.js +1 -1
- package/dist/gpu-core/gpu-scalar-operation.js.map +1 -1
- package/dist/gpu-core/gpu-scan.cjs +3 -3
- package/dist/gpu-core/gpu-scan.js +1 -1
- package/dist/gpu-core/gpu-scan.js.map +1 -1
- package/dist/gpu-core/gpu-scatter.cjs +1 -1
- package/dist/gpu-core/gpu-scatter.d.ts +1 -1
- package/dist/gpu-core/gpu-scatter.js +1 -1
- package/dist/gpu-core/gpu-scene-draw-generation.cjs +2 -2
- package/dist/gpu-core/gpu-scene-draw-generation.js +1 -1
- package/dist/gpu-core/gpu-scene-draw-generation.js.map +1 -1
- package/dist/gpu-core/gpu-scene-resource-groups.cjs +2 -2
- package/dist/gpu-core/gpu-scene-resource-groups.js +1 -1
- package/dist/gpu-core/gpu-scene-resource-groups.js.map +1 -1
- package/dist/gpu-core/gpu-segment-offsets.cjs +2 -2
- package/dist/gpu-core/gpu-segment-offsets.js +1 -1
- package/dist/gpu-core/gpu-segment-offsets.js.map +1 -1
- package/dist/gpu-core/gpu-segmented-bvh.cjs +2 -2
- package/dist/gpu-core/gpu-segmented-bvh.js +1 -1
- package/dist/gpu-core/gpu-segmented-bvh.js.map +1 -1
- package/dist/gpu-core/gpu-segmented-layout.cjs +2 -2
- package/dist/gpu-core/gpu-segmented-layout.js +1 -1
- package/dist/gpu-core/gpu-segmented-layout.js.map +1 -1
- package/dist/gpu-core/gpu-segmented-reduction.cjs +2 -2
- package/dist/gpu-core/gpu-segmented-reduction.js +1 -1
- package/dist/gpu-core/gpu-segmented-reduction.js.map +1 -1
- package/dist/gpu-core/gpu-segmented-scan.cjs +2 -2
- package/dist/gpu-core/gpu-segmented-scan.js +1 -1
- package/dist/gpu-core/gpu-segmented-scan.js.map +1 -1
- package/dist/gpu-core/gpu-segmented-sort.cjs +2 -2
- package/dist/gpu-core/gpu-segmented-sort.js +1 -1
- package/dist/gpu-core/gpu-segmented-sort.js.map +1 -1
- package/dist/gpu-core/gpu-semantic-scalar-operation.cjs +9 -0
- package/dist/gpu-core/gpu-semantic-scalar-operation.d.ts +2 -0
- package/dist/gpu-core/gpu-semantic-scalar-operation.d.ts.map +1 -1
- package/dist/gpu-core/gpu-semantic-scalar-operation.js +9 -0
- package/dist/gpu-core/gpu-semantic-scalar-operation.js.map +1 -1
- package/dist/gpu-core/gpu-semantic-spmv.cjs +13 -1
- package/dist/gpu-core/gpu-semantic-spmv.d.ts +2 -0
- package/dist/gpu-core/gpu-semantic-spmv.d.ts.map +1 -1
- package/dist/gpu-core/gpu-semantic-spmv.js +13 -1
- package/dist/gpu-core/gpu-semantic-spmv.js.map +1 -1
- package/dist/gpu-core/gpu-semantic-state-operation.cjs +3 -0
- package/dist/gpu-core/gpu-semantic-state-operation.d.ts +2 -0
- package/dist/gpu-core/gpu-semantic-state-operation.d.ts.map +1 -1
- package/dist/gpu-core/gpu-semantic-state-operation.js +3 -0
- package/dist/gpu-core/gpu-semantic-state-operation.js.map +1 -1
- package/dist/gpu-core/gpu-semantic-vector-operation.cjs +24 -4
- package/dist/gpu-core/gpu-semantic-vector-operation.d.ts +3 -0
- package/dist/gpu-core/gpu-semantic-vector-operation.d.ts.map +1 -1
- package/dist/gpu-core/gpu-semantic-vector-operation.js +28 -4
- package/dist/gpu-core/gpu-semantic-vector-operation.js.map +1 -1
- package/dist/gpu-core/gpu-sort.cjs +2 -2
- package/dist/gpu-core/gpu-sort.js +1 -1
- package/dist/gpu-core/gpu-sort.js.map +1 -1
- package/dist/gpu-core/gpu-spatial-utils.cjs +2 -2
- package/dist/gpu-core/gpu-spatial-utils.js +1 -1
- package/dist/gpu-core/gpu-spatial-utils.js.map +1 -1
- package/dist/gpu-core/gpu-text-selection.cjs +4 -4
- package/dist/gpu-core/gpu-text-selection.js +1 -1
- package/dist/gpu-core/gpu-text-selection.js.map +1 -1
- package/dist/gpu-core/gpu-transpose-benchmark.cjs +2 -2
- package/dist/gpu-core/gpu-transpose-benchmark.js +1 -1
- package/dist/gpu-core/gpu-transpose-benchmark.js.map +1 -1
- package/dist/gpu-core/gpu-transpose.cjs +3 -3
- package/dist/gpu-core/gpu-transpose.js +2 -2
- package/dist/gpu-core/gpu-transpose.js.map +1 -1
- package/dist/gpu-core/gpu-uint64-scan.cjs +2 -2
- package/dist/gpu-core/gpu-uint64-scan.js +1 -1
- package/dist/gpu-core/gpu-uint64-scan.js.map +1 -1
- package/dist/gpu-core/gpu-virtual-geometry-selection.cjs +3 -3
- package/dist/gpu-core/gpu-virtual-geometry-selection.js +2 -2
- package/dist/gpu-core/gpu-virtual-geometry-selection.js.map +1 -1
- package/dist/gpu-core/gpu-visibility-workflow.cjs +2 -2
- package/dist/gpu-core/gpu-visibility-workflow.js +1 -1
- package/dist/gpu-core/gpu-visibility-workflow.js.map +1 -1
- package/dist/gpu-core/gpu-workgroup-reduction-benchmark.cjs +2 -2
- package/dist/gpu-core/gpu-workgroup-reduction-benchmark.js +1 -1
- package/dist/gpu-core/gpu-workgroup-reduction-benchmark.js.map +1 -1
- package/dist/gpu-core/gpu-workgroup-scan-benchmark.cjs +2 -2
- package/dist/gpu-core/gpu-workgroup-scan-benchmark.js +1 -1
- package/dist/gpu-core/gpu-workgroup-scan-benchmark.js.map +1 -1
- package/dist/gpu-core/graph-data-view-utils.cjs +1 -1
- package/dist/gpu-core/graph-data-view-utils.d.ts +1 -1
- package/dist/gpu-core/graph-data-view-utils.js +1 -1
- package/dist/gpu-core/graph-vector-view-utils.d.ts +1 -1
- package/dist/gpu-core/index.cjs +6 -3
- package/dist/gpu-core/index.cjs.map +3 -3
- package/dist/gpu-core/index.d.ts +6 -1
- package/dist/gpu-core/index.d.ts.map +1 -1
- package/dist/gpu-core/index.js +2 -1
- package/dist/gpu-core/index.js.map +1 -1
- package/dist/gpu-core/utils/bound-kernel.cjs +3 -3
- package/dist/gpu-core/utils/bound-kernel.d.ts +1 -1
- package/dist/gpu-core/utils/bound-kernel.d.ts.map +1 -1
- package/dist/gpu-core/utils/bound-kernel.js +1 -1
- package/dist/gpu-core/utils/bound-kernel.js.map +1 -1
- package/dist/gpu-crossfilter/gpu-selection.cjs +2 -2
- package/dist/gpu-crossfilter/gpu-selection.js +1 -1
- package/dist/gpu-crossfilter/gpu-selection.js.map +1 -1
- package/dist/gpu-crossfilter/index.cjs.map +3 -3
- package/dist/gpu-data/gpu-constant.cjs +60 -0
- package/dist/gpu-data/gpu-constant.d.ts +20 -0
- package/dist/gpu-data/gpu-constant.d.ts.map +1 -0
- package/dist/gpu-data/gpu-constant.js +39 -0
- package/dist/gpu-data/gpu-constant.js.map +1 -0
- package/dist/gpu-data/gpu-data-format.cjs +133 -0
- package/dist/gpu-data/gpu-data-format.d.ts +88 -0
- package/dist/gpu-data/gpu-data-format.d.ts.map +1 -0
- package/dist/gpu-data/gpu-data-format.js +139 -0
- package/dist/gpu-data/gpu-data-format.js.map +1 -0
- package/dist/gpu-data/gpu-data-view.cjs +98 -0
- package/dist/gpu-data/gpu-data-view.d.ts +64 -0
- package/dist/gpu-data/gpu-data-view.d.ts.map +1 -0
- package/dist/gpu-data/gpu-data-view.js +85 -0
- package/dist/gpu-data/gpu-data-view.js.map +1 -0
- package/dist/gpu-data/gpu-data.cjs +180 -0
- package/dist/gpu-data/gpu-data.d.ts +178 -0
- package/dist/gpu-data/gpu-data.d.ts.map +1 -0
- package/dist/gpu-data/gpu-data.js +186 -0
- package/dist/gpu-data/gpu-data.js.map +1 -0
- package/dist/gpu-data/gpu-sparse-matrix.cjs +77 -0
- package/dist/gpu-data/gpu-sparse-matrix.d.ts +34 -0
- package/dist/gpu-data/gpu-sparse-matrix.d.ts.map +1 -0
- package/dist/gpu-data/gpu-sparse-matrix.js +54 -0
- package/dist/gpu-data/gpu-sparse-matrix.js.map +1 -0
- package/dist/gpu-data/gpu-vector-chunks.cjs +34 -0
- package/dist/gpu-data/gpu-vector-chunks.d.ts +13 -0
- package/dist/gpu-data/gpu-vector-chunks.d.ts.map +1 -0
- package/dist/gpu-data/gpu-vector-chunks.js +13 -0
- package/dist/gpu-data/gpu-vector-chunks.js.map +1 -0
- package/dist/gpu-data/gpu-vector-format.cjs +173 -0
- package/dist/gpu-data/gpu-vector-format.d.ts +81 -0
- package/dist/gpu-data/gpu-vector-format.d.ts.map +1 -0
- package/dist/gpu-data/gpu-vector-format.js +153 -0
- package/dist/gpu-data/gpu-vector-format.js.map +1 -0
- package/dist/gpu-data/gpu-vector-like.cjs +15 -0
- package/dist/gpu-data/gpu-vector-like.d.ts +22 -0
- package/dist/gpu-data/gpu-vector-like.d.ts.map +1 -0
- package/dist/gpu-data/gpu-vector-like.js +5 -0
- package/dist/gpu-data/gpu-vector-like.js.map +1 -0
- package/dist/gpu-data/gpu-vector-utils.cjs +86 -0
- package/dist/gpu-data/gpu-vector-utils.d.ts +21 -0
- package/dist/gpu-data/gpu-vector-utils.d.ts.map +1 -0
- package/dist/gpu-data/gpu-vector-utils.js +59 -0
- package/dist/gpu-data/gpu-vector-utils.js.map +1 -0
- package/dist/gpu-data/gpu-vector.cjs +273 -0
- package/dist/gpu-data/gpu-vector.d.ts +178 -0
- package/dist/gpu-data/gpu-vector.d.ts.map +1 -0
- package/dist/gpu-data/gpu-vector.js +263 -0
- package/dist/gpu-data/gpu-vector.js.map +1 -0
- package/dist/gpu-data/index.cjs +79 -0
- package/dist/gpu-data/index.cjs.map +6 -0
- package/dist/gpu-data/index.d.ts +11 -0
- package/dist/gpu-data/index.d.ts.map +1 -0
- package/dist/gpu-data/index.js +13 -0
- package/dist/gpu-data/index.js.map +1 -0
- package/dist/gpu-dataframe/gpu-analytics-compiler-utils.cjs +3 -3
- package/dist/gpu-dataframe/gpu-analytics-compiler-utils.d.ts +1 -1
- package/dist/gpu-dataframe/gpu-analytics-compiler-utils.js +2 -2
- package/dist/gpu-dataframe/gpu-analytics-compiler-utils.js.map +1 -1
- package/dist/gpu-dataframe/gpu-data-frame.cjs +1 -1
- package/dist/gpu-dataframe/gpu-data-frame.d.ts +1 -1
- package/dist/gpu-dataframe/gpu-data-frame.js +1 -1
- package/dist/gpu-dataframe/gpu-global-sort-compiler.d.ts +1 -1
- package/dist/gpu-dataframe/gpu-group-aggregation-compiler.cjs +1 -1
- package/dist/gpu-dataframe/gpu-group-aggregation-compiler.js +1 -1
- package/dist/gpu-dataframe/gpu-join-compiler.cjs +1 -1
- package/dist/gpu-dataframe/gpu-join-compiler.d.ts +1 -1
- package/dist/gpu-dataframe/gpu-join-compiler.js +1 -1
- package/dist/gpu-dataframe/gpu-query-compiler.cjs +3 -3
- package/dist/gpu-dataframe/gpu-query-compiler.d.ts +1 -1
- package/dist/gpu-dataframe/gpu-query-compiler.js +2 -2
- package/dist/gpu-dataframe/gpu-query-compiler.js.map +1 -1
- package/dist/gpu-dataframe/index.cjs.map +3 -3
- package/dist/gpu-dggs/benchmarks.cjs.map +3 -3
- package/dist/gpu-dggs/gpu-dggs-cell-projection.cjs +4 -4
- package/dist/gpu-dggs/gpu-dggs-cell-projection.js +2 -2
- package/dist/gpu-dggs/gpu-dggs-cell-projection.js.map +1 -1
- package/dist/gpu-dggs/index.cjs.map +3 -3
- package/dist/gpu-effects/index.cjs.map +3 -3
- package/dist/gpu-geometry/index.cjs.map +3 -3
- package/dist/gpu-graph/index.cjs +2 -5
- package/dist/gpu-graph/index.cjs.map +3 -3
- package/dist/gpu-graph/index.d.ts +3 -1
- package/dist/gpu-graph/index.d.ts.map +1 -1
- package/dist/gpu-graph/index.js +0 -1
- package/dist/gpu-graph/index.js.map +1 -1
- package/dist/gpu-graph-algorithms/benchmarks.cjs.map +3 -3
- package/dist/gpu-graph-algorithms/gpu-graph-benchmark.cjs +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-benchmark.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-breadth-first-search-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-breadth-first-search-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-breadth-first-search-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-breadth-first-search.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-connected-components-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-connected-components-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-connected-components-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-connected-components.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-core-number-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-core-number-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-core-number-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-core-number.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-degree-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-degree-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-degree-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-degree.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-force-layout-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-force-layout-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-force-layout-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-force-layout.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-label-propagation-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-label-propagation-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-label-propagation-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-label-propagation.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-local-clustering-coefficient-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-local-clustering-coefficient-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-local-clustering-coefficient-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-local-clustering-coefficient.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-modularity-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-modularity-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-modularity-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-modularity-optimization-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-modularity-optimization-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-modularity-optimization-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-modularity-optimization.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-modularity.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-page-rank-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-page-rank-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-page-rank-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-page-rank.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-single-source-shortest-path-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-single-source-shortest-path-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-single-source-shortest-path-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-single-source-shortest-path.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-spatial-force-layout-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-spatial-force-layout-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-spatial-force-layout-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-spatial-force-layout.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-topology-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-topology-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-topology-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-topology.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph.d.ts +1 -1
- package/dist/gpu-graph-algorithms/index.cjs.map +3 -3
- package/dist/gpu-h3/index.cjs.map +3 -3
- package/dist/gpu-parse/index.cjs.map +3 -3
- package/dist/gpu-parse/parquet/gpu-parquet-bit-packed-decoder.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-bit-packed-decoder.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-bit-packed-decoder.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-byte-stream-split-batch-decoder.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-byte-stream-split-batch-decoder.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-byte-stream-split-batch-decoder.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-byte-stream-split-decoder.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-byte-stream-split-decoder.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-byte-stream-split-decoder.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-delta-binary-packed-int64-unpacker.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-delta-binary-packed-int64-unpacker.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-delta-binary-packed-int64-unpacker.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-delta-binary-packed-unpacker.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-delta-binary-packed-unpacker.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-delta-binary-packed-unpacker.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-delta-byte-array-decoder.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-delta-byte-array-decoder.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-delta-byte-array-decoder.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-dictionary-decoder.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-dictionary-decoder.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-dictionary-decoder.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-level-layout.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-level-layout.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-level-layout.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-nested-column-layout.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-nested-column-layout.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-nested-column-layout.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-plain-boolean-decoder.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-plain-boolean-decoder.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-plain-boolean-decoder.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-rle-bit-packed-decoder.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-rle-bit-packed-decoder.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-rle-bit-packed-decoder.js.map +1 -1
- package/dist/gpu-physics/index.cjs.map +3 -3
- package/dist/gpu-physics/rigid-body-broad-phase.cjs +2 -2
- package/dist/gpu-physics/rigid-body-broad-phase.js +1 -1
- package/dist/gpu-physics/rigid-body-broad-phase.js.map +1 -1
- package/dist/gpu-pointcloud/index.cjs.map +3 -3
- package/dist/gpu-project/benchmarks.cjs.map +3 -3
- package/dist/gpu-project/crs.cjs.map +3 -3
- package/dist/gpu-project/gpu-projection-table.cjs +1 -1
- package/dist/gpu-project/gpu-projection-table.js +1 -1
- package/dist/gpu-project/index.cjs.map +3 -3
- package/dist/gpu-project/projection-program.cjs +2 -2
- package/dist/gpu-project/projection-program.d.ts +1 -1
- package/dist/gpu-project/projection-program.d.ts.map +1 -1
- package/dist/gpu-project/projection-program.js +1 -1
- package/dist/gpu-project/projection-program.js.map +1 -1
- package/dist/gpu-project/projection-table-benchmark.cjs +1 -1
- package/dist/gpu-project/projection-table-benchmark.js +1 -1
- package/dist/gpu-raster/gpu-raster-band-math.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-band-math.js +1 -1
- package/dist/gpu-raster/gpu-raster-band-math.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-buffer-to-texture.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-buffer-to-texture.js +1 -1
- package/dist/gpu-raster/gpu-raster-buffer-to-texture.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-connected-components.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-connected-components.js +1 -1
- package/dist/gpu-raster/gpu-raster-connected-components.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-contours.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-contours.js +1 -1
- package/dist/gpu-raster/gpu-raster-contours.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-contrast.cjs +3 -3
- package/dist/gpu-raster/gpu-raster-contrast.js +1 -1
- package/dist/gpu-raster/gpu-raster-contrast.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-cross-tile-components.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-cross-tile-components.js +1 -1
- package/dist/gpu-raster/gpu-raster-cross-tile-components.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-dense-components.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-dense-components.js +1 -1
- package/dist/gpu-raster/gpu-raster-dense-components.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-edges.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-edges.js +1 -1
- package/dist/gpu-raster/gpu-raster-edges.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-global-statistics.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-global-statistics.js +1 -1
- package/dist/gpu-raster/gpu-raster-global-statistics.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-histogram.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-histogram.js +1 -1
- package/dist/gpu-raster/gpu-raster-histogram.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-morphology.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-morphology.js +1 -1
- package/dist/gpu-raster/gpu-raster-morphology.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-neighborhood.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-neighborhood.js +1 -1
- package/dist/gpu-raster/gpu-raster-neighborhood.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-overview.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-overview.js +1 -1
- package/dist/gpu-raster/gpu-raster-overview.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-region-measurements.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-region-measurements.js +1 -1
- package/dist/gpu-raster/gpu-raster-region-measurements.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-statistics.cjs +3 -3
- package/dist/gpu-raster/gpu-raster-statistics.js +1 -1
- package/dist/gpu-raster/gpu-raster-statistics.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-texture-to-buffer.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-texture-to-buffer.js +1 -1
- package/dist/gpu-raster/gpu-raster-texture-to-buffer.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-threshold.cjs +3 -3
- package/dist/gpu-raster/gpu-raster-threshold.js +1 -1
- package/dist/gpu-raster/gpu-raster-threshold.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-tile-halo.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-tile-halo.js +1 -1
- package/dist/gpu-raster/gpu-raster-tile-halo.js.map +1 -1
- package/dist/gpu-raster/index.cjs.map +3 -3
- package/dist/gpu-simple-graph/compiled-gpu-expression-graph.cjs +228 -0
- package/dist/gpu-simple-graph/compiled-gpu-expression-graph.d.ts +15 -0
- package/dist/gpu-simple-graph/compiled-gpu-expression-graph.d.ts.map +1 -0
- package/dist/gpu-simple-graph/compiled-gpu-expression-graph.js +228 -0
- package/dist/gpu-simple-graph/compiled-gpu-expression-graph.js.map +1 -0
- package/dist/gpu-simple-graph/gpu-expression-cast-operation.cjs +150 -0
- package/dist/gpu-simple-graph/gpu-expression-cast-operation.d.ts +18 -0
- package/dist/gpu-simple-graph/gpu-expression-cast-operation.d.ts.map +1 -0
- package/dist/gpu-simple-graph/gpu-expression-cast-operation.js +123 -0
- package/dist/gpu-simple-graph/gpu-expression-cast-operation.js.map +1 -0
- package/dist/gpu-simple-graph/gpu-expression-row-operation.cjs +100 -0
- package/dist/gpu-simple-graph/gpu-expression-row-operation.d.ts +15 -0
- package/dist/gpu-simple-graph/gpu-expression-row-operation.d.ts.map +1 -0
- package/dist/gpu-simple-graph/gpu-expression-row-operation.js +74 -0
- package/dist/gpu-simple-graph/gpu-expression-row-operation.js.map +1 -0
- package/dist/gpu-simple-graph/gpu-simple-graph-lowering.cjs +14 -12
- package/dist/gpu-simple-graph/gpu-simple-graph-lowering.d.ts +2 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-lowering.d.ts.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-lowering.js +3 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-lowering.js.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-operation.cjs +5 -4
- package/dist/gpu-simple-graph/gpu-simple-graph-operation.d.ts +3 -2
- package/dist/gpu-simple-graph/gpu-simple-graph-operation.d.ts.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-operation.js +2 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-operation.js.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-transfer.cjs +7 -5
- package/dist/gpu-simple-graph/gpu-simple-graph-transfer.d.ts.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-transfer.js +3 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-transfer.js.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-value.cjs +44 -31
- package/dist/gpu-simple-graph/gpu-simple-graph-value.d.ts +17 -3
- package/dist/gpu-simple-graph/gpu-simple-graph-value.d.ts.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-value.js +15 -2
- package/dist/gpu-simple-graph/gpu-simple-graph-value.js.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph.cjs +39 -14
- package/dist/gpu-simple-graph/gpu-simple-graph.d.ts +22 -5
- package/dist/gpu-simple-graph/gpu-simple-graph.d.ts.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph.js +34 -8
- package/dist/gpu-simple-graph/gpu-simple-graph.js.map +1 -1
- package/dist/gpu-simple-graph/index.cjs +99 -2
- package/dist/gpu-simple-graph/index.cjs.map +3 -3
- package/dist/gpu-simple-graph/index.d.ts +30 -0
- package/dist/gpu-simple-graph/index.d.ts.map +1 -1
- package/dist/gpu-simple-graph/index.js +25 -0
- package/dist/gpu-simple-graph/index.js.map +1 -1
- package/dist/gpu-simple-graph/operation/backend-registry.cjs +145 -0
- package/dist/gpu-simple-graph/operation/backend-registry.d.ts +44 -0
- package/dist/gpu-simple-graph/operation/backend-registry.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operation/backend-registry.js +135 -0
- package/dist/gpu-simple-graph/operation/backend-registry.js.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-data-evaluator.cjs +707 -0
- package/dist/gpu-simple-graph/operation/gpu-data-evaluator.d.ts +248 -0
- package/dist/gpu-simple-graph/operation/gpu-data-evaluator.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-data-evaluator.js +731 -0
- package/dist/gpu-simple-graph/operation/gpu-data-evaluator.js.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluation-scope.cjs +108 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluation-scope.d.ts +39 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluation-scope.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluation-scope.js +99 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluation-scope.js.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluator-inspection.cjs +84 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluator-inspection.d.ts +36 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluator-inspection.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluator-inspection.js +71 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluator-inspection.js.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-table-format-types.cjs +15 -0
- package/dist/gpu-simple-graph/operation/gpu-table-format-types.d.ts +30 -0
- package/dist/gpu-simple-graph/operation/gpu-table-format-types.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-table-format-types.js +5 -0
- package/dist/gpu-simple-graph/operation/gpu-table-format-types.js.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-vector-evaluator.cjs +236 -0
- package/dist/gpu-simple-graph/operation/gpu-vector-evaluator.d.ts +107 -0
- package/dist/gpu-simple-graph/operation/gpu-vector-evaluator.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-vector-evaluator.js +232 -0
- package/dist/gpu-simple-graph/operation/gpu-vector-evaluator.js.map +1 -0
- package/dist/gpu-simple-graph/operation/operation.cjs +100 -0
- package/dist/gpu-simple-graph/operation/operation.d.ts +56 -0
- package/dist/gpu-simple-graph/operation/operation.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operation/operation.js +85 -0
- package/dist/gpu-simple-graph/operation/operation.js.map +1 -0
- package/dist/gpu-simple-graph/operations/arithmetic-expression.cjs +40 -0
- package/dist/gpu-simple-graph/operations/arithmetic-expression.d.ts +9 -0
- package/dist/gpu-simple-graph/operations/arithmetic-expression.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/arithmetic-expression.js +18 -0
- package/dist/gpu-simple-graph/operations/arithmetic-expression.js.map +1 -0
- package/dist/gpu-simple-graph/operations/arithmetic-operation.cjs +210 -0
- package/dist/gpu-simple-graph/operations/arithmetic-operation.d.ts +14 -0
- package/dist/gpu-simple-graph/operations/arithmetic-operation.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/arithmetic-operation.js +192 -0
- package/dist/gpu-simple-graph/operations/arithmetic-operation.js.map +1 -0
- package/dist/gpu-simple-graph/operations/arithmetic.cjs +94 -0
- package/dist/gpu-simple-graph/operations/arithmetic.d.ts +63 -0
- package/dist/gpu-simple-graph/operations/arithmetic.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/arithmetic.js +98 -0
- package/dist/gpu-simple-graph/operations/arithmetic.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cast-data.cjs +61 -0
- package/dist/gpu-simple-graph/operations/cast-data.d.ts +18 -0
- package/dist/gpu-simple-graph/operations/cast-data.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cast-data.js +41 -0
- package/dist/gpu-simple-graph/operations/cast-data.js.map +1 -0
- package/dist/gpu-simple-graph/operations/convert-colors.cjs +66 -0
- package/dist/gpu-simple-graph/operations/convert-colors.d.ts +12 -0
- package/dist/gpu-simple-graph/operations/convert-colors.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/convert-colors.js +45 -0
- package/dist/gpu-simple-graph/operations/convert-colors.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/arithmetic.cjs +110 -0
- package/dist/gpu-simple-graph/operations/cpu/arithmetic.d.ts +4 -0
- package/dist/gpu-simple-graph/operations/cpu/arithmetic.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/arithmetic.js +88 -0
- package/dist/gpu-simple-graph/operations/cpu/arithmetic.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/cast-data.cjs +83 -0
- package/dist/gpu-simple-graph/operations/cpu/cast-data.d.ts +5 -0
- package/dist/gpu-simple-graph/operations/cpu/cast-data.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/cast-data.js +62 -0
- package/dist/gpu-simple-graph/operations/cpu/cast-data.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/common.cjs +106 -0
- package/dist/gpu-simple-graph/operations/cpu/common.d.ts +23 -0
- package/dist/gpu-simple-graph/operations/cpu/common.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/common.js +85 -0
- package/dist/gpu-simple-graph/operations/cpu/common.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/convert-colors.cjs +60 -0
- package/dist/gpu-simple-graph/operations/cpu/convert-colors.d.ts +4 -0
- package/dist/gpu-simple-graph/operations/cpu/convert-colors.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/convert-colors.js +40 -0
- package/dist/gpu-simple-graph/operations/cpu/convert-colors.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/dot.cjs +42 -0
- package/dist/gpu-simple-graph/operations/cpu/dot.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/cpu/dot.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/dot.js +20 -0
- package/dist/gpu-simple-graph/operations/cpu/dot.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/equal-all.cjs +45 -0
- package/dist/gpu-simple-graph/operations/cpu/equal-all.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/cpu/equal-all.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/equal-all.js +23 -0
- package/dist/gpu-simple-graph/operations/cpu/equal-all.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/extent.cjs +62 -0
- package/dist/gpu-simple-graph/operations/cpu/extent.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/cpu/extent.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/extent.js +40 -0
- package/dist/gpu-simple-graph/operations/cpu/extent.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/fround.cjs +44 -0
- package/dist/gpu-simple-graph/operations/cpu/fround.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/cpu/fround.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/fround.js +22 -0
- package/dist/gpu-simple-graph/operations/cpu/fround.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/gather.cjs +54 -0
- package/dist/gpu-simple-graph/operations/cpu/gather.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/cpu/gather.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/gather.js +34 -0
- package/dist/gpu-simple-graph/operations/cpu/gather.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/index.cjs +66 -0
- package/dist/gpu-simple-graph/operations/cpu/index.cjs.map +6 -0
- package/dist/gpu-simple-graph/operations/cpu/index.d.ts +17 -0
- package/dist/gpu-simple-graph/operations/cpu/index.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/index.js +20 -0
- package/dist/gpu-simple-graph/operations/cpu/index.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/interleave.cjs +41 -0
- package/dist/gpu-simple-graph/operations/cpu/interleave.d.ts +4 -0
- package/dist/gpu-simple-graph/operations/cpu/interleave.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/interleave.js +19 -0
- package/dist/gpu-simple-graph/operations/cpu/interleave.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/length.cjs +41 -0
- package/dist/gpu-simple-graph/operations/cpu/length.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/cpu/length.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/length.js +19 -0
- package/dist/gpu-simple-graph/operations/cpu/length.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/segmented-map.cjs +72 -0
- package/dist/gpu-simple-graph/operations/cpu/segmented-map.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/cpu/segmented-map.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/segmented-map.js +52 -0
- package/dist/gpu-simple-graph/operations/cpu/segmented-map.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/select.cjs +48 -0
- package/dist/gpu-simple-graph/operations/cpu/select.d.ts +8 -0
- package/dist/gpu-simple-graph/operations/cpu/select.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/select.js +29 -0
- package/dist/gpu-simple-graph/operations/cpu/select.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/sequence.cjs +37 -0
- package/dist/gpu-simple-graph/operations/cpu/sequence.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/cpu/sequence.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/sequence.js +15 -0
- package/dist/gpu-simple-graph/operations/cpu/sequence.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/swizzle.cjs +40 -0
- package/dist/gpu-simple-graph/operations/cpu/swizzle.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/cpu/swizzle.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/swizzle.js +18 -0
- package/dist/gpu-simple-graph/operations/cpu/swizzle.js.map +1 -0
- package/dist/gpu-simple-graph/operations/dot.cjs +58 -0
- package/dist/gpu-simple-graph/operations/dot.d.ts +3 -0
- package/dist/gpu-simple-graph/operations/dot.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/dot.js +36 -0
- package/dist/gpu-simple-graph/operations/dot.js.map +1 -0
- package/dist/gpu-simple-graph/operations/equal-all.cjs +57 -0
- package/dist/gpu-simple-graph/operations/equal-all.d.ts +3 -0
- package/dist/gpu-simple-graph/operations/equal-all.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/equal-all.js +35 -0
- package/dist/gpu-simple-graph/operations/equal-all.js.map +1 -0
- package/dist/gpu-simple-graph/operations/extent.cjs +51 -0
- package/dist/gpu-simple-graph/operations/extent.d.ts +9 -0
- package/dist/gpu-simple-graph/operations/extent.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/extent.js +36 -0
- package/dist/gpu-simple-graph/operations/extent.js.map +1 -0
- package/dist/gpu-simple-graph/operations/fround.cjs +49 -0
- package/dist/gpu-simple-graph/operations/fround.d.ts +10 -0
- package/dist/gpu-simple-graph/operations/fround.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/fround.js +35 -0
- package/dist/gpu-simple-graph/operations/fround.js.map +1 -0
- package/dist/gpu-simple-graph/operations/gather.cjs +52 -0
- package/dist/gpu-simple-graph/operations/gather.d.ts +10 -0
- package/dist/gpu-simple-graph/operations/gather.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/gather.js +38 -0
- package/dist/gpu-simple-graph/operations/gather.js.map +1 -0
- package/dist/gpu-simple-graph/operations/interleave.cjs +59 -0
- package/dist/gpu-simple-graph/operations/interleave.d.ts +9 -0
- package/dist/gpu-simple-graph/operations/interleave.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/interleave.js +44 -0
- package/dist/gpu-simple-graph/operations/interleave.js.map +1 -0
- package/dist/gpu-simple-graph/operations/length.cjs +49 -0
- package/dist/gpu-simple-graph/operations/length.d.ts +3 -0
- package/dist/gpu-simple-graph/operations/length.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/length.js +27 -0
- package/dist/gpu-simple-graph/operations/length.js.map +1 -0
- package/dist/gpu-simple-graph/operations/segmented-map.cjs +91 -0
- package/dist/gpu-simple-graph/operations/segmented-map.d.ts +10 -0
- package/dist/gpu-simple-graph/operations/segmented-map.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/segmented-map.js +78 -0
- package/dist/gpu-simple-graph/operations/segmented-map.js.map +1 -0
- package/dist/gpu-simple-graph/operations/select.cjs +61 -0
- package/dist/gpu-simple-graph/operations/select.d.ts +9 -0
- package/dist/gpu-simple-graph/operations/select.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/select.js +46 -0
- package/dist/gpu-simple-graph/operations/select.js.map +1 -0
- package/dist/gpu-simple-graph/operations/sequence.cjs +65 -0
- package/dist/gpu-simple-graph/operations/sequence.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/sequence.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/sequence.js +47 -0
- package/dist/gpu-simple-graph/operations/sequence.js.map +1 -0
- package/dist/gpu-simple-graph/operations/swizzle.cjs +110 -0
- package/dist/gpu-simple-graph/operations/swizzle.d.ts +3 -0
- package/dist/gpu-simple-graph/operations/swizzle.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/swizzle.js +88 -0
- package/dist/gpu-simple-graph/operations/swizzle.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/arithmetic.cjs +77 -0
- package/dist/gpu-simple-graph/operations/webgl/arithmetic.d.ts +4 -0
- package/dist/gpu-simple-graph/operations/webgl/arithmetic.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/arithmetic.js +56 -0
- package/dist/gpu-simple-graph/operations/webgl/arithmetic.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/cast-data.cjs +27 -0
- package/dist/gpu-simple-graph/operations/webgl/cast-data.d.ts +2 -0
- package/dist/gpu-simple-graph/operations/webgl/cast-data.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/cast-data.js +6 -0
- package/dist/gpu-simple-graph/operations/webgl/cast-data.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/common/helper.cjs +147 -0
- package/dist/gpu-simple-graph/operations/webgl/common/helper.d.ts +10 -0
- package/dist/gpu-simple-graph/operations/webgl/common/helper.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/common/helper.js +114 -0
- package/dist/gpu-simple-graph/operations/webgl/common/helper.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/common/random-access-transform.cjs +68 -0
- package/dist/gpu-simple-graph/operations/webgl/common/random-access-transform.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgl/common/random-access-transform.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/common/random-access-transform.js +44 -0
- package/dist/gpu-simple-graph/operations/webgl/common/random-access-transform.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/common/row-transform.cjs +201 -0
- package/dist/gpu-simple-graph/operations/webgl/common/row-transform.d.ts +23 -0
- package/dist/gpu-simple-graph/operations/webgl/common/row-transform.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/common/row-transform.js +173 -0
- package/dist/gpu-simple-graph/operations/webgl/common/row-transform.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/common/transform-kernel.cjs +88 -0
- package/dist/gpu-simple-graph/operations/webgl/common/transform-kernel.d.ts +22 -0
- package/dist/gpu-simple-graph/operations/webgl/common/transform-kernel.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/common/transform-kernel.js +71 -0
- package/dist/gpu-simple-graph/operations/webgl/common/transform-kernel.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/convert-colors.cjs +27 -0
- package/dist/gpu-simple-graph/operations/webgl/convert-colors.d.ts +2 -0
- package/dist/gpu-simple-graph/operations/webgl/convert-colors.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/convert-colors.js +7 -0
- package/dist/gpu-simple-graph/operations/webgl/convert-colors.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/dot.cjs +45 -0
- package/dist/gpu-simple-graph/operations/webgl/dot.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgl/dot.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/dot.js +24 -0
- package/dist/gpu-simple-graph/operations/webgl/dot.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/equal-all.cjs +48 -0
- package/dist/gpu-simple-graph/operations/webgl/equal-all.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgl/equal-all.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/equal-all.js +27 -0
- package/dist/gpu-simple-graph/operations/webgl/equal-all.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/extent.cjs +193 -0
- package/dist/gpu-simple-graph/operations/webgl/extent.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgl/extent.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/extent.js +169 -0
- package/dist/gpu-simple-graph/operations/webgl/extent.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/fround.cjs +220 -0
- package/dist/gpu-simple-graph/operations/webgl/fround.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgl/fround.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/fround.js +196 -0
- package/dist/gpu-simple-graph/operations/webgl/fround.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/gather.cjs +143 -0
- package/dist/gpu-simple-graph/operations/webgl/gather.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgl/gather.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/gather.js +120 -0
- package/dist/gpu-simple-graph/operations/webgl/gather.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/index.cjs +66 -0
- package/dist/gpu-simple-graph/operations/webgl/index.cjs.map +6 -0
- package/dist/gpu-simple-graph/operations/webgl/index.d.ts +17 -0
- package/dist/gpu-simple-graph/operations/webgl/index.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/index.js +20 -0
- package/dist/gpu-simple-graph/operations/webgl/index.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/interleave.cjs +64 -0
- package/dist/gpu-simple-graph/operations/webgl/interleave.d.ts +4 -0
- package/dist/gpu-simple-graph/operations/webgl/interleave.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/interleave.js +47 -0
- package/dist/gpu-simple-graph/operations/webgl/interleave.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/length.cjs +45 -0
- package/dist/gpu-simple-graph/operations/webgl/length.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgl/length.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/length.js +24 -0
- package/dist/gpu-simple-graph/operations/webgl/length.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/segmented-map.cjs +102 -0
- package/dist/gpu-simple-graph/operations/webgl/segmented-map.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgl/segmented-map.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/segmented-map.js +82 -0
- package/dist/gpu-simple-graph/operations/webgl/segmented-map.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/select.cjs +52 -0
- package/dist/gpu-simple-graph/operations/webgl/select.d.ts +8 -0
- package/dist/gpu-simple-graph/operations/webgl/select.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/select.js +30 -0
- package/dist/gpu-simple-graph/operations/webgl/select.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/sequence.cjs +53 -0
- package/dist/gpu-simple-graph/operations/webgl/sequence.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgl/sequence.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/sequence.js +32 -0
- package/dist/gpu-simple-graph/operations/webgl/sequence.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/swizzle.cjs +38 -0
- package/dist/gpu-simple-graph/operations/webgl/swizzle.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgl/swizzle.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/swizzle.js +16 -0
- package/dist/gpu-simple-graph/operations/webgl/swizzle.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/arithmetic.cjs +79 -0
- package/dist/gpu-simple-graph/operations/webgpu/arithmetic.d.ts +4 -0
- package/dist/gpu-simple-graph/operations/webgpu/arithmetic.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/arithmetic.js +57 -0
- package/dist/gpu-simple-graph/operations/webgpu/arithmetic.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/cast-data.cjs +178 -0
- package/dist/gpu-simple-graph/operations/webgpu/cast-data.d.ts +5 -0
- package/dist/gpu-simple-graph/operations/webgpu/cast-data.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/cast-data.js +174 -0
- package/dist/gpu-simple-graph/operations/webgpu/cast-data.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/dispatch.cjs +54 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/dispatch.d.ts +9 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/dispatch.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/dispatch.js +29 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/dispatch.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/helper.cjs +78 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/helper.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/helper.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/helper.js +50 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/helper.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/random-access-transform.cjs +90 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/random-access-transform.d.ts +10 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/random-access-transform.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/random-access-transform.js +58 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/random-access-transform.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/row-transform.cjs +195 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/row-transform.d.ts +19 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/row-transform.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/row-transform.js +180 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/row-transform.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/convert-colors.cjs +154 -0
- package/dist/gpu-simple-graph/operations/webgpu/convert-colors.d.ts +4 -0
- package/dist/gpu-simple-graph/operations/webgpu/convert-colors.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/convert-colors.js +130 -0
- package/dist/gpu-simple-graph/operations/webgpu/convert-colors.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/dot.cjs +47 -0
- package/dist/gpu-simple-graph/operations/webgpu/dot.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgpu/dot.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/dot.js +26 -0
- package/dist/gpu-simple-graph/operations/webgpu/dot.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/equal-all.cjs +50 -0
- package/dist/gpu-simple-graph/operations/webgpu/equal-all.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgpu/equal-all.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/equal-all.js +29 -0
- package/dist/gpu-simple-graph/operations/webgpu/equal-all.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/extent.cjs +235 -0
- package/dist/gpu-simple-graph/operations/webgpu/extent.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgpu/extent.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/extent.js +215 -0
- package/dist/gpu-simple-graph/operations/webgpu/extent.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/fround.cjs +187 -0
- package/dist/gpu-simple-graph/operations/webgpu/fround.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgpu/fround.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/fround.js +163 -0
- package/dist/gpu-simple-graph/operations/webgpu/fround.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/gather.cjs +131 -0
- package/dist/gpu-simple-graph/operations/webgpu/gather.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgpu/gather.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/gather.js +106 -0
- package/dist/gpu-simple-graph/operations/webgpu/gather.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/index.cjs +66 -0
- package/dist/gpu-simple-graph/operations/webgpu/index.cjs.map +6 -0
- package/dist/gpu-simple-graph/operations/webgpu/index.d.ts +17 -0
- package/dist/gpu-simple-graph/operations/webgpu/index.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/index.js +20 -0
- package/dist/gpu-simple-graph/operations/webgpu/index.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/interleave.cjs +66 -0
- package/dist/gpu-simple-graph/operations/webgpu/interleave.d.ts +4 -0
- package/dist/gpu-simple-graph/operations/webgpu/interleave.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/interleave.js +49 -0
- package/dist/gpu-simple-graph/operations/webgpu/interleave.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/length.cjs +47 -0
- package/dist/gpu-simple-graph/operations/webgpu/length.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgpu/length.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/length.js +26 -0
- package/dist/gpu-simple-graph/operations/webgpu/length.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/segmented-map.cjs +104 -0
- package/dist/gpu-simple-graph/operations/webgpu/segmented-map.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgpu/segmented-map.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/segmented-map.js +79 -0
- package/dist/gpu-simple-graph/operations/webgpu/segmented-map.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/select.cjs +53 -0
- package/dist/gpu-simple-graph/operations/webgpu/select.d.ts +8 -0
- package/dist/gpu-simple-graph/operations/webgpu/select.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/select.js +31 -0
- package/dist/gpu-simple-graph/operations/webgpu/select.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/sequence.cjs +65 -0
- package/dist/gpu-simple-graph/operations/webgpu/sequence.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgpu/sequence.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/sequence.js +44 -0
- package/dist/gpu-simple-graph/operations/webgpu/sequence.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/swizzle.cjs +40 -0
- package/dist/gpu-simple-graph/operations/webgpu/swizzle.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgpu/swizzle.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/swizzle.js +18 -0
- package/dist/gpu-simple-graph/operations/webgpu/swizzle.js.map +1 -0
- package/dist/gpu-simple-graph/utils/buffer-pool.cjs +76 -0
- package/dist/gpu-simple-graph/utils/buffer-pool.d.ts +13 -0
- package/dist/gpu-simple-graph/utils/buffer-pool.d.ts.map +1 -0
- package/dist/gpu-simple-graph/utils/buffer-pool.js +57 -0
- package/dist/gpu-simple-graph/utils/buffer-pool.js.map +1 -0
- package/dist/gpu-simple-graph/utils/clean-evaluate.cjs +123 -0
- package/dist/gpu-simple-graph/utils/clean-evaluate.d.ts +22 -0
- package/dist/gpu-simple-graph/utils/clean-evaluate.d.ts.map +1 -0
- package/dist/gpu-simple-graph/utils/clean-evaluate.js +113 -0
- package/dist/gpu-simple-graph/utils/clean-evaluate.js.map +1 -0
- package/dist/gpu-simple-graph/utils/expression.cjs +91 -0
- package/dist/gpu-simple-graph/utils/expression.d.ts +56 -0
- package/dist/gpu-simple-graph/utils/expression.d.ts.map +1 -0
- package/dist/gpu-simple-graph/utils/expression.js +79 -0
- package/dist/gpu-simple-graph/utils/expression.js.map +1 -0
- package/dist/gpu-simple-graph/utils/output-props.cjs +60 -0
- package/dist/gpu-simple-graph/utils/output-props.d.ts +9 -0
- package/dist/gpu-simple-graph/utils/output-props.d.ts.map +1 -0
- package/dist/gpu-simple-graph/utils/output-props.js +42 -0
- package/dist/gpu-simple-graph/utils/output-props.js.map +1 -0
- package/dist/gpu-simple-graph/utils/uid.cjs +32 -0
- package/dist/gpu-simple-graph/utils/uid.d.ts +7 -0
- package/dist/gpu-simple-graph/utils/uid.d.ts.map +1 -0
- package/dist/gpu-simple-graph/utils/uid.js +15 -0
- package/dist/gpu-simple-graph/utils/uid.js.map +1 -0
- package/dist/gpu-simulation/index.cjs.map +3 -3
- package/dist/gpu-sql/index.cjs.map +3 -3
- package/dist/gpu-sql/lu-sql.d.ts +1 -1
- package/dist/gpu-sql/lu-sql.js +1 -1
- package/dist/gpu-tables/engine/gpu-input-schema.d.ts +3 -3
- package/dist/gpu-tables/engine/gpu-table-computation.cjs +3 -3
- package/dist/gpu-tables/engine/gpu-table-computation.d.ts +2 -2
- package/dist/gpu-tables/engine/gpu-table-computation.d.ts.map +1 -1
- package/dist/gpu-tables/engine/gpu-table-computation.js +2 -2
- package/dist/gpu-tables/engine/gpu-table-computation.js.map +1 -1
- package/dist/gpu-tables/engine/gpu-table-shader-bindings.cjs +1 -1
- package/dist/gpu-tables/engine/gpu-table-shader-bindings.d.ts +1 -1
- package/dist/gpu-tables/engine/gpu-table-shader-bindings.d.ts.map +1 -1
- package/dist/gpu-tables/engine/gpu-table-shader-bindings.js +1 -1
- package/dist/gpu-tables/index.cjs.map +3 -3
- package/dist/gpu-tables/table/gpu-record-batch.cjs +1 -1
- package/dist/gpu-tables/table/gpu-record-batch.d.ts +1 -1
- package/dist/gpu-tables/table/gpu-record-batch.js +1 -1
- package/dist/gpu-tables/table/gpu-schema.d.ts +1 -1
- package/dist/gpu-tables/table/gpu-table.cjs +4 -4
- package/dist/gpu-tables/table/gpu-table.d.ts +3 -3
- package/dist/gpu-tables/table/gpu-table.js +4 -4
- package/dist/gpu-timeseries/gpu-time-series-envelope.d.ts +1 -1
- package/dist/gpu-timeseries/gpu-time-series.d.ts +1 -1
- package/dist/gpu-timeseries/index.cjs.map +3 -3
- package/dist/gpu-trace/gpu-trace-anomaly-scoring.cjs +2 -2
- package/dist/gpu-trace/gpu-trace-anomaly-scoring.js +1 -1
- package/dist/gpu-trace/gpu-trace-anomaly-scoring.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-comparison.cjs +2 -2
- package/dist/gpu-trace/gpu-trace-comparison.js +1 -1
- package/dist/gpu-trace/gpu-trace-comparison.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-critical-path.cjs +2 -2
- package/dist/gpu-trace/gpu-trace-critical-path.js +1 -1
- package/dist/gpu-trace/gpu-trace-critical-path.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-interaction.cjs +2 -2
- package/dist/gpu-trace/gpu-trace-interaction.js +1 -1
- package/dist/gpu-trace/gpu-trace-interaction.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-lane-index-builder.cjs +2 -2
- package/dist/gpu-trace/gpu-trace-lane-index-builder.js +1 -1
- package/dist/gpu-trace/gpu-trace-lane-index-builder.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-mipmap-boundaries.cjs +3 -3
- package/dist/gpu-trace/gpu-trace-mipmap-boundaries.js +1 -1
- package/dist/gpu-trace/gpu-trace-mipmap-boundaries.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-pixel-mipmap.cjs +3 -3
- package/dist/gpu-trace/gpu-trace-pixel-mipmap.js +1 -1
- package/dist/gpu-trace/gpu-trace-pixel-mipmap.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-range-maximum-index.cjs +2 -2
- package/dist/gpu-trace/gpu-trace-range-maximum-index.js +1 -1
- package/dist/gpu-trace/gpu-trace-range-maximum-index.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-temporal-index-builder.cjs +2 -2
- package/dist/gpu-trace/gpu-trace-temporal-index-builder.js +1 -1
- package/dist/gpu-trace/gpu-trace-temporal-index-builder.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-temporal-index.cjs +4 -4
- package/dist/gpu-trace/gpu-trace-temporal-index.js +1 -1
- package/dist/gpu-trace/gpu-trace-temporal-index.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-time-buckets.cjs +2 -2
- package/dist/gpu-trace/gpu-trace-time-buckets.js +1 -1
- package/dist/gpu-trace/gpu-trace-time-buckets.js.map +1 -1
- package/dist/gpu-trace/index.cjs.map +3 -3
- package/dist/gpu-vector-search/embedding-matrix.cjs +1 -1
- package/dist/gpu-vector-search/embedding-matrix.d.ts +1 -1
- package/dist/gpu-vector-search/embedding-matrix.js +1 -1
- package/dist/gpu-vector-search/gpu-clustering-utils.cjs +2 -2
- package/dist/gpu-vector-search/gpu-clustering-utils.js +1 -1
- package/dist/gpu-vector-search/gpu-clustering-utils.js.map +1 -1
- package/dist/gpu-vector-search/gpu-similarity-search.cjs +2 -2
- package/dist/gpu-vector-search/gpu-similarity-search.js +1 -1
- package/dist/gpu-vector-search/gpu-similarity-search.js.map +1 -1
- package/dist/gpu-vector-search/index.cjs.map +3 -3
- package/dist/index.cjs +49 -27
- package/dist/index.cjs.map +3 -3
- package/dist/index.d.ts +21 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/dist/lucim/gpu-volume-connected-components.cjs +2 -2
- package/dist/lucim/gpu-volume-connected-components.js +1 -1
- package/dist/lucim/gpu-volume-connected-components.js.map +1 -1
- package/dist/lucim/gpu-volume-morphology.cjs +2 -2
- package/dist/lucim/gpu-volume-morphology.js +1 -1
- package/dist/lucim/gpu-volume-morphology.js.map +1 -1
- package/dist/lucim/gpu-volume-region-measurements.cjs +2 -2
- package/dist/lucim/gpu-volume-region-measurements.js +1 -1
- package/dist/lucim/gpu-volume-region-measurements.js.map +1 -1
- package/dist/lucim/gpu-volume-threshold.cjs +2 -2
- package/dist/lucim/gpu-volume-threshold.js +1 -1
- package/dist/lucim/gpu-volume-threshold.js.map +1 -1
- package/dist/lucim/index.cjs.map +3 -3
- package/dist/utils/assemble-compute-kernel.cjs +4 -4
- package/dist/utils/assemble-compute-kernel.d.ts +3 -2
- package/dist/utils/assemble-compute-kernel.d.ts.map +1 -1
- package/dist/utils/assemble-compute-kernel.js +3 -3
- package/dist/utils/assemble-compute-kernel.js.map +1 -1
- package/dist/webgpu.cjs +53 -0
- package/dist/webgpu.d.ts +3 -0
- package/dist/webgpu.d.ts.map +1 -0
- package/dist/webgpu.js +6 -0
- package/dist/webgpu.js.map +1 -0
- package/package.json +45 -8
- package/src/arrow/arrow-colors.ts +233 -0
- package/src/arrow/arrow-utils/arrow-column-info.ts +102 -0
- package/src/arrow/arrow-utils/arrow-paths.ts +195 -0
- package/src/arrow/arrow-utils/arrow-types.ts +104 -0
- package/src/arrow/dggs/dggs-gpu-polygons.ts +820 -0
- package/src/arrow/geoarrow/arrow-geoarrow-adapter.ts +519 -0
- package/src/arrow/geoarrow/arrow-geoarrow-conversion.ts +415 -0
- package/src/arrow/geoarrow/arrow-polygon-tessellation.ts +369 -0
- package/src/arrow/gpu/arrow-column-gpu-vector.ts +157 -0
- package/src/arrow/gpu/arrow-compute-kernel.ts +31 -0
- package/src/arrow/gpu/arrow-gpu-analytics-adapters.ts +474 -0
- package/src/arrow/gpu/arrow-gpu-analytics-readback.ts +294 -0
- package/src/arrow/gpu/arrow-gpu-data.ts +828 -0
- package/src/arrow/gpu/arrow-gpu-table-adapters.ts +378 -0
- package/src/arrow/gpu/arrow-gpu-table-conversion.ts +324 -0
- package/src/arrow/gpu/arrow-gpu-vector-adapters.ts +522 -0
- package/src/arrow/gpu/arrow-gpu-vector-conversion.ts +1139 -0
- package/src/arrow/gpu/arrow-input-schema.ts +98 -0
- package/src/arrow/gpu/arrow-shader-layout.ts +405 -0
- package/src/arrow/index.ts +203 -0
- package/src/arrow/internal.ts +46 -0
- package/src/arrow/vectors/arrow-fixed-size-list.ts +172 -0
- package/src/arrow/vectors/arrow-matrix-gpu-vector.ts +396 -0
- package/src/arrow/vectors/arrow-matrix-vector.ts +370 -0
- package/src/arrow/vectors/arrow-temporal-gpu-vector.ts +864 -0
- package/src/arrow/vectors/arrow-vector-utils.ts +359 -0
- package/src/execution/compute/kernel.ts +146 -0
- package/src/execution/compute/render-kernel.ts +213 -0
- package/src/execution/dynamic-buffer/dynamic-buffer.ts +19 -0
- package/src/execution/dynamic-texture/dynamic-texture.ts +9 -0
- package/src/execution/dynamic-texture/texture-binding-source.ts +12 -0
- package/src/execution/dynamic-texture/texture-data.ts +35 -0
- package/src/execution/utils/get-platform-info.ts +19 -0
- package/src/experimental/index.ts +59 -2
- package/src/experimental/models/path/gpu/path-storage-gpu-inputs.ts +3 -3
- package/src/experimental/models/polygon/polygon-gpu-inputs.ts +3 -3
- package/src/experimental/simulation/flow-particle-simulation.ts +1 -1
- package/src/experimental/simulation/scientific-flow-compute.ts +1 -1
- package/src/experimental/simulation/scientific-flow-tracer.ts +1 -1
- package/src/geospatial/geospatial-utils.ts +6 -9
- package/src/geospatial/gpu-point-spatial-query.ts +1 -1
- package/src/gpu-core/compiled-gpu-graph.ts +128 -0
- package/src/gpu-core/dispatch-command-buffer.ts +1 -1
- package/src/gpu-core/draw-command-buffer.ts +1 -1
- package/src/gpu-core/gpu-adaptive-spmv.ts +1 -1
- package/src/gpu-core/gpu-ancestor-projection.ts +1 -1
- package/src/gpu-core/gpu-bvh-query.ts +1 -1
- package/src/gpu-core/gpu-bvh.ts +2 -2
- package/src/gpu-core/gpu-byte-range-gather.ts +2 -2
- package/src/gpu-core/gpu-chunk-utils.ts +2 -2
- package/src/gpu-core/gpu-chunked-indexed-scatter.ts +1 -1
- package/src/gpu-core/gpu-command-graph-types.ts +3 -3
- package/src/gpu-core/gpu-command-graph.ts +1 -1
- package/src/gpu-core/gpu-compaction.ts +1 -1
- package/src/gpu-core/gpu-convolution.ts +2 -2
- package/src/gpu-core/gpu-dense-utils.ts +2 -2
- package/src/gpu-core/gpu-elementwise-scalar.ts +1 -1
- package/src/gpu-core/gpu-elementwise.ts +1 -1
- package/src/gpu-core/gpu-expression-cast.ts +45 -0
- package/src/gpu-core/gpu-expression-kernel.ts +268 -0
- package/src/gpu-core/gpu-expression-operation.ts +306 -0
- package/src/gpu-core/gpu-expression-plan.ts +528 -0
- package/src/gpu-core/gpu-fft1d.ts +2 -2
- package/src/gpu-core/gpu-fft2d.ts +1 -1
- package/src/gpu-core/gpu-finite-difference-utils.ts +2 -2
- package/src/gpu-core/gpu-flag-offsets.ts +1 -1
- package/src/gpu-core/gpu-galloping-search.ts +1 -1
- package/src/gpu-core/gpu-gather.ts +2 -2
- package/src/gpu-core/gpu-graph-compiler.ts +242 -147
- package/src/gpu-core/gpu-graph-lowering.ts +14 -21
- package/src/gpu-core/gpu-graph-traversal.ts +1 -1
- package/src/gpu-core/gpu-graph-validation.ts +15 -1
- package/src/gpu-core/gpu-graph-value.ts +9 -6
- package/src/gpu-core/gpu-graph.ts +15 -2
- package/src/gpu-core/gpu-group-aggregation.ts +1 -1
- package/src/gpu-core/gpu-hash-index.ts +1 -1
- package/src/gpu-core/gpu-hash-join.ts +1 -1
- package/src/gpu-core/gpu-hierarchy-layout.ts +1 -1
- package/src/gpu-core/gpu-histogram.ts +1 -1
- package/src/gpu-core/gpu-incremental-execution.ts +1 -1
- package/src/gpu-core/gpu-index-picking-target.ts +1 -1
- package/src/gpu-core/gpu-indexed-range-compaction.ts +1 -1
- package/src/gpu-core/gpu-lz-byte-batch-decompressor.ts +1 -1
- package/src/gpu-core/gpu-lz-byte-decompressor.ts +1 -1
- package/src/gpu-core/gpu-mask.ts +1 -1
- package/src/gpu-core/gpu-operation-contract.ts +85 -0
- package/src/gpu-core/gpu-operation.ts +3 -0
- package/src/gpu-core/gpu-predicate-conjunction.ts +1 -1
- package/src/gpu-core/gpu-reduction-substrate.ts +1 -1
- package/src/gpu-core/gpu-reduction.ts +1 -1
- package/src/gpu-core/gpu-scalar-dispatch-gate.ts +1 -1
- package/src/gpu-core/gpu-scalar-literal.ts +1 -1
- package/src/gpu-core/gpu-scalar-operation.ts +1 -1
- package/src/gpu-core/gpu-scan.ts +1 -1
- package/src/gpu-core/gpu-scatter.ts +1 -1
- package/src/gpu-core/gpu-scene-draw-generation.ts +1 -1
- package/src/gpu-core/gpu-scene-resource-groups.ts +1 -1
- package/src/gpu-core/gpu-segment-offsets.ts +1 -1
- package/src/gpu-core/gpu-segmented-bvh.ts +1 -1
- package/src/gpu-core/gpu-segmented-layout.ts +1 -1
- package/src/gpu-core/gpu-segmented-reduction.ts +1 -1
- package/src/gpu-core/gpu-segmented-scan.ts +1 -1
- package/src/gpu-core/gpu-segmented-sort.ts +1 -1
- package/src/gpu-core/gpu-semantic-scalar-operation.ts +10 -0
- package/src/gpu-core/gpu-semantic-spmv.ts +14 -1
- package/src/gpu-core/gpu-semantic-state-operation.ts +4 -0
- package/src/gpu-core/gpu-semantic-vector-operation.ts +37 -4
- package/src/gpu-core/gpu-sort.ts +1 -1
- package/src/gpu-core/gpu-spatial-utils.ts +1 -1
- package/src/gpu-core/gpu-text-selection.ts +1 -1
- package/src/gpu-core/gpu-transpose-benchmark.ts +1 -1
- package/src/gpu-core/gpu-transpose.ts +2 -2
- package/src/gpu-core/gpu-uint64-scan.ts +1 -1
- package/src/gpu-core/gpu-virtual-geometry-selection.ts +2 -2
- package/src/gpu-core/gpu-visibility-workflow.ts +1 -1
- package/src/gpu-core/gpu-workgroup-reduction-benchmark.ts +1 -1
- package/src/gpu-core/gpu-workgroup-scan-benchmark.ts +1 -1
- package/src/gpu-core/graph-data-view-utils.ts +1 -1
- package/src/gpu-core/graph-vector-view-utils.ts +1 -1
- package/src/gpu-core/index.ts +17 -1
- package/src/gpu-core/utils/bound-kernel.ts +1 -1
- package/src/gpu-crossfilter/gpu-selection.ts +1 -1
- package/src/gpu-data/gpu-constant.ts +60 -0
- package/src/gpu-data/gpu-data-format.ts +249 -0
- package/src/gpu-data/gpu-data-view.ts +155 -0
- package/src/gpu-data/gpu-data.ts +459 -0
- package/src/gpu-data/gpu-sparse-matrix.ts +76 -0
- package/src/gpu-data/gpu-vector-chunks.ts +24 -0
- package/src/gpu-data/gpu-vector-format.ts +256 -0
- package/src/gpu-data/gpu-vector-like.ts +30 -0
- package/src/gpu-data/gpu-vector-utils.ts +87 -0
- package/src/gpu-data/gpu-vector.ts +461 -0
- package/src/gpu-data/index.ts +70 -0
- package/src/gpu-dataframe/gpu-analytics-compiler-utils.ts +2 -2
- package/src/gpu-dataframe/gpu-data-frame.ts +1 -1
- package/src/gpu-dataframe/gpu-global-aggregation-compiler.ts +1 -1
- package/src/gpu-dataframe/gpu-global-sort-compiler.ts +1 -1
- package/src/gpu-dataframe/gpu-group-aggregation-compiler.ts +1 -1
- package/src/gpu-dataframe/gpu-histogram-compiler.ts +1 -1
- package/src/gpu-dataframe/gpu-join-compiler.ts +1 -1
- package/src/gpu-dataframe/gpu-query-compiler.ts +2 -2
- package/src/gpu-dggs/gpu-dggs-cell-projection.ts +2 -2
- package/src/gpu-graph/index.ts +9 -1
- package/src/gpu-graph-algorithms/gpu-graph-benchmark.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-breadth-first-search-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-breadth-first-search.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-connected-components-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-connected-components.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-core-number-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-core-number.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-degree-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-degree.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-force-layout-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-force-layout.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-label-propagation-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-label-propagation.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-local-clustering-coefficient-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-local-clustering-coefficient.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-modularity-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-modularity-optimization-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-modularity-optimization.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-modularity.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-page-rank-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-page-rank.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-single-source-shortest-path-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-single-source-shortest-path.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-spatial-force-layout-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-spatial-force-layout.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-topology-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-topology.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-bit-packed-decoder.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-byte-stream-split-batch-decoder.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-byte-stream-split-decoder.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-delta-binary-packed-int64-unpacker.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-delta-binary-packed-unpacker.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-delta-byte-array-decoder.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-dictionary-decoder.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-level-layout.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-nested-column-layout.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-plain-boolean-decoder.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-rle-bit-packed-decoder.ts +1 -1
- package/src/gpu-physics/rigid-body-broad-phase.ts +1 -1
- package/src/gpu-project/gpu-projection-table.ts +1 -1
- package/src/gpu-project/projection-program-benchmark.ts +1 -1
- package/src/gpu-project/projection-program.ts +1 -1
- package/src/gpu-project/projection-table-benchmark.ts +1 -1
- package/src/gpu-raster/gpu-raster-band-math.ts +1 -1
- package/src/gpu-raster/gpu-raster-buffer-to-texture.ts +1 -1
- package/src/gpu-raster/gpu-raster-connected-components.ts +1 -1
- package/src/gpu-raster/gpu-raster-contours.ts +1 -1
- package/src/gpu-raster/gpu-raster-contrast.ts +1 -1
- package/src/gpu-raster/gpu-raster-cross-tile-components.ts +1 -1
- package/src/gpu-raster/gpu-raster-dense-components.ts +1 -1
- package/src/gpu-raster/gpu-raster-edges.ts +1 -1
- package/src/gpu-raster/gpu-raster-global-statistics.ts +1 -1
- package/src/gpu-raster/gpu-raster-histogram.ts +1 -1
- package/src/gpu-raster/gpu-raster-morphology.ts +1 -1
- package/src/gpu-raster/gpu-raster-neighborhood.ts +1 -1
- package/src/gpu-raster/gpu-raster-overview.ts +1 -1
- package/src/gpu-raster/gpu-raster-region-measurements.ts +1 -1
- package/src/gpu-raster/gpu-raster-statistics.ts +1 -1
- package/src/gpu-raster/gpu-raster-texture-to-buffer.ts +1 -1
- package/src/gpu-raster/gpu-raster-threshold.ts +1 -1
- package/src/gpu-raster/gpu-raster-tile-halo.ts +1 -1
- package/src/gpu-simple-graph/README.md +1 -1
- package/src/gpu-simple-graph/compiled-gpu-expression-graph.ts +303 -0
- package/src/gpu-simple-graph/gpu-expression-cast-operation.ts +149 -0
- package/src/gpu-simple-graph/gpu-expression-row-operation.ts +90 -0
- package/src/gpu-simple-graph/gpu-simple-graph-lowering.ts +3 -9
- package/src/gpu-simple-graph/gpu-simple-graph-operation.ts +4 -2
- package/src/gpu-simple-graph/gpu-simple-graph-transfer.ts +4 -6
- package/src/gpu-simple-graph/gpu-simple-graph-value.ts +18 -17
- package/src/gpu-simple-graph/gpu-simple-graph.ts +60 -16
- package/src/gpu-simple-graph/index.ts +74 -0
- package/src/gpu-simple-graph/operation/backend-registry.ts +152 -0
- package/src/gpu-simple-graph/operation/gpu-data-evaluator.ts +954 -0
- package/src/gpu-simple-graph/operation/gpu-evaluation-scope.ts +113 -0
- package/src/gpu-simple-graph/operation/gpu-evaluator-inspection.ts +105 -0
- package/src/gpu-simple-graph/operation/gpu-table-format-types.ts +255 -0
- package/src/gpu-simple-graph/operation/gpu-vector-evaluator.ts +300 -0
- package/src/gpu-simple-graph/operation/operation.ts +142 -0
- package/src/gpu-simple-graph/operations/arithmetic-expression.ts +40 -0
- package/src/gpu-simple-graph/operations/arithmetic-operation.ts +257 -0
- package/src/gpu-simple-graph/operations/arithmetic.ts +115 -0
- package/src/gpu-simple-graph/operations/cast-data.ts +67 -0
- package/src/gpu-simple-graph/operations/convert-colors.ts +76 -0
- package/src/gpu-simple-graph/operations/cpu/arithmetic.ts +121 -0
- package/src/gpu-simple-graph/operations/cpu/cast-data.ts +72 -0
- package/src/gpu-simple-graph/operations/cpu/common.ts +128 -0
- package/src/gpu-simple-graph/operations/cpu/convert-colors.ts +56 -0
- package/src/gpu-simple-graph/operations/cpu/dot.ts +29 -0
- package/src/gpu-simple-graph/operations/cpu/equal-all.ts +32 -0
- package/src/gpu-simple-graph/operations/cpu/extent.ts +50 -0
- package/src/gpu-simple-graph/operations/cpu/fround.ts +26 -0
- package/src/gpu-simple-graph/operations/cpu/gather.ts +44 -0
- package/src/gpu-simple-graph/operations/cpu/index.ts +36 -0
- package/src/gpu-simple-graph/operations/cpu/interleave.ts +23 -0
- package/src/gpu-simple-graph/operations/cpu/length.ts +24 -0
- package/src/gpu-simple-graph/operations/cpu/segmented-map.ts +79 -0
- package/src/gpu-simple-graph/operations/cpu/select.ts +40 -0
- package/src/gpu-simple-graph/operations/cpu/sequence.ts +21 -0
- package/src/gpu-simple-graph/operations/cpu/swizzle.ts +26 -0
- package/src/gpu-simple-graph/operations/dot.ts +48 -0
- package/src/gpu-simple-graph/operations/equal-all.ts +46 -0
- package/src/gpu-simple-graph/operations/extent.ts +46 -0
- package/src/gpu-simple-graph/operations/fround.ts +45 -0
- package/src/gpu-simple-graph/operations/gather.ts +51 -0
- package/src/gpu-simple-graph/operations/interleave.ts +54 -0
- package/src/gpu-simple-graph/operations/length.ts +38 -0
- package/src/gpu-simple-graph/operations/segmented-map.ts +108 -0
- package/src/gpu-simple-graph/operations/select.ts +76 -0
- package/src/gpu-simple-graph/operations/sequence.ts +60 -0
- package/src/gpu-simple-graph/operations/swizzle.ts +108 -0
- package/src/gpu-simple-graph/operations/webgl/arithmetic.ts +65 -0
- package/src/gpu-simple-graph/operations/webgl/cast-data.ts +6 -0
- package/src/gpu-simple-graph/operations/webgl/common/helper.ts +155 -0
- package/src/gpu-simple-graph/operations/webgl/common/random-access-transform.ts +60 -0
- package/src/gpu-simple-graph/operations/webgl/common/row-transform.ts +229 -0
- package/src/gpu-simple-graph/operations/webgl/common/transform-kernel.ts +101 -0
- package/src/gpu-simple-graph/operations/webgl/convert-colors.ts +7 -0
- package/src/gpu-simple-graph/operations/webgl/dot.ts +32 -0
- package/src/gpu-simple-graph/operations/webgl/equal-all.ts +35 -0
- package/src/gpu-simple-graph/operations/webgl/extent.ts +182 -0
- package/src/gpu-simple-graph/operations/webgl/fround.ts +201 -0
- package/src/gpu-simple-graph/operations/webgl/gather.ts +142 -0
- package/src/gpu-simple-graph/operations/webgl/index.ts +36 -0
- package/src/gpu-simple-graph/operations/webgl/interleave.ts +70 -0
- package/src/gpu-simple-graph/operations/webgl/length.ts +28 -0
- package/src/gpu-simple-graph/operations/webgl/segmented-map.ts +90 -0
- package/src/gpu-simple-graph/operations/webgl/select.ts +54 -0
- package/src/gpu-simple-graph/operations/webgl/sequence.ts +39 -0
- package/src/gpu-simple-graph/operations/webgl/swizzle.ts +23 -0
- package/src/gpu-simple-graph/operations/webgpu/arithmetic.ts +68 -0
- package/src/gpu-simple-graph/operations/webgpu/cast-data.ts +181 -0
- package/src/gpu-simple-graph/operations/webgpu/common/dispatch.ts +58 -0
- package/src/gpu-simple-graph/operations/webgpu/common/helper.ts +66 -0
- package/src/gpu-simple-graph/operations/webgpu/common/random-access-transform.ts +79 -0
- package/src/gpu-simple-graph/operations/webgpu/common/row-transform.ts +239 -0
- package/src/gpu-simple-graph/operations/webgpu/convert-colors.ts +147 -0
- package/src/gpu-simple-graph/operations/webgpu/dot.ts +36 -0
- package/src/gpu-simple-graph/operations/webgpu/equal-all.ts +39 -0
- package/src/gpu-simple-graph/operations/webgpu/extent.ts +277 -0
- package/src/gpu-simple-graph/operations/webgpu/fround.ts +174 -0
- package/src/gpu-simple-graph/operations/webgpu/gather.ts +137 -0
- package/src/gpu-simple-graph/operations/webgpu/index.ts +36 -0
- package/src/gpu-simple-graph/operations/webgpu/interleave.ts +73 -0
- package/src/gpu-simple-graph/operations/webgpu/length.ts +36 -0
- package/src/gpu-simple-graph/operations/webgpu/segmented-map.ts +101 -0
- package/src/gpu-simple-graph/operations/webgpu/select.ts +56 -0
- package/src/gpu-simple-graph/operations/webgpu/sequence.ts +56 -0
- package/src/gpu-simple-graph/operations/webgpu/swizzle.ts +27 -0
- package/src/gpu-simple-graph/utils/buffer-pool.ts +66 -0
- package/src/gpu-simple-graph/utils/clean-evaluate.ts +152 -0
- package/src/gpu-simple-graph/utils/expression.ts +140 -0
- package/src/gpu-simple-graph/utils/output-props.ts +50 -0
- package/src/gpu-simple-graph/utils/uid.ts +16 -0
- package/src/gpu-sql/lu-sql.ts +1 -1
- package/src/gpu-tables/engine/gpu-input-schema.ts +3 -3
- package/src/gpu-tables/engine/gpu-scene-adapters.ts +1 -1
- package/src/gpu-tables/engine/gpu-table-computation.ts +2 -2
- package/src/gpu-tables/engine/gpu-table-shader-bindings.ts +4 -4
- package/src/gpu-tables/table/gpu-record-batch.ts +2 -2
- package/src/gpu-tables/table/gpu-schema.ts +1 -1
- package/src/gpu-tables/table/gpu-table.ts +4 -4
- package/src/gpu-timeseries/gpu-time-series-envelope.ts +1 -1
- package/src/gpu-timeseries/gpu-time-series.ts +1 -1
- package/src/gpu-trace/gpu-trace-anomaly-scoring.ts +1 -1
- package/src/gpu-trace/gpu-trace-comparison.ts +1 -1
- package/src/gpu-trace/gpu-trace-critical-path.ts +1 -1
- package/src/gpu-trace/gpu-trace-interaction.ts +1 -1
- package/src/gpu-trace/gpu-trace-lane-index-builder.ts +1 -1
- package/src/gpu-trace/gpu-trace-mipmap-boundaries.ts +1 -1
- package/src/gpu-trace/gpu-trace-pixel-mipmap.ts +1 -1
- package/src/gpu-trace/gpu-trace-range-maximum-index.ts +1 -1
- package/src/gpu-trace/gpu-trace-temporal-index-builder.ts +1 -1
- package/src/gpu-trace/gpu-trace-temporal-index.ts +1 -1
- package/src/gpu-trace/gpu-trace-time-buckets.ts +1 -1
- package/src/gpu-vector-search/embedding-matrix.ts +1 -1
- package/src/gpu-vector-search/gpu-clustering-utils.ts +1 -1
- package/src/gpu-vector-search/gpu-similarity-search.ts +1 -1
- package/src/index.ts +176 -4
- package/src/lucim/gpu-volume-connected-components.ts +1 -1
- package/src/lucim/gpu-volume-morphology.ts +1 -1
- package/src/lucim/gpu-volume-region-measurements.ts +1 -1
- package/src/lucim/gpu-volume-threshold.ts +1 -1
- package/src/utils/assemble-compute-kernel.ts +5 -8
- package/src/webgpu.ts +21 -0
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var arrow_geoarrow_conversion_exports = {};
|
|
19
|
+
__export(arrow_geoarrow_conversion_exports, {
|
|
20
|
+
convertGeoArrowTableToDenseUnion: () => convertGeoArrowTableToDenseUnion,
|
|
21
|
+
convertGeoArrowTableToInterleaved: () => convertGeoArrowTableToInterleaved,
|
|
22
|
+
convertGeoArrowTableToInterleavedAsync: () => convertGeoArrowTableToInterleavedAsync,
|
|
23
|
+
convertGeoArrowVectorToDenseUnion: () => convertGeoArrowVectorToDenseUnion,
|
|
24
|
+
convertGeoArrowVectorToInterleaved: () => convertGeoArrowVectorToInterleaved
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(arrow_geoarrow_conversion_exports);
|
|
27
|
+
var import_geoarrow = require("@math.gl/geospatial/geoarrow");
|
|
28
|
+
var import_geoarrow2 = require("@math.gl/geospatial/geoarrow");
|
|
29
|
+
var import_apache_arrow = require("apache-arrow");
|
|
30
|
+
var import_arrow_geoarrow_adapter = require("./arrow-geoarrow-adapter.cjs");
|
|
31
|
+
const GEOARROW_EXTENSION_NAME_KEY = "ARROW:extension:name";
|
|
32
|
+
const GEOARROW_EXTENSION_METADATA_KEY = "ARROW:extension:metadata";
|
|
33
|
+
const GEOARROW_GEOMETRY_EXTENSION_NAME = "geoarrow.geometry";
|
|
34
|
+
const NATIVE_GEOARROW_ENCODINGS = /* @__PURE__ */ new Set([
|
|
35
|
+
"geoarrow.geometry",
|
|
36
|
+
"geoarrow.point",
|
|
37
|
+
"geoarrow.linestring",
|
|
38
|
+
"geoarrow.polygon",
|
|
39
|
+
"geoarrow.multipoint",
|
|
40
|
+
"geoarrow.multilinestring",
|
|
41
|
+
"geoarrow.multipolygon"
|
|
42
|
+
]);
|
|
43
|
+
const GEOARROW_SERIALIZED_ENCODINGS = /* @__PURE__ */ new Set([
|
|
44
|
+
"geoarrow.wkb",
|
|
45
|
+
"geoarrow.wkt"
|
|
46
|
+
]);
|
|
47
|
+
const textEncoder = new TextEncoder();
|
|
48
|
+
const textDecoder = new TextDecoder();
|
|
49
|
+
function convertGeoArrowVectorToInterleaved(vector, options = {}) {
|
|
50
|
+
const column = (0, import_arrow_geoarrow_adapter.makeGeoArrowColumnFromArrowVector)(vector, { encoding: options.encoding });
|
|
51
|
+
const interleavedColumn = (0, import_geoarrow.interleaveGeoArrowCoordinates)(column);
|
|
52
|
+
return interleavedColumn === column ? vector : (0, import_arrow_geoarrow_adapter.makeArrowVectorFromGeoArrowColumn)(interleavedColumn);
|
|
53
|
+
}
|
|
54
|
+
function convertGeoArrowTableToInterleaved(table, options = {}) {
|
|
55
|
+
const geometryColumns = resolveGeoArrowColumns(table, options, "native");
|
|
56
|
+
if (geometryColumns.length === 0)
|
|
57
|
+
return table;
|
|
58
|
+
const convertedVectors = /* @__PURE__ */ new Map();
|
|
59
|
+
const convertedFields = /* @__PURE__ */ new Map();
|
|
60
|
+
for (const geometryColumn of geometryColumns) {
|
|
61
|
+
const field = getTableField(table, geometryColumn);
|
|
62
|
+
const vector = table.getChild(geometryColumn);
|
|
63
|
+
if (!field || !vector) {
|
|
64
|
+
throw new Error(`GeoArrow interleaving could not resolve column "${geometryColumn}"`);
|
|
65
|
+
}
|
|
66
|
+
const encoding = getFieldEncoding(field);
|
|
67
|
+
const column = (0, import_arrow_geoarrow_adapter.makeGeoArrowColumnFromArrowVector)(vector, {
|
|
68
|
+
encoding: encoding ?? void 0,
|
|
69
|
+
metadata: getFieldExtensionMetadata(field)
|
|
70
|
+
});
|
|
71
|
+
const interleavedColumn = (0, import_geoarrow.interleaveGeoArrowCoordinates)(column);
|
|
72
|
+
const convertedVector = interleavedColumn === column ? vector : (0, import_arrow_geoarrow_adapter.makeArrowVectorFromGeoArrowColumn)(interleavedColumn);
|
|
73
|
+
convertedVectors.set(geometryColumn, convertedVector);
|
|
74
|
+
convertedFields.set(geometryColumn, new import_apache_arrow.Field(field.name, convertedVector.type, field.nullable, field.metadata));
|
|
75
|
+
}
|
|
76
|
+
if ([...convertedVectors].every(([name, vector]) => vector === table.getChild(name))) {
|
|
77
|
+
return table;
|
|
78
|
+
}
|
|
79
|
+
return makeTableWithConvertedVectors(table, convertedVectors, convertedFields, "interleaving");
|
|
80
|
+
}
|
|
81
|
+
async function convertGeoArrowTableToInterleavedAsync(table, options = {}) {
|
|
82
|
+
await Promise.resolve();
|
|
83
|
+
return convertGeoArrowTableToInterleaved(table, options);
|
|
84
|
+
}
|
|
85
|
+
function convertGeoArrowVectorToDenseUnion(vector, options = {}) {
|
|
86
|
+
if (import_apache_arrow.DataType.isDenseUnion(vector.type))
|
|
87
|
+
return vector;
|
|
88
|
+
const encoding = resolveSerializedEncoding(vector, options);
|
|
89
|
+
const dimension = encoding === "geoarrow.wkb" ? "xy" : inferWKTGeoArrowDimension(vector);
|
|
90
|
+
const sourceColumn = (0, import_arrow_geoarrow_adapter.makeGeoArrowColumnFromArrowVector)(vector, {
|
|
91
|
+
encoding,
|
|
92
|
+
dimension,
|
|
93
|
+
coordinateLayout: null
|
|
94
|
+
});
|
|
95
|
+
const decodedColumn = encoding === "geoarrow.wkb" ? (0, import_geoarrow2.decodeGeoArrowWKB)(sourceColumn, { encoding: "geoarrow.geometry" }) : (0, import_geoarrow2.decodeGeoArrowWKT)(stripEWKTSRIDPrefixes(sourceColumn));
|
|
96
|
+
assertNoGeometryCollections(decodedColumn);
|
|
97
|
+
const unionColumn = decodedColumn.encoding === "geoarrow.geometry" ? decodedColumn : (0, import_geoarrow.convertGeoArrowColumn)(decodedColumn, { encoding: "geoarrow.geometry" });
|
|
98
|
+
const chunkedColumn = encoding === "geoarrow.wkb" ? unionColumn : splitGeoArrowColumn(unionColumn, vector.data.map((data) => data.length));
|
|
99
|
+
return (0, import_arrow_geoarrow_adapter.makeArrowVectorFromGeoArrowColumn)(chunkedColumn);
|
|
100
|
+
}
|
|
101
|
+
function convertGeoArrowTableToDenseUnion(table, options = {}) {
|
|
102
|
+
const geometryColumns = resolveGeoArrowColumns(table, options, "serialized");
|
|
103
|
+
if (geometryColumns.length === 0)
|
|
104
|
+
return table;
|
|
105
|
+
const convertedVectors = /* @__PURE__ */ new Map();
|
|
106
|
+
const convertedFields = /* @__PURE__ */ new Map();
|
|
107
|
+
for (const geometryColumn of geometryColumns) {
|
|
108
|
+
const field = getTableField(table, geometryColumn);
|
|
109
|
+
const vector = table.getChild(geometryColumn);
|
|
110
|
+
if (!field || !vector) {
|
|
111
|
+
throw new Error(`GeoArrow dense-union conversion could not resolve column "${geometryColumn}"`);
|
|
112
|
+
}
|
|
113
|
+
const encoding = getFieldEncoding(field) ?? options.encoding;
|
|
114
|
+
const convertedVector = convertGeoArrowVectorToDenseUnion(vector, { encoding });
|
|
115
|
+
const metadata = new Map(field.metadata);
|
|
116
|
+
metadata.set(GEOARROW_EXTENSION_NAME_KEY, GEOARROW_GEOMETRY_EXTENSION_NAME);
|
|
117
|
+
convertedVectors.set(geometryColumn, convertedVector);
|
|
118
|
+
convertedFields.set(geometryColumn, new import_apache_arrow.Field(field.name, convertedVector.type, field.nullable, metadata));
|
|
119
|
+
}
|
|
120
|
+
return makeTableWithConvertedVectors(table, convertedVectors, convertedFields, "dense-union");
|
|
121
|
+
}
|
|
122
|
+
function resolveSerializedEncoding(vector, options) {
|
|
123
|
+
if (options.encoding)
|
|
124
|
+
return options.encoding;
|
|
125
|
+
if (import_apache_arrow.DataType.isBinary(vector.type))
|
|
126
|
+
return "geoarrow.wkb";
|
|
127
|
+
if (import_apache_arrow.DataType.isUtf8(vector.type))
|
|
128
|
+
return "geoarrow.wkt";
|
|
129
|
+
throw new Error("GeoArrow dense-union conversion requires Binary WKB or Utf8 WKT input");
|
|
130
|
+
}
|
|
131
|
+
function inferWKTGeoArrowDimension(vector) {
|
|
132
|
+
const column = (0, import_arrow_geoarrow_adapter.makeGeoArrowColumnFromArrowVector)(vector, {
|
|
133
|
+
encoding: "geoarrow.wkt",
|
|
134
|
+
dimension: "xy",
|
|
135
|
+
coordinateLayout: null
|
|
136
|
+
});
|
|
137
|
+
let dimension = "xy";
|
|
138
|
+
for (const chunk of column.chunks) {
|
|
139
|
+
const serialized = chunk;
|
|
140
|
+
for (let rowIndex = 0; rowIndex < serialized.length; rowIndex++) {
|
|
141
|
+
if (!(0, import_geoarrow.isGeoArrowValueValid)(serialized.validity, rowIndex))
|
|
142
|
+
continue;
|
|
143
|
+
const bytes = getSerializedBytes(serialized, rowIndex);
|
|
144
|
+
const rowDimension = inferWKTDimension(textDecoder.decode(bytes));
|
|
145
|
+
dimension = (0, import_geoarrow.mergeGeoArrowDimensions)(dimension, rowDimension);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
return dimension;
|
|
149
|
+
}
|
|
150
|
+
function getSerializedBytes(array, rowIndex) {
|
|
151
|
+
const offsetIndex = (array.offset ?? 0) + rowIndex;
|
|
152
|
+
const offsetBase = Number(array.offsetBase ?? 0);
|
|
153
|
+
const first = Number(array.offsets[offsetIndex]) - offsetBase;
|
|
154
|
+
const last = Number(array.offsets[offsetIndex + 1]) - offsetBase;
|
|
155
|
+
return array.values.subarray(first, last);
|
|
156
|
+
}
|
|
157
|
+
function inferWKTDimension(wkt) {
|
|
158
|
+
var _a, _b;
|
|
159
|
+
const normalizedWKT = stripEWKTSRIDPrefix(wkt);
|
|
160
|
+
const dimensionToken = (_b = (_a = /^\s*[a-z]+\s+(ZM|Z|M)\b/i.exec(normalizedWKT)) == null ? void 0 : _a[1]) == null ? void 0 : _b.toUpperCase();
|
|
161
|
+
if (dimensionToken === "ZM")
|
|
162
|
+
return "xyzm";
|
|
163
|
+
if (dimensionToken === "M")
|
|
164
|
+
return "xym";
|
|
165
|
+
if (dimensionToken === "Z")
|
|
166
|
+
return "xyz";
|
|
167
|
+
return "xy";
|
|
168
|
+
}
|
|
169
|
+
function stripEWKTSRIDPrefixes(column) {
|
|
170
|
+
const chunks = column.chunks.map((chunk) => {
|
|
171
|
+
if (chunk.kind !== "serialized") {
|
|
172
|
+
throw new Error("Serialized column contains native storage");
|
|
173
|
+
}
|
|
174
|
+
const rows = [];
|
|
175
|
+
let byteLength = 0;
|
|
176
|
+
let changed = false;
|
|
177
|
+
for (let rowIndex = 0; rowIndex < chunk.length; rowIndex++) {
|
|
178
|
+
const bytes = getSerializedBytes(chunk, rowIndex);
|
|
179
|
+
if (!(0, import_geoarrow.isGeoArrowValueValid)(chunk.validity, rowIndex)) {
|
|
180
|
+
rows.push(bytes);
|
|
181
|
+
byteLength += bytes.byteLength;
|
|
182
|
+
continue;
|
|
183
|
+
}
|
|
184
|
+
const wkt = textDecoder.decode(bytes);
|
|
185
|
+
const normalizedWKT = stripEWKTSRIDPrefix(wkt);
|
|
186
|
+
const normalizedBytes = normalizedWKT === wkt ? bytes : textEncoder.encode(normalizedWKT);
|
|
187
|
+
changed ||= normalizedBytes !== bytes;
|
|
188
|
+
rows.push(normalizedBytes);
|
|
189
|
+
byteLength += normalizedBytes.byteLength;
|
|
190
|
+
}
|
|
191
|
+
if (!changed)
|
|
192
|
+
return chunk;
|
|
193
|
+
const values = new Uint8Array(byteLength);
|
|
194
|
+
const offsets = new Int32Array(chunk.length + 1);
|
|
195
|
+
let byteOffset = 0;
|
|
196
|
+
for (let rowIndex = 0; rowIndex < rows.length; rowIndex++) {
|
|
197
|
+
values.set(rows[rowIndex], byteOffset);
|
|
198
|
+
byteOffset += rows[rowIndex].byteLength;
|
|
199
|
+
offsets[rowIndex + 1] = byteOffset;
|
|
200
|
+
}
|
|
201
|
+
return {
|
|
202
|
+
kind: "serialized",
|
|
203
|
+
encoding: "utf8",
|
|
204
|
+
length: chunk.length,
|
|
205
|
+
offsets,
|
|
206
|
+
values,
|
|
207
|
+
validity: chunk.validity
|
|
208
|
+
};
|
|
209
|
+
});
|
|
210
|
+
return chunks.every((chunk, index) => chunk === column.chunks[index]) ? column : { ...column, chunks };
|
|
211
|
+
}
|
|
212
|
+
function stripEWKTSRIDPrefix(wkt) {
|
|
213
|
+
return wkt.replace(/^\s*SRID\s*=\s*\d+\s*;\s*/i, "");
|
|
214
|
+
}
|
|
215
|
+
function assertNoGeometryCollections(column) {
|
|
216
|
+
if (column.encoding === "geoarrow.geometrycollection" || column.chunks.some((chunk) => chunk.kind === "dense-union" && chunk.children.some((child) => child.encoding === "geoarrow.geometrycollection"))) {
|
|
217
|
+
throw new Error("GeoArrow WKB/WKT GeometryCollection conversion requires geoarrow.geometrycollection output, not geoarrow.geometry DenseUnion output.");
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
function splitGeoArrowColumn(column, chunkLengths) {
|
|
221
|
+
if (chunkLengths.length === column.chunks.length)
|
|
222
|
+
return column;
|
|
223
|
+
const chunks = [];
|
|
224
|
+
let rowOffset = 0;
|
|
225
|
+
for (const chunkLength of chunkLengths) {
|
|
226
|
+
const slicedColumn = (0, import_geoarrow.sliceGeoArrowColumn)(column, rowOffset, rowOffset + chunkLength);
|
|
227
|
+
if (slicedColumn.chunks.length !== 1) {
|
|
228
|
+
throw new Error("GeoArrow conversion could not preserve Arrow chunk boundaries");
|
|
229
|
+
}
|
|
230
|
+
chunks.push(slicedColumn.chunks[0]);
|
|
231
|
+
rowOffset += chunkLength;
|
|
232
|
+
}
|
|
233
|
+
return { ...column, chunks };
|
|
234
|
+
}
|
|
235
|
+
function resolveGeoArrowColumns(table, options, kind) {
|
|
236
|
+
var _a, _b;
|
|
237
|
+
if (options.geometryColumn && ((_a = options.geometryColumns) == null ? void 0 : _a.length)) {
|
|
238
|
+
throw new Error("Specify only one of geometryColumn or geometryColumns");
|
|
239
|
+
}
|
|
240
|
+
if (options.geometryColumn) {
|
|
241
|
+
assertTableColumnExists(table, options.geometryColumn, kind);
|
|
242
|
+
return [options.geometryColumn];
|
|
243
|
+
}
|
|
244
|
+
if ((_b = options.geometryColumns) == null ? void 0 : _b.length) {
|
|
245
|
+
for (const column of options.geometryColumns)
|
|
246
|
+
assertTableColumnExists(table, column, kind);
|
|
247
|
+
return options.geometryColumns;
|
|
248
|
+
}
|
|
249
|
+
return table.schema.fields.filter((field) => {
|
|
250
|
+
const encoding = getFieldEncoding(field);
|
|
251
|
+
return kind === "native" ? NATIVE_GEOARROW_ENCODINGS.has(encoding) : GEOARROW_SERIALIZED_ENCODINGS.has(encoding);
|
|
252
|
+
}).map((field) => field.name);
|
|
253
|
+
}
|
|
254
|
+
function assertTableColumnExists(table, columnName, kind) {
|
|
255
|
+
if (!table.getChild(columnName)) {
|
|
256
|
+
const operation = kind === "native" ? "interleaving" : "dense-union conversion";
|
|
257
|
+
throw new Error(`GeoArrow ${operation} could not find column "${columnName}"`);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
function getFieldEncoding(field) {
|
|
261
|
+
var _a;
|
|
262
|
+
const extensionName = (_a = field.metadata.get(GEOARROW_EXTENSION_NAME_KEY)) == null ? void 0 : _a.toLowerCase();
|
|
263
|
+
return (extensionName == null ? void 0 : extensionName.startsWith("geoarrow.")) ? extensionName : null;
|
|
264
|
+
}
|
|
265
|
+
function getFieldExtensionMetadata(field) {
|
|
266
|
+
const metadata = field.metadata.get(GEOARROW_EXTENSION_METADATA_KEY);
|
|
267
|
+
if (!metadata)
|
|
268
|
+
return void 0;
|
|
269
|
+
try {
|
|
270
|
+
return JSON.parse(metadata);
|
|
271
|
+
} catch {
|
|
272
|
+
return { raw: metadata };
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
function getTableField(table, columnName) {
|
|
276
|
+
return table.schema.fields.find((field) => field.name === columnName) ?? null;
|
|
277
|
+
}
|
|
278
|
+
function makeTableWithConvertedVectors(table, convertedVectors, convertedFields, operation) {
|
|
279
|
+
const nextFields = table.schema.fields.map((field) => convertedFields.get(field.name) ?? field);
|
|
280
|
+
const nextSchema = new import_apache_arrow.Schema(nextFields, table.schema.metadata);
|
|
281
|
+
const nextBatches = table.batches.map((recordBatch, batchIndex) => {
|
|
282
|
+
const children = nextFields.map((field, fieldIndex) => {
|
|
283
|
+
const convertedVector = convertedVectors.get(field.name);
|
|
284
|
+
if (!convertedVector)
|
|
285
|
+
return recordBatch.data.children[fieldIndex];
|
|
286
|
+
const convertedData = convertedVector.data[batchIndex];
|
|
287
|
+
if (!convertedData) {
|
|
288
|
+
throw new Error(`GeoArrow ${operation} chunk mismatch for column "${field.name}"`);
|
|
289
|
+
}
|
|
290
|
+
return convertedData;
|
|
291
|
+
});
|
|
292
|
+
const recordBatchData = new import_apache_arrow.Data(new import_apache_arrow.Struct(nextFields), recordBatch.data.offset, recordBatch.numRows, recordBatch.data.nullCount, recordBatch.data.buffers, children);
|
|
293
|
+
return new import_apache_arrow.RecordBatch(nextSchema, recordBatchData);
|
|
294
|
+
});
|
|
295
|
+
return new import_apache_arrow.Table(nextSchema, nextBatches);
|
|
296
|
+
}
|
|
297
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
298
|
+
0 && (module.exports = {
|
|
299
|
+
convertGeoArrowTableToDenseUnion,
|
|
300
|
+
convertGeoArrowTableToInterleaved,
|
|
301
|
+
convertGeoArrowTableToInterleavedAsync,
|
|
302
|
+
convertGeoArrowVectorToDenseUnion,
|
|
303
|
+
convertGeoArrowVectorToInterleaved
|
|
304
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Table, Vector, type DataType as ArrowDataType, type TypeMap } from 'apache-arrow';
|
|
2
|
+
export type GeoArrowNativeEncoding = 'geoarrow.geometry' | 'geoarrow.point' | 'geoarrow.linestring' | 'geoarrow.polygon' | 'geoarrow.multipoint' | 'geoarrow.multilinestring' | 'geoarrow.multipolygon';
|
|
3
|
+
export type GeoArrowSerializedEncoding = 'geoarrow.wkb' | 'geoarrow.wkt';
|
|
4
|
+
export type GeoArrowInterleaveOptions = {
|
|
5
|
+
/** Optional single geometry column to convert. Defaults to native GeoArrow metadata columns. */
|
|
6
|
+
geometryColumn?: string;
|
|
7
|
+
/** Optional geometry columns to convert. Defaults to native GeoArrow metadata columns. */
|
|
8
|
+
geometryColumns?: string[];
|
|
9
|
+
};
|
|
10
|
+
export type GeoArrowDenseUnionVectorOptions = {
|
|
11
|
+
/** Source encoding. Defaults to Binary -> geoarrow.wkb and Utf8 -> geoarrow.wkt. */
|
|
12
|
+
encoding?: GeoArrowSerializedEncoding;
|
|
13
|
+
};
|
|
14
|
+
export type GeoArrowDenseUnionTableOptions = GeoArrowDenseUnionVectorOptions & {
|
|
15
|
+
/** Optional single geometry column to convert. Defaults to GeoArrow WKB/WKT metadata columns. */
|
|
16
|
+
geometryColumn?: string;
|
|
17
|
+
/** Optional geometry columns to convert. Defaults to GeoArrow WKB/WKT metadata columns. */
|
|
18
|
+
geometryColumns?: string[];
|
|
19
|
+
};
|
|
20
|
+
/** Converts separated GeoArrow Struct coordinates in a vector to interleaved FixedSizeList rows. */
|
|
21
|
+
export declare function convertGeoArrowVectorToInterleaved<T extends ArrowDataType>(vector: Vector<T>, options?: {
|
|
22
|
+
encoding?: GeoArrowNativeEncoding;
|
|
23
|
+
}): Vector;
|
|
24
|
+
/** Converts selected native GeoArrow table geometry columns to interleaved coordinates. */
|
|
25
|
+
export declare function convertGeoArrowTableToInterleaved<T extends TypeMap>(table: Table<T>, options?: GeoArrowInterleaveOptions): Table;
|
|
26
|
+
/** Async compatibility entrypoint. Worker scheduling is now an explicit application concern. */
|
|
27
|
+
export declare function convertGeoArrowTableToInterleavedAsync<T extends TypeMap>(table: Table<T>, options?: GeoArrowInterleaveOptions): Promise<Table>;
|
|
28
|
+
/** Converts one GeoArrow WKB/WKT vector into a native GeoArrow DenseUnion vector. */
|
|
29
|
+
export declare function convertGeoArrowVectorToDenseUnion<T extends ArrowDataType>(vector: Vector<T>, options?: GeoArrowDenseUnionVectorOptions): Vector;
|
|
30
|
+
/** Converts selected GeoArrow WKB/WKT table geometry columns to native GeoArrow DenseUnion. */
|
|
31
|
+
export declare function convertGeoArrowTableToDenseUnion<T extends TypeMap>(table: Table<T>, options?: GeoArrowDenseUnionTableOptions): Table;
|
|
32
|
+
//# sourceMappingURL=arrow-geoarrow-conversion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":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K,EAAE,KAAK,CAAC,CAAC,CAAC,EACf,OAAO,GAAE,yBAA8B,GACtC,OAAO,CAAC,KAAK,CAAC,CAGhB;AAED,qFAAqF;AACrF,wBAAgB,iCAAiC,CAAC,CAAC,SAAS,aAAa,EACvE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,EACjB,OAAO,GAAE,+BAAoC,GAC5C,MAAM,CA0BR;AAED,+FAA+F;AAC/F,wBAAgB,gCAAgC,CAAC,CAAC,SAAS,OAAO,EAChE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,EACf,OAAO,GAAE,8BAAmC,GAC3C,KAAK,CA0BP"}
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
// luma.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
|
+
import { convertGeoArrowColumn, mergeGeoArrowDimensions, interleaveGeoArrowCoordinates, isGeoArrowValueValid, sliceGeoArrowColumn } from '@math.gl/geospatial/geoarrow';
|
|
5
|
+
import { decodeGeoArrowWKB, decodeGeoArrowWKT } from '@math.gl/geospatial/geoarrow';
|
|
6
|
+
import { Data, DataType, Field, RecordBatch, Schema, Struct, Table } from 'apache-arrow';
|
|
7
|
+
import { makeArrowVectorFromGeoArrowColumn, makeGeoArrowColumnFromArrowVector } from "./arrow-geoarrow-adapter.js";
|
|
8
|
+
const GEOARROW_EXTENSION_NAME_KEY = 'ARROW:extension:name';
|
|
9
|
+
const GEOARROW_EXTENSION_METADATA_KEY = 'ARROW:extension:metadata';
|
|
10
|
+
const GEOARROW_GEOMETRY_EXTENSION_NAME = 'geoarrow.geometry';
|
|
11
|
+
const NATIVE_GEOARROW_ENCODINGS = new Set([
|
|
12
|
+
'geoarrow.geometry',
|
|
13
|
+
'geoarrow.point',
|
|
14
|
+
'geoarrow.linestring',
|
|
15
|
+
'geoarrow.polygon',
|
|
16
|
+
'geoarrow.multipoint',
|
|
17
|
+
'geoarrow.multilinestring',
|
|
18
|
+
'geoarrow.multipolygon'
|
|
19
|
+
]);
|
|
20
|
+
const GEOARROW_SERIALIZED_ENCODINGS = new Set([
|
|
21
|
+
'geoarrow.wkb',
|
|
22
|
+
'geoarrow.wkt'
|
|
23
|
+
]);
|
|
24
|
+
const textEncoder = new TextEncoder();
|
|
25
|
+
const textDecoder = new TextDecoder();
|
|
26
|
+
/** Converts separated GeoArrow Struct coordinates in a vector to interleaved FixedSizeList rows. */
|
|
27
|
+
export function convertGeoArrowVectorToInterleaved(vector, options = {}) {
|
|
28
|
+
const column = makeGeoArrowColumnFromArrowVector(vector, { encoding: options.encoding });
|
|
29
|
+
const interleavedColumn = interleaveGeoArrowCoordinates(column);
|
|
30
|
+
return interleavedColumn === column
|
|
31
|
+
? vector
|
|
32
|
+
: makeArrowVectorFromGeoArrowColumn(interleavedColumn);
|
|
33
|
+
}
|
|
34
|
+
/** Converts selected native GeoArrow table geometry columns to interleaved coordinates. */
|
|
35
|
+
export function convertGeoArrowTableToInterleaved(table, options = {}) {
|
|
36
|
+
const geometryColumns = resolveGeoArrowColumns(table, options, 'native');
|
|
37
|
+
if (geometryColumns.length === 0)
|
|
38
|
+
return table;
|
|
39
|
+
const convertedVectors = new Map();
|
|
40
|
+
const convertedFields = new Map();
|
|
41
|
+
for (const geometryColumn of geometryColumns) {
|
|
42
|
+
const field = getTableField(table, geometryColumn);
|
|
43
|
+
const vector = table.getChild(geometryColumn);
|
|
44
|
+
if (!field || !vector) {
|
|
45
|
+
throw new Error(`GeoArrow interleaving could not resolve column "${geometryColumn}"`);
|
|
46
|
+
}
|
|
47
|
+
const encoding = getFieldEncoding(field);
|
|
48
|
+
const column = makeGeoArrowColumnFromArrowVector(vector, {
|
|
49
|
+
encoding: encoding ?? undefined,
|
|
50
|
+
metadata: getFieldExtensionMetadata(field)
|
|
51
|
+
});
|
|
52
|
+
const interleavedColumn = interleaveGeoArrowCoordinates(column);
|
|
53
|
+
const convertedVector = interleavedColumn === column ? vector : makeArrowVectorFromGeoArrowColumn(interleavedColumn);
|
|
54
|
+
convertedVectors.set(geometryColumn, convertedVector);
|
|
55
|
+
convertedFields.set(geometryColumn, new Field(field.name, convertedVector.type, field.nullable, field.metadata));
|
|
56
|
+
}
|
|
57
|
+
if ([...convertedVectors].every(([name, vector]) => vector === table.getChild(name))) {
|
|
58
|
+
return table;
|
|
59
|
+
}
|
|
60
|
+
return makeTableWithConvertedVectors(table, convertedVectors, convertedFields, 'interleaving');
|
|
61
|
+
}
|
|
62
|
+
/** Async compatibility entrypoint. Worker scheduling is now an explicit application concern. */
|
|
63
|
+
export async function convertGeoArrowTableToInterleavedAsync(table, options = {}) {
|
|
64
|
+
await Promise.resolve();
|
|
65
|
+
return convertGeoArrowTableToInterleaved(table, options);
|
|
66
|
+
}
|
|
67
|
+
/** Converts one GeoArrow WKB/WKT vector into a native GeoArrow DenseUnion vector. */
|
|
68
|
+
export function convertGeoArrowVectorToDenseUnion(vector, options = {}) {
|
|
69
|
+
if (DataType.isDenseUnion(vector.type))
|
|
70
|
+
return vector;
|
|
71
|
+
const encoding = resolveSerializedEncoding(vector, options);
|
|
72
|
+
const dimension = encoding === 'geoarrow.wkb' ? 'xy' : inferWKTGeoArrowDimension(vector);
|
|
73
|
+
const sourceColumn = makeGeoArrowColumnFromArrowVector(vector, {
|
|
74
|
+
encoding,
|
|
75
|
+
dimension,
|
|
76
|
+
coordinateLayout: null
|
|
77
|
+
});
|
|
78
|
+
const decodedColumn = encoding === 'geoarrow.wkb'
|
|
79
|
+
? decodeGeoArrowWKB(sourceColumn, { encoding: 'geoarrow.geometry' })
|
|
80
|
+
: decodeGeoArrowWKT(stripEWKTSRIDPrefixes(sourceColumn));
|
|
81
|
+
assertNoGeometryCollections(decodedColumn);
|
|
82
|
+
const unionColumn = decodedColumn.encoding === 'geoarrow.geometry'
|
|
83
|
+
? decodedColumn
|
|
84
|
+
: convertGeoArrowColumn(decodedColumn, { encoding: 'geoarrow.geometry' });
|
|
85
|
+
const chunkedColumn = encoding === 'geoarrow.wkb'
|
|
86
|
+
? unionColumn
|
|
87
|
+
: splitGeoArrowColumn(unionColumn, vector.data.map(data => data.length));
|
|
88
|
+
return makeArrowVectorFromGeoArrowColumn(chunkedColumn);
|
|
89
|
+
}
|
|
90
|
+
/** Converts selected GeoArrow WKB/WKT table geometry columns to native GeoArrow DenseUnion. */
|
|
91
|
+
export function convertGeoArrowTableToDenseUnion(table, options = {}) {
|
|
92
|
+
const geometryColumns = resolveGeoArrowColumns(table, options, 'serialized');
|
|
93
|
+
if (geometryColumns.length === 0)
|
|
94
|
+
return table;
|
|
95
|
+
const convertedVectors = new Map();
|
|
96
|
+
const convertedFields = new Map();
|
|
97
|
+
for (const geometryColumn of geometryColumns) {
|
|
98
|
+
const field = getTableField(table, geometryColumn);
|
|
99
|
+
const vector = table.getChild(geometryColumn);
|
|
100
|
+
if (!field || !vector) {
|
|
101
|
+
throw new Error(`GeoArrow dense-union conversion could not resolve column "${geometryColumn}"`);
|
|
102
|
+
}
|
|
103
|
+
const encoding = getFieldEncoding(field) ?? options.encoding;
|
|
104
|
+
const convertedVector = convertGeoArrowVectorToDenseUnion(vector, { encoding });
|
|
105
|
+
const metadata = new Map(field.metadata);
|
|
106
|
+
metadata.set(GEOARROW_EXTENSION_NAME_KEY, GEOARROW_GEOMETRY_EXTENSION_NAME);
|
|
107
|
+
convertedVectors.set(geometryColumn, convertedVector);
|
|
108
|
+
convertedFields.set(geometryColumn, new Field(field.name, convertedVector.type, field.nullable, metadata));
|
|
109
|
+
}
|
|
110
|
+
return makeTableWithConvertedVectors(table, convertedVectors, convertedFields, 'dense-union');
|
|
111
|
+
}
|
|
112
|
+
function resolveSerializedEncoding(vector, options) {
|
|
113
|
+
if (options.encoding)
|
|
114
|
+
return options.encoding;
|
|
115
|
+
if (DataType.isBinary(vector.type))
|
|
116
|
+
return 'geoarrow.wkb';
|
|
117
|
+
if (DataType.isUtf8(vector.type))
|
|
118
|
+
return 'geoarrow.wkt';
|
|
119
|
+
throw new Error('GeoArrow dense-union conversion requires Binary WKB or Utf8 WKT input');
|
|
120
|
+
}
|
|
121
|
+
function inferWKTGeoArrowDimension(vector) {
|
|
122
|
+
const column = makeGeoArrowColumnFromArrowVector(vector, {
|
|
123
|
+
encoding: 'geoarrow.wkt',
|
|
124
|
+
dimension: 'xy',
|
|
125
|
+
coordinateLayout: null
|
|
126
|
+
});
|
|
127
|
+
let dimension = 'xy';
|
|
128
|
+
for (const chunk of column.chunks) {
|
|
129
|
+
const serialized = chunk;
|
|
130
|
+
for (let rowIndex = 0; rowIndex < serialized.length; rowIndex++) {
|
|
131
|
+
if (!isGeoArrowValueValid(serialized.validity, rowIndex))
|
|
132
|
+
continue;
|
|
133
|
+
const bytes = getSerializedBytes(serialized, rowIndex);
|
|
134
|
+
const rowDimension = inferWKTDimension(textDecoder.decode(bytes));
|
|
135
|
+
dimension = mergeGeoArrowDimensions(dimension, rowDimension);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
return dimension;
|
|
139
|
+
}
|
|
140
|
+
function getSerializedBytes(array, rowIndex) {
|
|
141
|
+
const offsetIndex = (array.offset ?? 0) + rowIndex;
|
|
142
|
+
const offsetBase = Number(array.offsetBase ?? 0);
|
|
143
|
+
const first = Number(array.offsets[offsetIndex]) - offsetBase;
|
|
144
|
+
const last = Number(array.offsets[offsetIndex + 1]) - offsetBase;
|
|
145
|
+
return array.values.subarray(first, last);
|
|
146
|
+
}
|
|
147
|
+
function inferWKTDimension(wkt) {
|
|
148
|
+
const normalizedWKT = stripEWKTSRIDPrefix(wkt);
|
|
149
|
+
const dimensionToken = /^\s*[a-z]+\s+(ZM|Z|M)\b/i.exec(normalizedWKT)?.[1]?.toUpperCase();
|
|
150
|
+
if (dimensionToken === 'ZM')
|
|
151
|
+
return 'xyzm';
|
|
152
|
+
if (dimensionToken === 'M')
|
|
153
|
+
return 'xym';
|
|
154
|
+
if (dimensionToken === 'Z')
|
|
155
|
+
return 'xyz';
|
|
156
|
+
return 'xy';
|
|
157
|
+
}
|
|
158
|
+
function stripEWKTSRIDPrefixes(column) {
|
|
159
|
+
const chunks = column.chunks.map(chunk => {
|
|
160
|
+
if (chunk.kind !== 'serialized') {
|
|
161
|
+
throw new Error('Serialized column contains native storage');
|
|
162
|
+
}
|
|
163
|
+
const rows = [];
|
|
164
|
+
let byteLength = 0;
|
|
165
|
+
let changed = false;
|
|
166
|
+
for (let rowIndex = 0; rowIndex < chunk.length; rowIndex++) {
|
|
167
|
+
const bytes = getSerializedBytes(chunk, rowIndex);
|
|
168
|
+
if (!isGeoArrowValueValid(chunk.validity, rowIndex)) {
|
|
169
|
+
rows.push(bytes);
|
|
170
|
+
byteLength += bytes.byteLength;
|
|
171
|
+
continue;
|
|
172
|
+
}
|
|
173
|
+
const wkt = textDecoder.decode(bytes);
|
|
174
|
+
const normalizedWKT = stripEWKTSRIDPrefix(wkt);
|
|
175
|
+
const normalizedBytes = normalizedWKT === wkt ? bytes : textEncoder.encode(normalizedWKT);
|
|
176
|
+
changed ||= normalizedBytes !== bytes;
|
|
177
|
+
rows.push(normalizedBytes);
|
|
178
|
+
byteLength += normalizedBytes.byteLength;
|
|
179
|
+
}
|
|
180
|
+
if (!changed)
|
|
181
|
+
return chunk;
|
|
182
|
+
const values = new Uint8Array(byteLength);
|
|
183
|
+
const offsets = new Int32Array(chunk.length + 1);
|
|
184
|
+
let byteOffset = 0;
|
|
185
|
+
for (let rowIndex = 0; rowIndex < rows.length; rowIndex++) {
|
|
186
|
+
values.set(rows[rowIndex], byteOffset);
|
|
187
|
+
byteOffset += rows[rowIndex].byteLength;
|
|
188
|
+
offsets[rowIndex + 1] = byteOffset;
|
|
189
|
+
}
|
|
190
|
+
return {
|
|
191
|
+
kind: 'serialized',
|
|
192
|
+
encoding: 'utf8',
|
|
193
|
+
length: chunk.length,
|
|
194
|
+
offsets,
|
|
195
|
+
values,
|
|
196
|
+
validity: chunk.validity
|
|
197
|
+
};
|
|
198
|
+
});
|
|
199
|
+
return chunks.every((chunk, index) => chunk === column.chunks[index])
|
|
200
|
+
? column
|
|
201
|
+
: { ...column, chunks };
|
|
202
|
+
}
|
|
203
|
+
function stripEWKTSRIDPrefix(wkt) {
|
|
204
|
+
return wkt.replace(/^\s*SRID\s*=\s*\d+\s*;\s*/i, '');
|
|
205
|
+
}
|
|
206
|
+
function assertNoGeometryCollections(column) {
|
|
207
|
+
if (column.encoding === 'geoarrow.geometrycollection' ||
|
|
208
|
+
column.chunks.some(chunk => chunk.kind === 'dense-union' &&
|
|
209
|
+
chunk.children.some(child => child.encoding === 'geoarrow.geometrycollection'))) {
|
|
210
|
+
throw new Error('GeoArrow WKB/WKT GeometryCollection conversion requires geoarrow.geometrycollection output, not geoarrow.geometry DenseUnion output.');
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
function splitGeoArrowColumn(column, chunkLengths) {
|
|
214
|
+
if (chunkLengths.length === column.chunks.length)
|
|
215
|
+
return column;
|
|
216
|
+
const chunks = [];
|
|
217
|
+
let rowOffset = 0;
|
|
218
|
+
for (const chunkLength of chunkLengths) {
|
|
219
|
+
const slicedColumn = sliceGeoArrowColumn(column, rowOffset, rowOffset + chunkLength);
|
|
220
|
+
if (slicedColumn.chunks.length !== 1) {
|
|
221
|
+
throw new Error('GeoArrow conversion could not preserve Arrow chunk boundaries');
|
|
222
|
+
}
|
|
223
|
+
chunks.push(slicedColumn.chunks[0]);
|
|
224
|
+
rowOffset += chunkLength;
|
|
225
|
+
}
|
|
226
|
+
return { ...column, chunks };
|
|
227
|
+
}
|
|
228
|
+
function resolveGeoArrowColumns(table, options, kind) {
|
|
229
|
+
if (options.geometryColumn && options.geometryColumns?.length) {
|
|
230
|
+
throw new Error('Specify only one of geometryColumn or geometryColumns');
|
|
231
|
+
}
|
|
232
|
+
if (options.geometryColumn) {
|
|
233
|
+
assertTableColumnExists(table, options.geometryColumn, kind);
|
|
234
|
+
return [options.geometryColumn];
|
|
235
|
+
}
|
|
236
|
+
if (options.geometryColumns?.length) {
|
|
237
|
+
for (const column of options.geometryColumns)
|
|
238
|
+
assertTableColumnExists(table, column, kind);
|
|
239
|
+
return options.geometryColumns;
|
|
240
|
+
}
|
|
241
|
+
return table.schema.fields
|
|
242
|
+
.filter(field => {
|
|
243
|
+
const encoding = getFieldEncoding(field);
|
|
244
|
+
return kind === 'native'
|
|
245
|
+
? NATIVE_GEOARROW_ENCODINGS.has(encoding)
|
|
246
|
+
: GEOARROW_SERIALIZED_ENCODINGS.has(encoding);
|
|
247
|
+
})
|
|
248
|
+
.map(field => field.name);
|
|
249
|
+
}
|
|
250
|
+
function assertTableColumnExists(table, columnName, kind) {
|
|
251
|
+
if (!table.getChild(columnName)) {
|
|
252
|
+
const operation = kind === 'native' ? 'interleaving' : 'dense-union conversion';
|
|
253
|
+
throw new Error(`GeoArrow ${operation} could not find column "${columnName}"`);
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
function getFieldEncoding(field) {
|
|
257
|
+
const extensionName = field.metadata.get(GEOARROW_EXTENSION_NAME_KEY)?.toLowerCase();
|
|
258
|
+
return extensionName?.startsWith('geoarrow.') ? extensionName : null;
|
|
259
|
+
}
|
|
260
|
+
function getFieldExtensionMetadata(field) {
|
|
261
|
+
const metadata = field.metadata.get(GEOARROW_EXTENSION_METADATA_KEY);
|
|
262
|
+
if (!metadata)
|
|
263
|
+
return undefined;
|
|
264
|
+
try {
|
|
265
|
+
return JSON.parse(metadata);
|
|
266
|
+
}
|
|
267
|
+
catch {
|
|
268
|
+
return { raw: metadata };
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
function getTableField(table, columnName) {
|
|
272
|
+
return table.schema.fields.find(field => field.name === columnName) ?? null;
|
|
273
|
+
}
|
|
274
|
+
function makeTableWithConvertedVectors(table, convertedVectors, convertedFields, operation) {
|
|
275
|
+
const nextFields = table.schema.fields.map(field => convertedFields.get(field.name) ?? field);
|
|
276
|
+
const nextSchema = new Schema(nextFields, table.schema.metadata);
|
|
277
|
+
const nextBatches = table.batches.map((recordBatch, batchIndex) => {
|
|
278
|
+
const children = nextFields.map((field, fieldIndex) => {
|
|
279
|
+
const convertedVector = convertedVectors.get(field.name);
|
|
280
|
+
if (!convertedVector)
|
|
281
|
+
return recordBatch.data.children[fieldIndex];
|
|
282
|
+
const convertedData = convertedVector.data[batchIndex];
|
|
283
|
+
if (!convertedData) {
|
|
284
|
+
throw new Error(`GeoArrow ${operation} chunk mismatch for column "${field.name}"`);
|
|
285
|
+
}
|
|
286
|
+
return convertedData;
|
|
287
|
+
});
|
|
288
|
+
const recordBatchData = new Data(new Struct(nextFields), recordBatch.data.offset, recordBatch.numRows, recordBatch.data.nullCount, recordBatch.data.buffers, children);
|
|
289
|
+
return new RecordBatch(nextSchema, recordBatchData);
|
|
290
|
+
});
|
|
291
|
+
return new Table(nextSchema, nextBatches);
|
|
292
|
+
}
|
|
293
|
+
//# sourceMappingURL=arrow-geoarrow-conversion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrow-geoarrow-conversion.js","sourceRoot":"","sources":["../../../src/arrow/geoarrow/arrow-geoarrow-conversion.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAE5D,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,6BAA6B,EAC7B,oBAAoB,EACpB,mBAAmB,EAKpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAC,iBAAiB,EAAE,iBAAiB,EAAC,MAAM,8BAA8B,CAAC;AAClF,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,WAAW,EACX,MAAM,EACN,MAAM,EACN,KAAK,EAIN,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,iCAAiC,EACjC,iCAAiC,EAClC,oCAAiC;AAgClC,MAAM,2BAA2B,GAAG,sBAAsB,CAAC;AAC3D,MAAM,+BAA+B,GAAG,0BAA0B,CAAC;AACnE,MAAM,gCAAgC,GAAG,mBAAmB,CAAC;AAC7D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