The AbstractParameters supertype does not seem to be used and there has not been a need for it in my experience.
What if we made the parameters subtypes of their originals, e.g. what if positive(1.0) isa Real or positive_definite(A) isa AbstractMatrix{eltype{A}}? Overloading methods to arithmetic would make it so we can stick those parameters almost everywhere and be unpacked automatically.
The
AbstractParameterssupertype does not seem to be used and there has not been a need for it in my experience.What if we made the parameters subtypes of their originals, e.g. what if
positive(1.0) isa Realorpositive_definite(A) isa AbstractMatrix{eltype{A}}? Overloading methods to arithmetic would make it so we can stick those parameters almost everywhere and be unpacked automatically.