archimedes.measure.ReferenceDomain.Parameters¶

class ReferenceDomain.Parameters¶

Base for a domain’s affine-reparametrization parameters.

Each concrete ReferenceDomain defines its own struct subclass with the fields affine_params accepts. This base is never instantiated directly – it exists so code that doesn’t know which domain it’s working with can still refer to “the parameters of some reference domain” as a single type. It’s itself an (empty) @struct only so that type checkers recognize every subclass as a dataclass through this common base.

Because these are @struct types, their fields are pytree leaves: a domain parametrization can be symbolically traced (and so optimized over) rather than being fixed static data.

Methods

replace(**updates)

Returns a new object replacing the specified fields with new values.

__init__() → None¶
replace(**updates) → T¶

Returns a new object replacing the specified fields with new values.