DeSiGNAR  0.5a
Data Structures General Library
Classes | Namespaces | Enumerations | Functions | Variables
math.H File Reference
#include <types.H>
Include dependency graph for math.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Designar::GenPoint2D< NumT >
 
struct  Designar::FastIntegralPow< BT, ET >
 
struct  Designar::StdPow< BT, ET >
 

Namespaces

 Designar
 

Enumerations

enum  Designar::Sign { Designar::Sign::NEGATIVE, Designar::Sign::POSITIVE, Designar::Sign::ZERO }
 

Functions

template<typename T >
Sign Designar::sign (T)
 
template<typename T >
bool Designar::is_positive (T)
 
template<typename T >
bool Designar::is_negative (T)
 
template<typename T >
Designar::abs (T)
 
template<typename T >
bool Designar::real_equal (T, T)
 
template<typename T >
bool Designar::num_equal (T, T)
 
template<>
bool Designar::num_equal< float > (float, float)
 
template<>
bool Designar::num_equal< double > (double, double)
 
template<>
bool Designar::num_equal< long double > (long double, long double)
 
template<typename NumberType >
real_t Designar::area_of_parallelogram (const GenPoint2D< NumberType > &, const GenPoint2D< NumberType > &, const GenPoint2D< NumberType > &)
 
template<typename BT , typename ET >
BT Designar::fast_integral_pow (BT, ET)
 
template<typename BT , typename ET >
BT Designar::pow (BT, ET)
 

Variables

constexpr real_t Designar::PI = 3.1415926535897932384626433832795028841971693993751
 
constexpr real_t Designar::PI_2 = PI/2.
 
constexpr real_t Designar::PI_4 = PI/4.
 
constexpr real_t Designar::PI3_2 = 3.*PI/2.
 
constexpr real_t Designar::EPSILON = 1e-9
 
constexpr real_t Designar::INF = std::numeric_limits<real_t>::infinity()