archimedes.measure.ReferenceDomain.Parameters¶
- class ReferenceDomain.Parameters¶
Base for a domain’s affine-reparametrization parameters.
Each concrete
ReferenceDomaindefines its own struct subclass with the fieldsaffine_paramsaccepts. 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)@structonly so that type checkers recognize every subclass as a dataclass through this common base.Because these are
@structtypes, 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.