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  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  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...

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 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)
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  ) 

Todo:
document

Definition at line 29 of file qvmath.cpp.

Referenced by ComputeEuclideanHomography(), and QV2DMap::getClosestPoints().

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

Todo:
detailed description should follow

Definition at line 236 of file qvvector.cpp.

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

Todo:
detailed description should follow

Definition at line 646 of file qvmatrix.cpp.

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

Todo:
detailed description should follow

Definition at line 665 of file qvmatrix.cpp.

uint qHash ( const QVVector vector  ) 

Todo:
detailed description should follow

Definition at line 249 of file qvvector.cpp.

uint qHash ( const QVMatrix matrix  ) 

Todo:
detailed description should follow

Definition at line 709 of file qvmatrix.cpp.

const double qvAngle ( const QPointF &   ) 

Todo:
document

Definition at line 67 of file qvmath.cpp.

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

Todo:
document

Definition at line 89 of file qvmath.cpp.

Referenced by ComputeEuclideanHomography(), and 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 85 of file qvmath.cpp.




QVision framework. PARP research group, copyright 2007, 2008.