Numeric
numeric facilities for C++ 14; dual numbers, dual quaternions, constrained numbers, intervals
Install / Use
/learn @muellan/NumericREADME
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
Related Skills
node-connect
352.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
