libnumerixpp  0.1.1
A Powerful C++ Library for High-Performance Numerical Computing
core.hpp File Reference

Core utils for mathematics. More...

Go to the source code of this file.

Namespaces

 mathematics
 Basic mathematics utils.
 

Functions

double mathematics::oldApproximatePower (double base, double exponent)
 Algorithm for fast exponentiation "'Old' approximation". More...
 
double mathematics::anotherApproximatePower (double base, double exponent)
 Algorithm for fast exponentiation "'Another' approximation". More...
 
double mathematics::binaryPower (double b, unsigned long long e)
 Algorithm: Binary exponentiation. More...
 
double mathematics::fastPowerDividing (double base, double exponent)
 Algorithm: "Dividing fast power". More...
 
double mathematics::fastPowerFractional (double base, double exponent)
 Algorithm: "Fractional fast power". More...
 
double mathematics::add_percent_to_number (double number, double percentage)
 Adds a percent to number. More...
 
double mathematics::square_it_up (double num)
 Gets the number square (N^2). More...
 
double mathematics::get_square_root (double num)
 Gets the square root. More...
 
int mathematics::intabs (int x)
 Getting the modulus of a number without a comparison operation. More...
 

Detailed Description

Core utils for mathematics.

Authors
alxvdev