Module raster.reduction

Public raster reduction operations.

This module exposes semantic operations only. Execution-layout classification, Mir adaptation, fixed-lane reduction graphs and kernel dispatch remain package-internal.

Date

2026-10-05

Functions

NameDescription
max(source, planeIndex) Returns the maximum sample of one selected logical raster plane.
mean(source, planeIndex) Computes the arithmetic mean of one selected logical raster plane.
min(source, planeIndex) Returns the minimum sample of one selected logical raster plane.
minMax(source, planeIndex) Returns both minimum and maximum of one selected logical raster plane.
sum(source, planeIndex) Strictly sums one selected logical raster plane into an explicitly selected accumulator type.
trySumFloatToDouble(source, planeIndex, sum) Sums one logical float plane into a double result using the strict row-major reduction semantic.

Structs

NameDescription
RasterExtremaResult Result carrier for one min or max reduction.
RasterMeanResult Result carrier for one generic mean reduction.
RasterMinMaxResult Result carrier for one-pass minMax reduction.
RasterSumResult Result carrier for one generic strict raster sum.

Enums

NameDescription
RasterExtremaError Common failure category for min, max and minMax reductions.
RasterMeanError Failure category for the generic mean family.
RasterSumError Failure category for the v0.2 generic strict sum family.