muellan / numeric

numeric facilities for C++ 14; dual numbers, dual quaternions, constrained numbers, intervals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

numeric facilities for C++ 14; dual numbers, dual quaternions, constrained numbers, intervals

License:MIT License


Languages

Language:C++ 96.8%Language:Python 3.2%