PARP Research Group University of Murcia


Math extensions

Several classes and functions for numeric, vector and matrix scientific computations. More...


Modules

 Matrix Algebra
 Several matrix algebra related functions.
 Statistics
 Statistics, regression and model fitting related functionality.
 Numerical analisis and function minimization
 Function optimization, numerical derivatives,.
 Projective Geometry
 Functions related to Projective Geometry.

Classes

class  QV2DMap
 Fast 2D nearest neigbour access data container. More...
class  QV3DPointF
 3D point representation More...
class  QV3DPolylineF
 3D polyline representation More...
class  QVCombinationIterator
 Iterator over all possible combinations over a set. More...
class  QVDisjointSet
 Implementation of a disjoint set data type, based on the union-find algorithm.

This implementation makes use of union-find algorithms to maintain partitions efficiently. It is essentially built for maintaining disjoint sets of unsigned integer elements, in the rank from 0 to a given maximum element. More...

class  QVEuclideanMapping3
 Class modeling rotation-translation transformations for 3D points. More...
class  QVMatrix
 Implementation of numerical matrices. More...
class  QVQuaternion
 Implementation of quaternions. More...
class  QVTensor
 Implementation of tensors, a generalization for matrices and vectors. More...
class  QVTensorIndex
 Indexes for tensors. More...
class  QVVector
 Implementation of numerical vectors. More...
class  QVVectorMap
 Fast nearest neigbour vector container. More...

Functions

const double qvCombination (const int setRange, const int subsetRange)
 Number of combinations of a fixed size over the elements of a set.
const double qvAngle (const QPointF &)
const double qvAngle (const QPointF &point1, const QPointF &point2)
const double qvClockWiseAngle (const QPointF &, const QPointF &)
const int qvRandom (const int minValue, const int maxValue)
double norm2 (const QPointF &p)
std::ostream & operator<< (std::ostream &os, const QVMatrix &matrix)
std::istream & operator>> (std::istream &is, QVMatrix &matrix)
uint qHash (const QVMatrix &matrix)
bool writeQVMatrixToFile (const QString fileName, const QVMatrix &matrix)
 Writes the content of a QVMatrix object in an ASCII file.
bool readQVMatrixFromFile (const QString fileName, QVMatrix &matrix)
 Reads the content of a QVMatrix object from an ASCII file.
std::ostream & operator<< (std::ostream &os, const QVVector &vector)
uint qHash (const QVVector &vector)

Detailed Description

Several classes and functions for numeric, vector and matrix scientific computations.


Function Documentation

double norm2 ( const QPointF &  p  ) 

std::ostream& operator<< ( std::ostream &  os,
const QVVector vector 
)

Todo:
detailed description should follow

Definition at line 242 of file qvvector.cpp.

std::ostream& operator<< ( std::ostream &  os,
const QVMatrix matrix 
)

Todo:
detailed description should follow

Definition at line 664 of file qvmatrix.cpp.

std::istream& operator>> ( std::istream &  is,
QVMatrix matrix 
)

Todo:
detailed description should follow

Definition at line 683 of file qvmatrix.cpp.

uint qHash ( const QVVector vector  ) 

Todo:
detailed description should follow

Definition at line 255 of file qvvector.cpp.

uint qHash ( const QVMatrix matrix  ) 

Todo:
detailed description should follow

Definition at line 727 of file qvmatrix.cpp.

const double qvAngle ( const QPointF &  point1,
const QPointF &  point2 
)

Todo:
document

Definition at line 85 of file qvmath.cpp.

const double qvAngle ( const QPointF &   ) 

Todo:
document

Definition at line 67 of file qvmath.cpp.

Referenced by ComputeEuclideanHomography().

const double qvClockWiseAngle ( const QPointF &  ,
const QPointF &   
)

Todo:
document

Definition at line 102 of file qvmath.cpp.

Referenced by QVPolylineF::surrounds().

const double qvCombination ( const int  setRange,
const int  subsetRange 
)

Number of combinations of a fixed size over the elements of a set.

Given a set size of n, this function returns the number of subsets of size k within that set.

$ qvCombination(n,k) = {n \choose k} = \frac{n!}{k!(n-k)!} $

Definition at line 52 of file qvmath.cpp.

Referenced by QVCombinationIterator::getSubsetNumber().

const int qvRandom ( const int  minValue,
const int  maxValue 
)

Todo:
document

Definition at line 98 of file qvmath.cpp.

bool readQVMatrixFromFile ( const QString  fileName,
QVMatrix matrix 
)

Reads the content of a QVMatrix object from an ASCII file.

Parameters:
fileName The name of the file to read from.
matrix The image to store in the file.
Returns:
TRUE if success, FALSE otherwise.

Definition at line 756 of file qvmatrix.cpp.

bool writeQVMatrixToFile ( const QString  fileName,
const QVMatrix matrix 
)

Writes the content of a QVMatrix object in an ASCII file.

Parameters:
fileName The name of the file to create. It is overwritten if already exists. The matrix values are stored in text format.
matrix The matrix to store in the file.
Returns:
TRUE if success, FALSE otherwise.

Definition at line 743 of file qvmatrix.cpp.




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