Module lib_rapid::math

source ·
Expand description

This part of the library is designed for mathematics and physics - evaluating postfix-notation expressions, unions on customised sets or temperature conversion;Those features are among those implemented for LibRapid.

Modules

  • Complex numbers and related functions.
  • Here you’ll find common used constants from several mathematical fields.
  • Different kinds of equations.
  • Traits and functions for general purpose, everyday mathematics. Everything you need.
  • In here is the macro eval_postfix! defined. With that, you can evaluate expressions in reverse polish notation at compile time. Handy, isn’t it?
  • Traits and functions for handling primes and primality.
  • This part of the mathematics section is specifically for rating systems as used in tennis or chess.
  • Modules for mathematical sets
  • Traits and functions for converting between units.
  • Vectors can be really handy, sometimes. Do everything you want with your favorite direction pointing data type from mathematics.