Math extensions

Several mathematical tools for scientific computations. More...


Modules

 Matrix Algebra
 Several matrix functions.
 Projective Geometry
 Tools related to Projective Geometry.
 Function optimization
 Tools related to Function minimization/maximization.
 Statistics
 Tools related to statistics, regression, model fitting, etc...

Classes

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. 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)
std::ostream & operator<< (std::ostream &os, const QPointF &point)
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 mathematical tools for scientific computations.

Todo:
explain about this package.

Function Documentation

double norm2 ( const QPointF &  p  ) 

Todo:
document

Definition at line 29 of file qvmath.cpp.

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

Todo:
detailed description should follow

Definition at line 108 of file qvvector.cpp.

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

Todo:
detailed description should follow

Definition at line 491 of file qvmatrix.cpp.

std::ostream& operator<< ( std::ostream &  os,
const QPointF &  point 
)

Todo:
document

Definition at line 97 of file qvmath.cpp.

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

Todo:
detailed description should follow

Definition at line 510 of file qvmatrix.cpp.

uint qHash ( const QVVector vector  ) 

Todo:
detailed description should follow

Definition at line 121 of file qvvector.cpp.

uint qHash ( const QVMatrix matrix  ) 

Todo:
detailed description should follow

Definition at line 537 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.

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.

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

Todo:
document

Definition at line 85 of file qvmath.cpp.