HPInc / HP-Digital-Microfluidics

HP Digital Microfluidics Software Platform and Libraries
MIT License
2 stars 0 forks source link

Add rate dimensions to the quantity package #256

Open EvanKirshenbaum opened 5 months ago

EvanKirshenbaum commented 5 months ago

After count dimensions (CountDim), the most useful user-defined dimensions will probably be rates. In the main code, I had already defined HeatingRate, and I was going to need FlowRate. It would be nice to be able to simply talk about a RateDim[D1,D2], with the notion that it knows that

Generated quotients would go through this, so the actual results will be more specific, but it would allow the user to add at least simple rates and have them work correctly.

This will be especially useful with support for #255, as the notion of money in both the numerator and denominator is very useful.

Migrated from internal repository. Originally created by @EvanKirshenbaum on Feb 22, 2023 at 12:15 PM PST.