Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
barne856 committed Jul 15, 2024
1 parent d886387 commit 3907a59
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -325,17 +325,14 @@ The dimension system is implemented using `std::ratio` for compile-time fraction
#### Base Dimensions
```cpp
namespace squint::dimensions {
using length = dimension<1, 0, 0, 0, 0, 0, 0>;
using time = dimension<0, 1, 0, 0, 0, 0, 0>;
using mass = dimension<0, 0, 1, 0, 0, 0, 0>;
using temperature = dimension<0, 0, 0, 1, 0, 0, 0>;
using current = dimension<0, 0, 0, 0, 1, 0, 0>;
using amount_of_substance = dimension<0, 0, 0, 0, 0, 1, 0>;
using luminous_intensity = dimension<0, 0, 0, 0, 0, 0, 1>;
}
```
- `squint::dimensions::length`
- `squint::dimensions::time`
- `squint::dimensions::mass`
- `squint::dimensions::temperature`
- `squint::dimensions::current`
- `squint::dimensions::amount_of_substance`
- `squint::dimensions::luminous_intensity`
#### Compound Dimensions

0 comments on commit 3907a59

Please sign in to comment.