I have parsed HL7 file and have generated some values. So that now, I have series of values over time for different identifiers of OBX segment of HL7 file.
Now, as per requirement I want to apply following expressions over this timely generated data:
Slope: dv/dt
Acceleration: Change in slope over time
Integration
Bandpass: Filter function that will limit values in particular range
For slope calculation I have referred http://dynamicnotions.blogspot.in/2009/05/linear-regression-in-c.html. My small code will simply calculate slope of graph generated for values of one object identifier of HL7 file(like HR, PVC). I just want to know how can I apply all remaining expressions. Please tell me if there are any libraries I can refer for this.