The Fib multimedia system Fib is a system for storing multimedia data (like images or films).
fib::algorithms::nLinearEquation Namespace Reference

## Classes

class  cLinearEquation

## Functions

template<class tFactors >
vector< cLinearEquation
< tFactors > > &
crateDiagonalForm (vector< cLinearEquation< tFactors > > &vecOfEquations)
template<class tFactors >
void printEquations (vector< cLinearEquation< tFactors > > vecOfInequations, ostream &outputStream)

## Function Documentation

template<class tFactors >
 vector< cLinearEquation >& fib::algorithms::nLinearEquation::crateDiagonalForm ( vector< cLinearEquation< tFactors > > & vecOfEquations )

This functions converts the given vector of equation into a diagonal form. In this form ther exsists only one factor in the liniar formular (

cLinearEquation::vecFactors) in every equation. For the first n equation this factor is the n'th factor. For the remaining equation, this factor is the last factor. (n is the number of factors
cLinearEquation::vecFactors.size()) The convertion is done by multiplying equation with a number (
cLinearEquation::mult()) or adding two equation of the vector of equations (
cLinearEquation::operator+()).
Parameters:
 vecOfEquations a reference to the vector of equation, which to convert into the diagonal form (this is changed)
Returns:
a pointer to the converted vector of equations
template<class tFactors >
 void fib::algorithms::nLinearEquation::printEquations ( vector< cLinearEquation< tFactors > > vecOfInequations, ostream & outputStream )

This function prints the given inequiations. It simply calls