Does NormTimeseriesObj support primitive types?


#1

NormTimeseriesObj mixes NormTimeseries

Does it support primitive types?


#2

For Primitive types there is NormTimeseriesDouble for numbers & NormTimeseriesString for string. NormTimeseriesObj is specifically for Obj. This could be boxed primitive values but I would not use NormTimeseriesObj for that.


#3

Thank you, Rohit.
If I want to create a NormTimeseries which binds to every type, I guess I need to use anyof(double,string,Obj)?


#4

You just simply use Timeseries as the value type and you can provide any kind of Timeseries for that value type viz. NormTimeseriesDouble, NormTimeseriesString, NormTimeseriesObj