Open david-pl opened 5 months ago
In the latest MTK update, concrete_symtype
got removed again. Instead of using that, we could now finally think about getting rid of CNumbers altogether and just using a BasicSymbolic
with appropriate symtype and set the parameter metadata.
The update to MTK v9 #197 required an overload of
concrete_symtype
to work:That isn't exactly great but should work for most use cases.
However, this now enables us to actually change the implementation of
Parameter
such that we can represent actual types. The whole parallel implementation forRealParameter
could go and we can represent also e.g. 32-bit floats.We'd just need to add another type parameter, something like
Then, changing the overload to something like
could work.
This could be complemented by some syntactic sugar for the
@cnumbers
macro, basically just stealing the syntax from Symbolics,@cnumbers p::Float32
...