Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate out units #28

Merged
merged 16 commits into from
Sep 30, 2023
Merged

Separate out units #28

merged 16 commits into from
Sep 30, 2023

Conversation

atmoos
Copy link
Owner

@atmoos atmoos commented Sep 25, 2023

Separated out units into its own .csproj.

Necessary conditions:

  • multiplicative operators on measures are self sufficient.
  • Serialization can be parametrised with assemblies that contain units.
    • implemented here.

Improved implementation of:

  • Pow() functions
  • Simplify() functions

Left the following frequently used units in the quantity library:

├── Si
│   ├── Ampere
│   ├── Candela
│   ├── Derived
│   │   └── Celsius
│   ├── Kelvin
│   ├── Kilogram
│   ├── Metre
│   ├── Metric
│   │   ├── Hour
│   │   ├── Litre
│   │   └── Minute
│   ├── Mole
│   └── Second
└── Imperial
    ├── Length
    │   ├── Foot
    │   ├── Inch
    │   └── Mile
    ├── Mass
    │   └── Pound
    ├── Temperature
    │   └── Fahrenheit
    └── Volume
        └── Pint

@atmoos atmoos added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 25, 2023
@atmoos atmoos added this to the First Release milestone Sep 25, 2023
@atmoos atmoos self-assigned this Sep 25, 2023
@atmoos atmoos marked this pull request as ready for review September 30, 2023 08:42
@atmoos atmoos linked an issue Sep 30, 2023 that may be closed by this pull request
@atmoos atmoos merged commit f14add6 into main Sep 30, 2023
2 checks passed
@atmoos atmoos deleted the separateOutUnits branch September 30, 2023 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make quantities independent of units
1 participant