minor regularization of vectors and matrices

This commit is contained in:
Mathew Sutcliffe
2013-08-19 17:44:33 +01:00
parent f9f35f27d5
commit 5f267e8245
9 changed files with 72 additions and 177 deletions

View File

@@ -111,7 +111,7 @@ public:
* \brief List of values
* \return
*/
const QList<double> toList() const;
QList<double> toList() const;
/*!
* \brief List of values
@@ -164,7 +164,7 @@ public:
}
/*!
* \brief Operator to support commutative multiplication
* \brief Operator to support commutative scalar multiplication
* \param factor
* \param other
* \return
@@ -174,13 +174,6 @@ public:
return other * factor;
}
/*!
* \brief Multiply with 3D vector operator *
* \param matrix
* \return
*/
template<class ImplVector> ImplVector operator*(const ImplVector matrix) const;
/*!
* \brief Operator /=
* \param factor
@@ -279,11 +272,6 @@ public:
this->m_matrix.setToIdentity();
}
/*!
* \brief Fills the matrix with random elements
*/
void setRandom();
/*!
* \brief All values to zero
*/
@@ -312,13 +300,7 @@ public:
}
/*!
* \brief All values equal, if so matirx is not invertible
* \return
*/
bool allValuesEqual() const;
/*!
* \brief Set a dedicated value
* \brief Set all elements the same
* \param value
*/
void fill(double value) { this->m_matrix.fill(value); }