XX CMake Package
Loading...
Searching...
No Matches
XXMath.h File Reference
#include "XXMathExportDef.h"
#include <cmath>
#include <QVector>

Go to the source code of this file.

Namespaces

namespace  XX
namespace  XX::Math

Functions

double XX::Math::deg2Rad (const double &degrees)
double XX::Math::rad2Deg (const double &radians)
bool XX::Math::signChange (const double &value1, const double &value2)
size_t XX::Math::getNearestPowerOfTwo (const size_t &num)
bool XX::Math::isPowerOfTwo (const size_t &num)
QVector< double > XX::Math::derivative (const QVector< double > &values, uint8_t order)

Variables

static const double XX::Math::pi = 2.0 * std::asin(1.0)
static const double XX::Math::epsilon = 1e-12