Commit graph

5 commits

Author SHA1 Message Date
Anand Balakrishnan
d3b30deaa3
feat!(core): update casting from bool to float to match quantitative semantics 2023-04-26 12:58:14 -07:00
Anand Balakrishnan
aa952c3151
feat(core): add more fine grain casting operations for signals 2023-04-16 17:14:57 -07:00
Anand Balakrishnan
4431b79bcd
feat!(core): Change Signal to be a sumtype
We want to be able to reason about if a signal is empty, constant, or sampled
at compile time without using any trait objects. Moreover, the core Argus
library shouldn't care about how it deals with interfacing with other languages
like Python. Thus, we remove the need for having an `AnySignal` type and what
not.
2023-04-14 10:53:38 -07:00
Anand Balakrishnan
6e41380262
feat(core): Add SignalAbs trait for numeric signals 2023-04-04 11:55:48 -07:00
Anand Balakrishnan
b517043d0e
feat(core): Add casting and correct subtraction/cmp 2023-04-04 09:57:20 -07:00