Finite probability measures and collections
ot_measure.RdRepresent atoms as rows of a numeric matrix and keep within-measure masses separate from weights across distributions. Nonnegative masses are normalized with overflow protection; zero masses and duplicate rows retain their indices.
Arguments
- support
A finite numeric vector or matrix; rows are atoms.
- mass
Nonnegative masses, or NULL for uniform masses.
- representation
A descriptive representation label.
- metadata
A named list describing units and conversion choices.
- x
An object to convert, or an object to print/subset.
- ...
Further arguments passed to the finite-measure constructor.
- measures
A nonempty list of finite measures or convertible inputs.
- weights
Weights across measures; NULL means equal importance per measure.
- labels
Optional unique labels for the measures.