Tensorium
Loading...
Searching...
No Matches
MathsUtils Class Reference

#include <MathsUtils.hpp>

Collaboration diagram for MathsUtils:

Static Public Member Functions

static float _fmin (float a, float b)
static float _fmax (float a, float b)
static float _fabs (float a)
static double _min (double a, double b)
static double _max (double a, double b)
template<typename T>
static void _swap (T &a, T &b)
static double _abs (double a)

Member Function Documentation

◆ _abs()

double MathsUtils::_abs ( double a)
inlinestatic

Referenced by tensorium::Matrix< K, RowMajor >::det(), tensorium::solver::Gauss< K >::for(), tensorium::Matrix< K, RowMajor >::inverse(), tensorium::Matrix< K, RowMajor >::rank(), tensorium::solver::Gauss< K >::raw_row_echelon(), and tensorium::solver::Jacobi< K >::solve().

Here is the caller graph for this function:

◆ _fabs()

float MathsUtils::_fabs ( float a)
inlinestatic

Referenced by tensorium::Vector< T >::__attribute__(), and tensorium::Vector< T >::__attribute__().

Here is the caller graph for this function:

◆ _fmax()

float MathsUtils::_fmax ( float a,
float b )
inlinestatic

◆ _fmin()

float MathsUtils::_fmin ( float a,
float b )
inlinestatic

◆ _max()

double MathsUtils::_max ( double a,
double b )
inlinestatic

Referenced by tensorium::Vector< T >::__attribute__().

Here is the caller graph for this function:

◆ _min()

double MathsUtils::_min ( double a,
double b )
inlinestatic

◆ _swap()

template<typename T>
void MathsUtils::_swap ( T & a,
T & b )
inlinestatic

Referenced by tensorium::solver::Gauss< K >::for(), tensorium::solver::Gauss< K >::raw_row_echelon(), and tensorium::Matrix< K, RowMajor >::swap_rows().

Here is the caller graph for this function:

The documentation for this class was generated from the following file: