PARP Research Group Universidad de Murcia

src/qvmath/qvmath.cpp File Reference

File from the QVision library. More...

#include <iostream>
#include <qvmath.h>
#include <qvmath/qvrationalnumber.h>

Go to the source code of this file.


int qvFactorial (const int n)
double qvCombination (const int setRange, const int subsetRange)
 Obtains the number of combinations of a fixed size over the elements of a set.
double qvAngle (const QPointF &point1, const QPointF &point2)
 Returns the angle between two 2D vectors.
QVector< QVComplexqvSolveCubicPolynomial (const double coeff0, const double coeff1, const double coeff2, const double coeff3)
 Obtains the three complex (or real) solutions for a third grade polynomial.
double qvPointLineDistance (const QVVector &l, const QPointF &p)
 Obtains the geometric distance between a point and a line in the 2D plane.
double qvSymmetricFloor (const double value)
 Returns the natural number closest to a given real value.

Detailed Description

File from the QVision library.

PARP Research Group. University of Murcia, Spain.

Definition in file qvmath.cpp.

Function Documentation

int qvFactorial ( const int  n  ) 

Definition at line 34 of file qvmath.cpp.

QVision framework. PARP research group. Copyright © 2007, 2008, 2009, 2010, 2011.