https://github.com/muellan/numeric
numeric facilities for C++ 14; dual numbers, dual quaternions, constrained numbers, intervals
https://github.com/muellan/numeric
c-plus-plus complex-numbers cpp cpp14 degrees dual-numbers dual-quaternion header-only interval numeric numeric-facilities numerics quaternion radians
Last synced: 6 months ago
JSON representation
numeric facilities for C++ 14; dual numbers, dual quaternions, constrained numbers, intervals
- Host: GitHub
- URL: https://github.com/muellan/numeric
- Owner: muellan
- License: mit
- Created: 2013-08-01T15:20:26.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2018-06-04T15:07:49.000Z (over 7 years ago)
- Last Synced: 2025-03-29T11:11:19.237Z (6 months ago)
- Topics: c-plus-plus, complex-numbers, cpp, cpp14, degrees, dual-numbers, dual-quaternion, header-only, interval, numeric, numeric-facilities, numerics, quaternion, radians
- Language: C++
- Homepage:
- Size: 521 KB
- Stars: 24
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
AM numeric
==========Header-only numeric facilities for C++14.
## Quick Overview
### Generic classes
- safe angle (that is tagged with its unit)
- choice (provides arithmetic modulo N)
- interval (incl. interval arithmetic)
- natural number adapter (provides unsigned integer with bounds check and infinity type)
- bounded number adapter (+ aliases for clipped and wrapped numbers)
- rounded number adapter
- rational number
- dual number
- split-complex number
- quaternion
- ordinary biquaternion
- split-biquaternion
- dual quaternion (study biquaternion)
- random number distribution adapter
### Other
- number conversion factories
- number concept checking## Requirements
- requires C++14 conforming compiler
- tested with g++ {5.4, 7.2} and clang++ 5.0.2